Go Down

Topic: Accelerometer MMA7361 (Read 657 times) previous topic - next topic

Drew Davis

May 11, 2013, 04:11 pm Last Edit: May 12, 2013, 06:41 pm by Drew Davis Reason: 1
Hello,

I ordered a Accelerometer from spark fun and a logic level converter. I would like to make sure every thing is correct before I plug it in. Do you think my drawing will work (see attachment).

Products I used ....

https://www.sparkfun.com/products/9652

https://www.sparkfun.com/products/8745

Also, I could not find the exact Accelerometer for the drawing but I put one in that looked close.

Erdin

The MMA7361 has analog outputs.
And the sensor requires 3.3V.

You have the Arduino 3.3V pin to power the sensor and GND to GND. That is good.
You should connect the three analog outputs (XOUT, YOUT, ZOUT) to three analog inputs.
If you print the analog value to the serial monitor, it is easier to know what is going on if you see the value of 3 axis.

The level shifter is for digital signals. Like the I2C or SPI bus or other signals.
If you buy a sensor that uses 3.3V and has a I2C interface, you can use that level shifter, but not for the analog output of the MMA7361.

Drew Davis

Ok. Thank you for the info. I did not even notice that it did not work for analog. I will connect everything according to your post.

Go Up