Site Loader
Zlatiborska 10a

Temperature and humidity reading from RHT03 (also known as DHT22) using ESP8266 WeMos D1 mini board.

As many other examples available on the internet, it was inevitably to post myself a temperature and humidity reading application.

The values from sensors are displayed on the mobile phone, using ESP8266 Home .


  • 3.3-6V Input
  • Humidity from 0-100% RH, ±2% RH accuracy
  • -40 – 80 degrees C temperature range,±0.5 degrees C



Now its time to add some code to read the temperature and pressure, and broadcast it in home wifi. ESP8266 Home  application can handle this data.


Here is source code:


The DHT22 sensor is a really nice sensor to measure temperature and humidity that can be used with the WeMos D1 mini. Although there is some complication as the standard DHT22 library cannot be used there is a library designed for the ESP8266 chipset such as the WeMos D1 mini.

You can just copy this code and program your Wemos D1 mini. You need put your SSID (AP name) to allow auto connection.




If you like my work 🙂


Also my code is free but my time not, so if you need talk with me put 5$ on

Post Author: Admin

Leave a Reply

Your email address will not be published. Required fields are marked *