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.
| Property | Value |
|---|---|
| Sensor | TMP102 |
| 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 |
To test the Temperature Bricklet you need to have the Brick Daemon and the Brick Viewer installed (for installation guides click here and here) and the Brick Viewer has to be connected to the Brick Daemon.
Connect the Temperature Bricklet to a Brick with the supplied cable (see picture below).
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.
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.
See High Level Programming Interface for a detailed description.
| Language | API | Examples | Installation |
|---|---|---|---|
| Modbus | API | ||
| TCP/IP | API | ||
| C/C++ | API | Examples | Installation |
| C# | API | Examples | Installation |
| Delphi | API | Examples | Installation |
| Java | API | Examples | Installation |
| PHP | API | Examples | Installation |
| Python | API | Examples | Installation |
| Ruby | API | Examples | Installation |
| VB.NET | API | Examples | Installation |