Display Temperature and Humidity on OLED using DHT22 and Arduino

The air is very hot and we have to take a very good care for ourself especially during haze. With this simple project, you can check the temperature, humidity and heat index.

Introduction

The DHT22 is a basic, low-cost digital temperature and humidity sensor. 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). It’s easy to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Video

This video will show you how to Display Temperature and Humidity on OLED using DHT22 and Arduino

Hardware Preparation

This is the hardware connection and the components needed.

Dhtoled Bb
Figure 1 : Hardware connection.

Sample Code

References :

  1. DHT 22 Temperature and Humidity Sensor

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Display on MAX7219 Dot Matrix Using Maker NANO
Heart Rate Monitor Using Pulse Sensor and Maker Nano
Gas Detector Using The MQ2 Sensor on Maker NANO
Control NeoPixel RGB LED Color Code Using Keypad and Maker Nano
Audio Doorbell Using M5GO IoT Starter Kit
Scroll to Top