15. Octopus Temperature And Humidity Sensor¶
Temperature and humidity sensor is a module based on DHT11 digital temperature and humidity sensing element. It is sensitive to the ambient temperature and humidity changes and can be used for temperature alarm, humidity testing and other works.
The 3-pins ports is easy to plug and play.
Item | Parameter
:-: | :-: SKU|EF04019 Power Input|3v-5.5v Connector Type|Analog Pins Definition|1-Signal 2-VCC 3-GND Response|Quick response Sensitivity|High circuit|Simple Service Life|Long(Stable and durable)
15.4. Outlook and Dimensions¶
15.5. Quick to Start¶
Connect to P1 port as the picture shows.
Take sensor:bit for example
Click “Advanced”in the choice of the MakeCode to find more choices.
Click “Extensions”, search “iot”in the dialog box and then download the “iot-environment-kit”.
Program as the picture shows¶
The current temperature value is showing on the micro:bit.
You can also download the links below:---
The temperature value is scrolling on the micro:bit.
15.6. Relevant Cases¶
15.7. Technique Files¶