15. Octopus Temperature And Humidity Sensor(EF04019)#

15.1. Introduction#

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.

../../_images/b4CeLwq.jpg

15.3. Characteristics#

The 3-pins ports is easy to plug and play.

15.4. Specifications#

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.5. Outlook and Dimensions#

../../_images/aQIDnpP.png

15.6. Quick to Start#

Connection diagram#

Connect to P1 port as the picture shows.

Take sensor:bit for example

../../_images/jxvVgcK.png

Add Package#

Click “Advanced”in the choice of the MakeCode to find more choices.

../../_images/smtcNoB2.png

Click “Extensions”, search “iot”in the dialog box and then download the “iot-environment-kit”.

../../_images/IAZrNAy.png

Program as the picture shows#

The current temperature value is showing on the micro:bit.

../../_images/BOELw4G.png

Reference#

Links: https://makecode.microbit.org/_E2kTxL2wp42J

You can also download the links below:

Result#

The temperature value is scrolling on the micro:bit.

15.7. Relevant Cases#

15.8. Technique Files#