EF04042 Octopus DS18B20 Digital Temperature Brick
Átlagos értékelés: | Nem értékelt |
Elérhetőség: | 9 db raktáron |
EF04042 Octopus DS18B20 Digital Temperature Brick |
|
Szállítási díj: | 1.890 Ft |
|
Leírás
Introduction
This brick uses the DS18B20 1-Wire digital temperature sensor from Maxim IC. It can report degrees C with 9 to 12-bit precision, -55C to 125C (+/-0.5C). Each sensor has a unique 64-Bit Serial number etched into it that can allow for a huge number of sensors to be used on one data bus.
The Freaduino Sensor Shield is the perfect shield to connect this senor to Arduino. Or Freaduino UNO which we had pre-stray Octopus Brick interface.
Dimension
Package List
Module | Quantity |
---|---|
DS18B20 Digital Temperature Brick | 1 |
Analog Sensor Cable | 1 |
Hardware Connection
Connection note:Connect this module to the P1 port on OCTOPUS:BIT.
Programming
Click the "Advanced" selection in the Makecode to check more coding selections.
We need to add a package for the coding. Click "Add package" from the bottom of the page and search"https://github.com/Tinkertanker/pxt-ds1820-temperature-sensor" in the dialog box, then download the equivalent package.(Pointed by the red arrows below)
Code
You can see the whole program from the link
Or you can download it from the page below.
Results
The value of the temperature shows on the micro:bit.