DHT11 humidity and temperature sensor connection guide
DHT11 humidity and temperature sensor Four-position sensor interface wiring guide with power, signal assignments, and bench checks.
Four-position sensor interface
4 contacts Current packageRead humidity and temperature
RequiredUse a short cable and a 5 V host with a GPIO that can switch between driving low and high impedance. Pull the data wire up to the same 5 V supply.
Bench checks
- Wait more than two seconds after power-up. Pull the data line low for the documented start time. Then release the line and look for the sensor response.
- Check that the low eight bits of the sum of the first four bytes equal the fifth byte before decoding.
- Decode the separate integer and fractional fields according to the manual for the specific device revision.
Aosong DHT11 Product Manual, pp. 3–5, mirrored by ManualsLib. This page uses that manual’s electrical revision.
Four-position sensor interface wiring map
Four-position sensor interface
1 · VDD
Device supply. Place the bypass capacitor close to this pin.
Models and documents
The map applies to the four-pin bare DHT11 described in the linked manual. Three-pin breakout headers vary.
- DHT11
- Aosong four-pin sensor.
- DHT11 manufacturer documentation· Aosong DHT11 Product Manual, pp. 3–5, mirrored by ManualsLib. This page uses that manual’s electrical revision.
