# From beginner weather monitor to advanced diagnostics – myDHT v2.0.2 (DHT11/DHT22)

**URL:** <https://forum.arduino.cc/t/from-beginner-weather-monitor-to-advanced-diagnostics-mydht-v2-0-2-dht11-dht22/1424033>\
**Category:** Showcase\
**Created:** [January 7, 2026, 7:07pm UTC](https://forum.arduino.cc/t/from-beginner-weather-monitor-to-advanced-diagnostics-mydht-v2-0-2-dht11-dht22/1424033 "2026-01-07T19:07:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonimatutinovic](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tonimatutinovic/32/1126458_2.png) [@tonimatutinovic](https://forum.arduino.cc/u/tonimatutinovic)\
**Post date:** [January 7, 2026, 7:07pm UTC](https://forum.arduino.cc/t/from-beginner-weather-monitor-to-advanced-diagnostics-mydht-v2-0-2-dht11-dht22/1424033/1 "2026-01-07T19:07:31Z")

</div>

Hi everyone,

I’d like to share an update to **myDHT** , an Arduino library for **DHT11** and **DHT22** sensors.  
Version **2.0.2** is now available directly via the **Arduino Library Manager**.

The main goal of this release was to make the library **safer and clearer for beginners** , while still providing **full control and diagnostics for advanced users**.

### What’s new in the 2.0.x series

#### Layered API design

**myDHT – beginner layer**

- Safe read intervals enforced automatically
- Internal caching
- Simple API: `getTemperature()`, `getHumidity()`, `dewPoint()`, `HiIndex()`

**myDHTPro – advanced layer**

- Full protocol-level access
- Debug and test modes
- Asynchronous reads (state-machine based)
- Raw pulse timing access
- Multi-sensor support

#### Reliability improvements

- Corrected minimum sampling intervals for **DHT11** and **DHT22**
- Safe read handling (`readSafe`)
- Improved behavior in memory-optimized builds

#### Tested on real hardware

- Arduino Uno & Nano
- DHT11 and DHT22

#### Demo projects

Beginner-friendly demo projects showing real-world use cases:

- Zero-configuration weather monitor
- Dew point greenhouse indicator
- Heat index analog gauge (servo-based)

The library is fully standalone (no external dependencies) and is intended to be both **reliable in practice** and **useful for learning how DHT sensors actually work internally**.

**GitHub:**

> **[GitHub - tonimatutinovic/myDHT: Advanced Arduino library for DHT11 and DHT22...](https://github.com/tonimatutinovic/myDHT)**
>
> Advanced Arduino library for DHT11 and DHT22 sensors with auto-detect, sanity-check, debug logging, memory-optimized build, asynchronous reads, and MultiSensorManager support.

Feedback, testing on other boards, and suggestions are very welcome.

Thanks,  
Toni
