🌡

DHT11 Temp & Humidity

The cheapest temperature sensor

Page 50 of 64 MCP / API open OTA updates

Page 50 runs the DHT11 1-wire protocol on GPIO21: temperature and humidity in large digits, plus sample and error counters.

Accuracy is modest (±2 °C / ±5 %RH) and it needs one second between reads — fine for trends, use the SHT30 on page 37 when you need numbers you can trust.

Screen

On-screen interface

A recreation of this page on the 2.41-inch AMOLED display (600 × 450). Actual interaction and layout follow the latest firmware.

Peripheral DHT11 · GPIO21
Temp24.6℃
Humidity61%RH
Samplingevery 1.2 s
CRC fails0 x
Accuracy±2 ℃ / ±5 %RH
Health85
Proprietary 1-wire — not SHT30 compatible
Screen · Page 50
May differ from the actual interface; the screen of the real device is the final reference.
Highlights

Key capabilities

🌡

Two big numbers

Temperature and humidity, one line each.

🔌

Single wire

Only GPIO21 carries data.

🔁

Bit timing

The firmware generates and checks the 40-bit frame.

🩺

Health score

Checksum failures are counted.

Specifications

Technical specs

PinGPIO 21 (1-wire)
Accuracy±2 °C / ±5 %RH
Rate1 reading per second max
Firmware pagePage 50
Use Cases

Typical scenarios

Cheap monitoring

When a rough number is enough.

Teaching

A neat example of a proprietary 1-wire timing.

Commands

Related commands

page 50  Open the DHT11 page
dht  Read temperature and humidity

Read the full API & command reference →

⚠ Boundaries & notes
  • ±2 °C / ±5 %RH — not a measuring instrument.
  • Reads closer than one second return the previous frame.
  • Unrelated protocol to the SHT30 on page 37.

Other feature pages