Menu
You can find the introduction of this product and many educational projects in our wiki.
Link: https://wiki.elecfreaks.com/en/microbit/sensor/octopus-sensors/sensor/octopus_ef04019
The temperature and humidity sensor is a module based on the DHT11 digital temperature and humidity sensing element. Simple design, and sensitive to the ambient temperature and humidity changes, it can be used for temperature alarm, humidity testing, and other works.
The power supply needs: 5V
Interface type: Digital
Pin Definition: 1-Signal 2-VCC 3-GND
Fast response and High sensitivity
Simple drive circuit
Stable and long life
Module | Quantity |
---|---|
DHT11 Temperature And Humidity Sensor Module | 1 |
Analog Sensor Cable | 1 |
Connect the sensor to the P1 port on OCTOPUS:BIT.
STEP 1
Click Advanced in the code drawer of MakeCode to see more options.
STEP2
To program for the sensor, we need to add a package. Find Add Package in the bottom of code drawer and click it. This will pop up a dialogue box. Search "IOT" in the box and click to add that package.
You can see the whole program from the link here: link
Or you can download it from the page below.
The temperature and humidity value is scrolling on micro:bit screen.
Sign up for our newsletter and be the first to know about coupons and special promotions.
© 2024, ELECFREAKS Powered by Shopify