
Humidity Sensors Selection Guide: Specs, Packages & Top Picks
Humidity Sensors: The Drift Problem Nobody Talks About
Humidity is the hardest environmental parameter to measure accurately over the product lifetime. A fresh humidity sensor off the reel might achieve ±2% RH — but expose it to condensing environments, volatile organic compounds, or just 12 months of field operation, and that accuracy can degrade to ±5–10% RH silently. If your application (HVAC, food storage, pharmaceutical monitoring, server room environmental control) depends on humidity accuracy, you need to understand drift and recovery mechanisms before picking a part number.
Capacitive vs. Resistive: The Only Two Games in Town
Essentially all board-level humidity sensors use capacitive sensing: a polymer dielectric absorbs/desorbs water, changing capacitance proportional to RH. Resistive sensors (conductive polymer on interdigitated electrodes) exist but are less common in precision applications due to higher drift and narrower range.
How capacitive sensors work: A thin polymer film sits between two electrodes. Water molecules from the air diffuse into the polymer, changing its dielectric constant. The sensor IC measures this capacitance change and converts it to %RH via a calibrated lookup table. Sensirion's SHT4x series, TI's HDC3020, and TE's HTU31 all use this principle.
Key difference between manufacturers: the polymer chemistry and the protection layer. Sensirion uses a proprietary polyimide formulation; TE uses a PTFE membrane for dust/liquid protection. Both work — the real question is how they behave in your specific environment.
Critical Specs for Long-Life Designs
Hysteresis. Cycle from 10% → 90% → 10% RH and the reading at 50% RH on the way down won't match the reading at 50% on the way up. Good sensors keep hysteresis under ±1% RH; budget parts can show ±3%.
Long-term drift. Sensirion specifies <0.25% RH/year for the SHT4x. Budget sensors from unknown manufacturers may not publish drift specs at all — assume 3–5× worse. For products with 5–10 year lifetimes, annual drift adds up.
Condensation recovery time. This is the make-or-break spec for outdoor, cold chain, or high-humidity (greenhouse, bathroom) applications. When condensation forms on the sensor, it saturates the polymer and readings lock at 100% until it dries. The SHT45 recovers from full condensation in under 10 seconds; some budget sensors take minutes and may show permanent offset after repeated condensation cycles.
Accuracy at extremes. Check accuracy across the full 0–100% range, not just the ±2% RH headline at 20–80%. At >90% RH, even premium sensors typically degrade to ±3–4%.
Top Picks
| Part | Accuracy | Interface | Key Feature |
| Sensirion SHT45 | ±1.0% RH | I²C | Best accuracy, fast condensation recovery |
| TI HDC3020 | ±1.5% RH | I²C | Integrated heater, ±0.1% RH drift/yr |
| Sensirion SHT41 | ±1.8% RH | I²C | Best price/performance, DFN package |
| TE HTU31D | ±2.0% RH | I²C | Good accuracy at budget pricing |
| Bosch BME280 | ±3.0% RH | I²C/SPI | Combo P+T+H in one chip — when accuracy is secondary |
Note on BME280: Bosch specifies ±3% RH, and in practice you'll see ±4–5%. It's a fine environmental monitor but not a precision humidity sensor. Don't use it for anything that requires regulatory compliance or calibration traceability.
Design Integration Tips
Keep the sensor away from heat sources. A microcontroller running at 40°C warms local air, reducing RH by 5–10% relative to ambient. Place the sensor at the board edge with thermal isolation slots in the PCB.
Don't conformal coat the sensor opening. Sounds obvious, but assembly houses will do it unless you specify a keep-out zone explicitly in fabrication drawings.
I²C address conflicts. Most humidity sensors have a single fixed I²C address. If you need two on the same bus (e.g., indoor + outdoor measurement on one MCU), check for parts with an address-select pin (SHT3x ADDR pin to VDD/GND) or use an I²C mux.
Need to compare pricing and availability across sensor types? Search our database for humidity sensors by accuracy and interface, or upload your full BOM at partscubeglobal.com/bom for instant availability checking.
Need help sourcing these components?
PartsCube Global stocks all alternatives mentioned in this guide. Search our catalog or submit your BOM for a quote.
Chat on WhatsApp