The dht11 temperature and humidity sensor senses measures and regularly reports the relative humidity in the air.
Dht11 temperature and humidity sensor arduino code with oled.
Learn how to display temperature and humidity readings from a dht11 dht22 sensor in an ssd1306 oled display using an esp32 or an esp8266 with arduino ide.
Here we also display those readings on an lcd display.
Oled display 0 96 inch x 1.
Dht11 temperature and humidity sensor.
Dht11 sensor x 1.
This video show how to build a humidity meter using a dht11 humidity sensor i2c oled display and arduino uno.
This will work as a brain of this project which will contain the code and send data to oled display.
Jumper wires for bread board connection.
The dht11 is a basic ultra low cost digital temperature and humidity sensor.
The idea of using the oled display with the esp32 or esp8266 is to ilustrate how you can create a physical user interface for your boards.
In this tutorial i ll first go into a little background about humidity then i ll explain how the dht11 measures humidity.
Sensors and modules functions.
Wemos d1 mini is another esp8266 module.
The dht22 am2302 sensor is able to measure temperatures from 40 to 125 c with an accuracy of 0 5 c and relative humidity levels from 0 to 100 with an accuracy of 2 5 at extremes to 10 and 90.
Display temperature and humidity in the oled display with arduino.
If you re not familiar with the dht11 sensor read the following article.
It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and spits out a digital signal on the data pin no analog input pins needed.
We ll get temperature and humidity using the dht11 temperature and humidity sensor.
The device is diymall s inexpensive high resolution 128x64 pixels yellow and blue organic led display that is designed for use with the arduino platform.
A 128x64 i2c oled ssd1306 display is used to d.
Its fairly simple to use but requires careful timing to grab data.
In these tutorials we will measure temperature and humidity by using dht11 with arduino.
It s perfect for remote weather stations home environmental control systems and farm or garden monitoring systems.
5 volts power supply.
In this section we ll build a project that displays temperature and humidity readings on the oled display.
Together with a dht22 temperature sensor the tiny oled screen will display real time humidity and temperature data using an adafruit library and an arduino uno board.
The dht11 humidity and temperature sensor makes it really easy to add humidity and temperature data to your diy electronics projects.