JJRobots COMMUNITY

Full Version: Problem with the I2C port
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I used two LEONARDOS for my B-Robots, and both has the I2C port broken. What happening?
Try shorten wires, add capacitors to I2C lines. Shorten wires to motors. If this not help, add noise supressors on cables.
(11-08-2015 11:28 AM)legin.37 Wrote: [ -> ]Hi,

I used two LEONARDOS for my B-Robots, and both has the I2C port broken. What happening?

Please describe what the problem is and how to show.

Quote:add capacitors to I2C lines
Bad advice!!!
(11-08-2015 02:02 PM)KomX Wrote: [ -> ]
Quote:add capacitors to I2C lines
Bad advice!!!

Sorry my bad english. I mean - add capacitors to I2C devices power lines.
What is the problem? I don't know. Simply, suddenly the program doesn't work.
If I activate the debug, the last message on the console is "Initializing IC2 device..." .

I tested MPU device in a UNO board and works fine. The same sketch in LEONARDO doesn't work.
Reference URL's