Environment Temperature and Humidity Module

Environment Temperature and Humidity Module (HKBM8012D)

../../_images/05_051.png

This module is used to get the temperature and humidity of the nearby environment. It can be used with the Soil Moisture or Water Level Sensors.

Details

../../_images/05_041.png

Specifications

  • Voltage: 3V-5V

  • Dimensions: 56mm X 24mm X 19mm

  • Connector: 4Pin PH2.0, 3Pin PH2.0

  • Temperature Range: 0-50°C, Accuracy ±2°C

  • Humidity Range: 20-90%RH, Accuracy ±5%RH

  • Sensor Value Return Range: 0-1023

Precautions

  • This module cannot be placed underwater, doing so would cause a short circuit.

Connecting the module

Connect the Environment Module to Armourbit with a 4Pin cable.

../../_images/env_wire.png

MakeCode Coding Tutorial

../../_images/mcbanner.png

Powerbrick Extension: https://github.com/KittenBot/pxt-powerbrick

Loading Extensions

Environment Module Blocks:

../../_images/environmentblocks1.png

Reading the temperature

../../_images/temp1.png

Sample Code Link

Reading the relative humidity

../../_images/RH1.png

Sample Code Link

Makecode Tutorial Video

../../_images/envtut1.png

Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

Makecode Extension Update

KittenBlock Coding Tutorial

../../_images/kbbanner.png

Load Powerbrick Extension

Select Powerbrick from the hardware column.

../../_images/addextension1.png

Environment Module Blocks

../../_images/kbenvblocks1.png

Reading the temperature

../../_images/kbtemp1.png

Sample Code Download

Reading the relative humidity

../../_images/kbhumid1.png

Sample Code Download

FAQ

1:Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.