|
Re: ADXL345 I2C Accelerometer NOT WORKING
We are having the same issue.
Tried multiple DB-37 cables - round, ribbon, several different connectors, etc.
Tried multiple 4-pin I2C cables.
Tried 2 different ADXL345 board.
Tried both a 4-slot and 8-slot cRIO.
Checked that the pull-up resistors in the DSC are working - we see about 3k between 5V and SDA, 5V and SCL.
SDA and SCL see about 4.6V.
We don't have a scope to check waveforms unfortunately.
We are programming in Java, and all we get back are 0.0 for all three axes.
There are no errors thrown.
I would love to get this working, but we opted to use a 2nd analog gyro turned sideways instead.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
|