-->
Page 1 of 1

Arduino i2c connection

PostPosted: Fri Feb 19, 2016 5:07 am
by bram
Hey,

I want to use a Arduino to communicate with my ESP8266 over i2c. My only concern is that the Arduino I am using is 5v. Could I use this or do I need to use a level shifter?

Re: Arduino i2c connection

PostPosted: Fri Feb 19, 2016 8:42 am
by jra
Level shifter is one way to do it. Using a 3v3 Arduino ProMini is another.

Re: Arduino i2c connection

PostPosted: Fri Feb 19, 2016 8:47 am
by bram
But would I damage the esp when I use the arduin with i2c when powering the esp with a 3v power supply amd connecting ground together?

Re: Arduino i2c connection

PostPosted: Fri Feb 19, 2016 9:11 am
by martinayotte
What do you means by "damage" ?
The I2C Level Shifter has 2 power input, on 5V for the Arduino side, and one 3.3V on the ESP side.
The I2C bus has PullUps, so when it is idle, lines are at HIGH level.