ElecFreaks
Octopus Waterproof DS18B20 Temperature Sensor
This sensor is a temperature detector used to test the liquid temperature based on 18b20. Characteristics Standard 3-pin GVS ports is easy to plug. 3V wo...
Get notified when back in stock
This sensor is a temperature detector used to test the liquid temperature based on 18b20.

Characteristics
Standard 3-pin GVS ports is easy to plug.
3V working voltage can drive the micro:bit.
Water-proof design makes it possible to use in the liquid.
Specification
SKU EF4095
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
Outlook and Dimensions

Quick to Start
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

Reference
Results
The current temperature value is showing on the micro:bit.
Jargon buster
Plain-language definitions for the technical terms used above.
- DC
- DC means direct current, where electricity flows in one constant direction, as supplied by batteries, USB ports and many plug-pack power supplies. When a product specifies DC, it runs from a DC supply rather than mains AC, so you need to provide the correct voltage and polarity.
- GND
- GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
- VCC
- VCC is the positive power-supply connection on a chip or module. Connecting it to the correct supply voltage is needed for the part to power on and helps avoid damaging the electronics.
Find this product in
Related Tutorials
Free guides on learn.littlebird.com.au