Octopus Electronic Bricks! You can use them build electronics projects just as easy as piling bricks! By using Octopus electronic bricks, you may connect Arduino or compatible boards easily with various digital, analog and I2C/Uart interfaces. These breadboard-less firm connections includes an extensive collection of modules like potentiometers, sensors, relays, servos, and even buttons. Just plug and play!
This Octopus brick is a waterproof temperature sensor based on the DS18B20.
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 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
Links
Results
The current temperature value is showing on the micro:bit.