Tilt Bricklet

Features

  • Detects inclination of Bricklet (tilt switch open/closed)
  • Detects if Bricklet is vibrating

Description

The Tilt Bricklet is equipped with a tilt switch. It can be used by Bricks to detect if the Bricklet is tilted or if the Bricklet is vibrating.

It is possible to configure events that are triggered if the state of the Tilt Bricklet changes.

Technical Specifications

Property Value
Current Consumption 1mA
   
Dimensions (W x D x H) 25 x 15 x 15mm (0.98 x 0.59 x 0.59")
Weight 3g

Resources

Test your Tilt Bricklet

To test a Tilt 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 Tilt 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 "Tilt Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the current state of the Tilt Bricklet.

Tilt 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 Tilt Bricklet and examples in different programming languages.

Case

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

Case for Tilt 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 Tilt Bricklet case:

Exploded assembly drawing for Tilt 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