# Octopus Water-proof Temperature Sensor(EF04095) ## Introduction This sensor is a tempeterature detector used to test the liquid temperature based on 18b20. ![](./images/04095_0.jpg) ## Products Link [ELECFREAKS Octopus Waterproof Temperature Sensor (DS18B20)](https://shop.elecfreaks.com/products/elecfreaks-octopus-waterproof-temperature-sensor-ds18b20?_pos=1&_sid=fe1f005ab&_ss=r) ## 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: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 sensiivity Circuit:Simple drive circuit Stability:Stable and durable ## Outlook and Dimensions ![](./images/04095_1.jpg) ## Quick to Start ### Connection Diagram Connect to the P1 port of the extension board. ![](./images/04095_2.png) ### Add Package Click "Advanced" in MakeCode to check more choices. ![](./images/smtcNoB.png) 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 ![](./images/04095_3.png) ### Reference Links: [https://makecode.microbit.org/_1x1ERwiT1bui](https://makecode.microbit.org/_1x1ERwiT1bui) You can also download it directly:
### Results The current temperature value is showing on the micro:bit. ## Relevant Cases ## Technique Files