Temperature Bricklet


The Temperature Bricklet is discontinued. We are selling our remaining stock. The Temperature Bricklet 2.0 is the recommended replacement.


  • Measures ambient temperature with 0.5°C accuracy
  • Temperature range from -40°C to 125°C
  • Output in 0.1°C steps (12bit resolution)


The Temperature Bricklet can be used to extend the features of Bricks by the capability to measure temperature. The measured temperature can be read out in °C. With configurable events it is possible to react on changing temperatures without polling.

Technical Specifications

Property Value
Sensor TMP102
Current Consumption 1mA
Ambient Temperature -40°C to 125°C in 0.1°C steps (12bit resolution)
Accuracy 0.5°C
Dimensions (W x D x H) 25 x 15 x 5 mm (0.98 x 0.59 x 0.19")
Weight 2g


Test your Temperature Bricklet

To test a Temperature 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 Temperature Bricklet to a Brick with a Bricklet Cable (see picture below).

Temperature Bricklet connected to Master Brick

If you connect the Brick to the PC over USB, you should see a new tab named "Temperature Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.

Temperature Bricklet in Brick Viewer

Put your finger on the sensor to see the temperature rising (or falling if it is extremely warm in your room).

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


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

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

Exploded assembly drawing for Temperature 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
Go API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
MQTT API Examples Installation
openHAB API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Rust API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
Modbus API