I am connecting Raspi (Master) via I2C with Arduino Mega (Slave).

Do I need a level shifter for this or is it non compulsory?

As of now my code runs for some time before i get a Remote I/O Error message and the program stops running.

Could this be the reason?


raspi GPIO is 3.3V when arduino is 5V. it will works for a while but one day raspi won't work anymore.

Consider using cheap TXB0104 (sparkfun sell breakboard) which are bi-directionnal level shifter.

they are pretty simple to use and protect your Raspi and Arduino

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.