SparkFun Forums 

Where electronics enthusiasts find answers.

Questions &/or issues related to products in the Movement & IMU category should be posted in this forum.
#203514
Hello,

I bought a MMA8452Q and have connected it according to the hookup guide (https://learn.sparkfun.com/tutorials/mm ... okup-guide)

I'm using an Arduino Leonardo, so the SDA and SDL of the accelerometer are hooked up to the SDA and SDL of the Leonardo with a 330 ohm resistor between. The GND is hooked up to ground and 3.3V to the 3.3V pin on the Arduino.

I'm using this example code: https://github.com/sparkfun/SparkFun_MM ... tation.ino

The library is added correctly and the code compiles.

However, the accelerometer gets stuck at the "accel.begin()" step, on line 41.
#203530
Hi cjohnson57,

Are you getting this error "Not Connected. Please check connections and read the hookup guide." when you open a serial monitor? If that's the case, it might be a connection issue. Can you take a few photos of your circuit and attach them to your response?