I am beginning to work with an MPU 6050 accelerometer along with an Atmega 32A. I plan to use I2C in order to communicate between these two devices.
If the 6050 is powered y 3.3V and the Atmega is powered by 5V, am I going to need a level changer on the I2C communication line? I know I can run the Atmega on 3.3V but I am using 5V.
Also, on the CLK and SDA lines I will use pull-up resistors but to which voltage are they pulling up to?
Many thanks for clarifications on these beginner questions.
Dave
Replies
Yes you do need to use a level changer on I2C line. You have to use pull up on 3.3V.
Prasanna Shevare
Drona Aviation
https://www.dronaaviation.com