/Accelerometer

Arduino and Processing example code for Memsic2125 Accelerometer

Primary LanguageJava

Arduino and Processing sample sketches for the Memsic 2125 Accelerometer

Accelerometer Sketch

These sample sketches will get you up and running using a Parallax Memsic 2125 accelerometer.

  • Arduino_Accelerometer.pde takes the X and Y input from the accelerometer and sends them out in a serial connection.

  • Processing_Accelerometer.pde then reads that data and draws an ellipse in the window.

Here are a few screenshots of the applications:

Arduino Processing

I have done a write up about the code on my website