Driver - BMP085/ITG3200/ADXL345/HMC5883L on shared I2C bus

[title]BMP085/ITG3200/ADXL345/HMC5883L on shared I2C bus[/title]
http://code.tinyclr.com/project/447/bmp085itg3200adxl345hmc5883l-on-shared-i2c-bus/
[line]
When it comes to IMU units, you might need more than one device on the I2C bus, and frankly NETMF is too tedious for handling multiple devices.
So I borrowed the code from TinyClr to integrate 4 I2C devices on the same bus:
HMC5883L Magnetometer
ADXL345 Accelerometer
ITG3200 Gyro
BMP085 Barometric Pressure

The source code shows the program I wrote to test the 4 devices.
Download the ZIP file to get all the drivers

There are many threads on he forum about quads and IMUs. It is mostly discussions so the interest is very much there.

Please keep us updated with what you get, especially if you got a kalman filter in there too :slight_smile:

I don’t understand. The description is same as other user’s contribution.

http://code.tinyclr.com/project/441/itg3200adxl345hmc5883l-multiple-i2c-on-same-bus/

Did you just “reshared” his drivers?

Hi
Yup you are right. Description is mostly the same, but it’s not the exact same code.
I had some issues getting all 4 sensors to work at the same time, so i re-wrote most of the code.
Where that problem came from i don’t realy know, so I posted all the code, so that someone else can use it, without getting the same problem i had