I'd like to interface an MPU-9150 sensor with an ATmega128 using I2C. The Atmega operates at 5V while the sensor chip operates at 3.3V.
How can I find out if the two can work together? I'm not very used to reading data sheets and don't know what to look for.
Best Answer
From the datasheet for the ATmega128: ATmega128 datasheet
The input High Voltage can be a minimum of 0.6 of Vcc. If you have your ATmega128 running at 5V, the minimum HIGH input is 3V.
If you want to be safe, try googling "3.3V to 5V level shifter" and you'll get lots of resources for creating circuits to use.