Tutorial: Using an accelerometer with the Arduino

Tutorial: Using an accelerometer with the Arduino

Posted on 08. Apr, 2009 by in Sensors, Tutorials

This video tutorial shows you how easy it is to use the Memsic 2125 accelerometer module with an Arduino. The Memsic module is a very easy to use six pin, cost effective module that measures acceleration in both an X and Y direction. Each signal is output as a series of pulses on a dedicated pin for X or Y. Other than those two connections, it only needs a +5V supply and ground, both of which are easily accessible on the Arduino board.

In this video you'll notice that they are using a handy protoshield, which is a module that plugs onto the Arduino and gives you a small breadboard and some other stuff. This is not required, but it is certainly handy to have. Once they plug everything together with just a few wires, the video covers a bit of the source code that is used to make the Arduino measure the accelerometer's pulses to produce useful values.

View the Memsic 2125 datasheet for full details, but here are a few features:

  • Measure 0 to ±3 g on either axis
  • Fully temperature compensated over 0° to 70° C range
  • Simple, pulse output of g-force for X and Y axis
  • Analog output of temperature (TOut pin)
  • Low current 3.3 or 5V operation: less than 4 mA at 5 vdc

The Memsic 2125 module is about $30 and is available from multiple sources including the Makershed and Parallax.

Tags:

No comments.

Leave a Reply

This blog is kept spam free by WP-SpamFree.