What it does#
The SHT40 measures temperature and relative humidity and answers over I²C. Supply 1.08–3.6 V, so it runs straight from 3V3 or a LiPo-fed 3.3 V rail. The catalog’s SHT40-AD1B answers at address 0x44; other variants use 0x45 or 0x46.
Placement is the hard part#
A humidity sensor measures the air around it. On a board with a microcontroller, a regulator and a radio, that air is warm.
- Put the sensor at the board edge, ideally on a tongue cut free by slots, away from the regulator and module.
- No ground pour under or around it; thin traces only.
- Measure briefly and sleep: self-heating of the board shows up as wrong readings.
Pitfalls#
- DFN-4 1.5 mm: not something to hand-solder with an iron; use hot air or JLCPCB.
- Do not wash the board after soldering with the sensor on; keep the opening free of flux and conformal coating.
Footprint#
Sensirion DFN-4 1.5 × 1.5 mm without central pad (C2909890, extended).