Pages: [1]   Go Down
Author Topic: IMU communication problem - Wire.cpp twi.c  (Read 536 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently a few IMU boards

And an Arduino Leonardo

I followed the wiring diagram.

I downloaded the FreeIMU library

I change the code for the correct Serial port and IMU board as suggested.

BUT... The Arduino IDE serial monitor shows nothing.

I did a little debuging and found out that it is stuck at:
... more specifically at

I read tens of threads and followed all the recommendations. Nothing worked

As last resource I bought a new board but still didnt work :-(

Any suggestions?


Torino, Italy
Offline Offline
Sr. Member
Karma: 2
Posts: 309
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, if you followed the connection diagrams for the Arduino UNO available on bildr, then it won't work..

The leonardo has the I2C bus on different pins compared to the UNO.. You will just have to use the SDA and SCL pins which are available on the leonardo (near D13) and not the A4 and A5 like in the UNO.

Hope this helps,

Fabio Varesano

p.s.: oh.. and next time get a FreeIMU!

Offline Offline
Shannon Member
Karma: 220
Posts: 12700
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How exactly have you wired it up?  Which wiring diagram?  What voltage did you power the IMU board from?  Which IMU board of the 3 did you use?  Did the wiring diagram say "Arduino Leonardo"?

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: