29. Octopus Water-proof Temperature Sensor¶
This sensor is a tempeterature detector used to test the liquid temperature based on 18b20.
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.
Working Voltage：DC 3.0V
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
29.4. Outlook and Dimensions¶
29.5. Quick to Start¶
Connect to the P1 port of the extension board.
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¶
You can also download it directly:---
The current temperature value is showing on the micro:bit.