Accelerometer Bricklet

Features

  • 3-axis accelerometer
  • 0.001g steps with 16bit resolution
  • Up to ±16g full-scale range
  • Full 1kHz data rate with callbacks

Description

The Accelerometer Bricklet can be used to extend the features of Bricks with the capability to measure acceleration in x-, y- and z-axis. The measured acceleration can be read out in g. With configurable events it is possible to react on changing acceleration without polling.

The Bricklet has an LED that can be turned on trough the API, e.g. to show that a specific acceleration was reached.

Technical Specifications

Property Value
Sensor LIS3DSH
Current Consumption 5mW (1mA at 5V)
   
Acceleration 0.001g steps, 16bit resolution
Shock survivability 10000g
Full-scale range ±2g / ±4g / ±6g / ±8g / ±16g selectable with API
   
Dimensions (W x D x H) 25 x 20 x 5mm (0.98 x 0.79 x 0.19")
Weight 2g

Resources

Test your Accelerometer Bricklet

To test a Accelerometer Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.

Connect the Accelerometer Bricklet to a Brick with a Bricklet Cable.

If you connect the Brick to the PC over USB, you should see a new tab named "Accelerometer Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the acceleration in g, pitch and roll and a graph that shows the acceleration over time.

Point the Bricklet downwards along its x-, y- and z-axis one by one. The acceleration should be around 1g for the axis pointing downwards and around 0g for the other axes.

Accelerometer Bricklet in Brick Viewer

After this test you can go on with writing your own application. See the Programming Interface section for the API of the Accelerometer Bricklet and examples in different programming languages.

Case

A laser-cut case for the Accelerometer Bricklet is available.

Case for Accelerometer Bricklet

The assembly is easiest if you follow the following steps:

  • Screw spacers to the Bricklet,
  • screw bottom plate to bottom spacers,
  • build up side plates,
  • plug side plates into bottom plate and
  • screw top plate to top spacers.

Below you can see an exploded assembly drawing of the Accelerometer Bricklet case:

Exploded assembly drawing for Accelerometer Bricklet

Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.

Programming Interface

See Programming Interface for a detailed description.

Language API Examples Installation
C/C++ API Examples Installation
C# API Examples Installation
Delphi/Lazarus API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
TCP/IP API    
Modbus API