Temperature Sensor

Principle

The temperature sensor is specifically designed for humid environments. During operation, the sensor converts detected temperature signals into corresponding voltage signals. These voltage signals are then converted into analog signals and transmitted to the main control board for processing.

Specifications

Item

Description

Name

Temperature Sensor

Code

B0020014

Dimensions

79×24×12 mm

Voltage

5V-DC

Data Type

Analog Signal

Data Range

0~1023

Ports

Grove

Usage

Side View

Front View

Side View

Temperature Sensor Connection Diagram

The temperature sensor can connect to P0, P1, or P2 ports of the micro:bit hub. In the coding environment, the analog values of the sensor can be read. Its characteristics include:

  • Temperature increase: The detected temperature value increases as the ambient temperature rises.

  • Temperature decrease: The detected temperature value decreases as the ambient temperature drops.

Note: During use, avoid exposing any parts of the sensor other than the detection head to water to prevent damage.

Modular Coding

In the MakeCode coding software, by adding the Microbit extension, you can code the system to read the temperature sensor signal from the P0 port and visualize the data on the micro: bit’s LED display.