Octopus DS18B20 Digital Temperature Brick(EF04042)
20. Octopus DS18B20 Digital Temperature Brick(EF04042)#
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.
20.5. Outlook and Dimensions#
20.6. Quick to Start#
Materials used and connection diagram#
Take sensor:bit for example
Click “Advanced”in the choice of the MakeCode to find more choices.
Click “Extensions”, search “iot”in the dialog box and then download it.
Program as the picture shows#
You can also download the links below:
The current temperature is showing on the micro:bit.