I2C ADXL345 accelerometer
Posted: Fri Feb 19, 2010 7:51 pm
Hey guys,
Finally managed to sort out my user profile so i can start asking the code master some serious questions.
I am working on a hexapod robot software basically from scratch using flowcode for my masters project. However i have now come up against a huge wall. This wall is the I2C ADXL345 tri axis accelerometer.
I want to be able to keep the body of the robot stable so have opted to use an accelerometer. However i cannot read the I2C data from the chip.
Also to note i cannot read the battery information from the I2C SD21 servo motor controller. However in both cases i can write information to them. I do know that the way to read information from the chips is different from the write, but even when i follow that method i am at a loss as to why i get nothing back.
If any one could give me a hand on this i would really appreciate it.
Thanks,
Mat
Finally managed to sort out my user profile so i can start asking the code master some serious questions.
I am working on a hexapod robot software basically from scratch using flowcode for my masters project. However i have now come up against a huge wall. This wall is the I2C ADXL345 tri axis accelerometer.
I want to be able to keep the body of the robot stable so have opted to use an accelerometer. However i cannot read the I2C data from the chip.
Also to note i cannot read the battery information from the I2C SD21 servo motor controller. However in both cases i can write information to them. I do know that the way to read information from the chips is different from the write, but even when i follow that method i am at a loss as to why i get nothing back.
If any one could give me a hand on this i would really appreciate it.
Thanks,
Mat