Go Down

Topic: Problem connecting DUE and MEGA 2560 with I2C (Read 864 times) previous topic - next topic


I was trying to connect a DUE and a MPEG 2560 with I2C. I connected pin 20, pin 21 and GND of the two boards together. I used Wire library. The problem is that MEGA 2560 is able to receive data from DUE, but when MEGA was sending data back to DUE, it always fails. Any one got any idea about this?
My Arduino blog: http://arduinodev.com/blog


Have you got some kind of level converter from 3.3v to 5v and visa versa. The MEGA will see 3.3 as HIGH so that makes sense but the DUE will not like 5v. It  will probably damage it.


This sounds a good explanation. Luckily my DUE is not damaged.
My Arduino blog: http://arduinodev.com/blog

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131