Memsic 2125 Wiring & Example Code

The Memsic MX2125 Dual-axis Accelerometer is great for measuring tilt, vibration, rotation, and let’s not forget its namesake, acceleration. A few MX2125 project ideas might include a tilt video game controller, tilt robot controller, robot hill climbing sensor, and radio-controlled vehicle acceleration, speed, and position data logger.

 

Wiring & Connections

 

Quick Code Example

Using the connections shown in the wiring diagram above, this example will display X and Y tilt in the Terminal.