I just unpacked my new AltIMU-10 v5 sensor I bought some time ago and started to configure it for my fishing boat’s Autopilot system.
I tried to make first contact with it by doing like chapter “Sample Code” says on webpage https://www.pololu.com/product/2739…
I managed to make contact with altimeter without doing any changes to any register settings but gyro and magnetometer says only “Failed to detect and initialize IMU!” when try those examples… I’m using Arduino Due but I also tried with mega2650 just to have same result. Arduino IDE version is 1.6.5
Does anyone has any instructions how to set registers like they should be to make’em alive ?
I scanned I2C bus and result was like this:
I2C scanner. Scanning …
Found address: 25 (0x19)
Found address: 30 (0x1E)
Found address: 93 (0x5D)
Found address: 107 (0x6B)
Found 4 device(s).
So it seems that chip is operational but everything else than altimeter are in deep sleep
I am sorry you are not able to communicate with your AltIMU-10. Can you post pictures that show all of your connections? Also, can you tell me specifically which program from which library you are running?
Here are zipped libraries which I’ve used and some photos I took about my connections…
Basicly connections are like
SCL - SCL,
SDA - SDA,
GND - GND
VIN - 3.3V
Exact programs in these libraries are:
=> Result: “Failed to detect and initialize IMU!”
=> Result: “Failed to detect and initialize magnetometer!”
=> Result: “p: 993.16 mbar a: 168.60 m t: 24.21 deg C”
AltIMU-10v5-libraries-from-github.zip (26.6 KB)
SOME PICS.zip (770.1 KB)
Thanks for helping me
I suspect that your SainsMart Uno uses 5V logic signals, and you are supplying a logic voltage of 3.3V to the AltIMU-10. Can you instead connect 5V to the IMU’s VIN and see if you can get the other sensors working?