This sensor is a temperature detector used to test the liquid temperature based on 18b20.
CHARACTERISTICS
Standard 3-pin GVS ports are easy to plug.
3V working voltage can drive the micro:bit.
The water-proof design makes it possible to use in the liquid.
SPECIFICATIONS
Items |
Parameters |
SKU |
EF04095 |
Working Voltage |
DC 3.0V |
Power Supply |
3v-5v |
Connector Type |
Analog |
Length of water-proof detector |
1m |
Pins Definition |
1-Signal 2-VCC 3-GND |
Response |
Quick to response and high sensitivity |
Circuit |
Simple drive circuit |
Stability |
Stable and durable |
OUTLOOKS & DIMENSIONS


CONNECTION DIAGRAM
Connect to the P1 port of the extension board.


ADD PACKAGE
Click "Advanced" in MakeCode to check more choices.


Click "Extensions", and search “https://github.com/elecfreaks/pxt-ds18b20" in the dialogue box to download the codebase of 18b20.
PROGRAMME as the PICTURE SHOWS


REFERANCE
Links: https://makecode.microbit.org/_1x1ERwiT1bui You can also download the links below:
RESULTS
The current temperature value is showing on the micro:bit.