Pages: [1]   Go Down
Author Topic: Problem connecting DUE and MEGA 2560 with I2C  (Read 477 times)
0 Members and 1 Guest are viewing this topic.
Sydney
Offline Offline
Full Member
***
Karma: 1
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?


* IMG_7285.JPG (144.5 KB, 800x554 - viewed 38 times.)
Logged


Yorkshire England
Offline Offline
Sr. Member
****
Karma: 2
Posts: 267
Arduino good init
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Sydney
Offline Offline
Full Member
***
Karma: 1
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This sounds a good explanation. Luckily my DUE is not damaged.
Logged


Pages: [1]   Go Up
Jump to: