I'm trying to get my MPU-9150 to work with my Arduino UNO, but when I load up the I2C scanner, it doesn't detect any devices at all. I obtained the scanner from below:
I haven't soldered the connections, they're in my breadboard.
What could be causing the scanner to not detect any devices? Maybe the connections themselves aren't secure and I need to solder them, or maybe a faulty wire?
I'm trying to get my MPU-9150 to work with my Arduino UNO, but when I load up the I2C scanner, it doesn't detect any devices at all. I obtained the scanner from below:
I haven't soldered the connections, they're in my breadboard.
What could be causing the scanner to not detect any devices? Maybe the connections themselves aren't secure and I need to solder them, or maybe a faulty wire?
Any help would be appreciated
is your Arduino powered by 5V or 3.3v?
If you are using a standard UNO, it is 5V.
Unless the MPU9150 has 5v tolerant I2C pins(IT Doesn't based on the MPU9150 Spec Sheet), you are going to damage/destroy the Sensor.
I2C needs pullup resistors (for the UNO 4.7k ohm between VCC(5v) and SCL AND SDA. so when the bus is idle 5V will be applied to the SCL and SDA pins of the Sensor.
to use this level shifter connect GND, 5V to HV, Arduino SCL - B1 Arduino SDA - B2, Sensor SCL -A1, Sensor SDA -A2, 3.3V to LV.
If your sensor is not 5V tolerant your could have destroyed it, or it just cannot function with 5V on SCL, SDA.
Second Though, Are you using a 'module' with built in level shifters/power supply? If this is the case then you might get away with adding the pullups. If it is not a 'module' with level shifter you need level shifters.
Chuck.
Check out my Kickstarter Project Memory Panes an expansion RAM Shield for Mega2560's. It adds 1MB of RAM for those projects where 8KB is not enough.
It is possible to use the Arduino Uno with the MPU-9150 module without level shifter.
If the MPU-9150 has a voltage regulator on the board, then apply the Arduino 5V to VCC.
The module from Sparkfun doesn't have it, and 5V will destroy the sensor :o
The voltage regulator is often a small black smd component with 5 pins.