tinybob20
10-01-2014, 16:18
Hi,
Our team has been trying to implement a ADXL345 accelerometer to use for a PID-controlled drive system. We tried to talk to to it over the basic I2C class, but it returned weird values when we moved it (30,-30,40,-40, etc). We tried to use the ADXL345_I2C class, but we couldn't even get it to return a value. Is there a special way this sensor needs to be created or set up? (if we can get it to work just using the basic I2C, we would be pretty happy.)
Any help appreciated.
Our team has been trying to implement a ADXL345 accelerometer to use for a PID-controlled drive system. We tried to talk to to it over the basic I2C class, but it returned weird values when we moved it (30,-30,40,-40, etc). We tried to use the ADXL345_I2C class, but we couldn't even get it to return a value. Is there a special way this sensor needs to be created or set up? (if we can get it to work just using the basic I2C, we would be pretty happy.)
Any help appreciated.