This project is a free initiative to create Arduino library for MMA7361 3-axis accelerometer by Freescale Semiconductor. The main goal is to provide a driver that simplifies the usage of this particular accelerometer in Arduino projects.
- Download the source
- Place the AcceleroMMA7361 folder in your Arduino1.0+ "libraries" folder
- Open example sketch: "file", "Examples", "AcceleroMMA7361", "G_Force" (or "Voltage" or "Rawdata")
- Connect the analog sensor to port A0,A1,A2 (and connect Vcc, GND, sleepPin, gSelectPin, Aref (if needed))
- Compile & upload code
- XYZ Sensor data should be arriving over the serial port