SensorExamples

A collection of examples on how to interface sensors to Arduino microcontrollers

View the Project on GitHub tigoe/SensorExamples

Accelerometers

This folder contains examples for various accelerometers.

Analog Devices ADXL3xx

Analog Devices makes a family of accelerometers, the ADXL3xx accelerometers, with analog voltage outputs for each axis. They are very simple to use with a microcontroller, because all you need to do is power them and connect their outputs to analog inputs of your microcontroller. For Arduino, there is no library needed to use these accelerometers. Different models have different sensitivities. Sparkfun has breakout boards for the ADXL337 and ADXL377. Adafruit has boards for the ADXL326, ADXL335, and ADXL377.

STMicroelectronics LIS3DH

STMicroelectronics’ LIS3DH accelerometer is an inexpensive accelerometer with a variable range of sensitivity. It connects to a microcontroller using I2C. It’s a great one to use when budget is a consideration. It also has some nice features like tap detection on all three axes.

Freescale MMA8451

Freescale’s MMA8451 is an inexpensive accelerometer that communicates over I2C. Adafruit has an MMA8451 breakout board