The Temperature Bricklet 2.0 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.
Property | Value |
---|---|
Sensor | STS3x |
Current Consumption | 28mW (5.6mA at 5V) |
Ambient Temperature | -40°C to 125°C in 0.01°C steps |
Accuracy | typical 0.2°C in the range of 0°C to 65°C* |
Dimensions (W x D x H) | 25 x 15 x 5 mm (0.98 x 0.59 x 0.19") |
Weight | 2g |
* This is the temperature at the exact position of the sensor. If the Bricklet is used inside of an enclosure, the air around the Bricklet may heat up more than the ambient air. The Bricklet does have API to calibrate this kind of offset.
To test a Temperature Bricklet 2.0 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 2.0 to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "Temperature Bricklet 2.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.
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 2.0 and examples in different programming languages.
A laser-cut case for the Temperature Bricklet 2.0 is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Temperature Bricklet 2.0 case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C/C++ for Microcontrollers | 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 |
TCP/IP | API | ||
Modbus | API |