Temperature & Humidity Monitor Using Arduino Nano, DHT11 & 0.9" OLED Display
by Anshuman_41 in Circuits > Arduino
36 Views, 1 Favorites, 0 Comments
Temperature & Humidity Monitor Using Arduino Nano, DHT11 & 0.9" OLED Display



In this project, we will build a simple and accurate Temperature & Humidity Monitor using an Arduino Nano, a DHT11 temperature & humidity sensor, and a 0.9-inch GM009605v4.2 OLED display.
The DHT11 sensor will measure the ambient temperature and humidity, and the OLED will display the readings in real-time.
This project is perfect for beginners and can be used in weather stations, greenhouses, or home automation systems.
Supplies



Materials Required
Arduino Nano
DHT11 Sensor
GM009605v4.2 OLED Display (0.9")
SSD1306-based I2C OLED
Breadboard
For easy connections Jumper Wires
Male-to-male
USB Cable
CIRCUIT DIAGRAM




CIRCUIT DIAGRAM
OLED Display Arduino Nano
VCC ---------- 5V
GND --------- GND
SCL ---------- A5
SDA --------- A4
DHT11 SensorArduino Nano
VCC --------- 5V
GND -------- GND
DATA -------- D2
Install Arduino IDE & Libraries
- Download and install Arduino IDE from arduino.cc.
- Open Arduino IDE, go to Sketch → Include Library → Manage Libraries.
- Install these libraries:
- Adafruit SSD1306
- Adafruit GFX Library
- DHT sensor library by Adafruit
Arduino Code
Wiring & Upload, Test





Wiring
- Connect the DHT11 to Arduino Nano: VCC → 5V, GND → GND, DATA → D2.
- Connect OLED: VCC → 5V, GND → GND, SCL → A5, SDA → A4.
- Double-check wiring before powering up.
Upload & Test
- Select Tools → Board → Arduino Nano.
- Choose the correct COM port.
- Click Upload.
- After upload, the OLED should display Temperature in °C and Humidity in %.
- Open Serial Monitor (9600 baud) to see live readings for debugging.
Troubleshooting
Troubleshooting
- No display output: Check I2C address (0x3C is default for SSD1306).
- Nan values: Ensure DHT11 is wired correctly and has a pull-up resistor (if using a bare sensor).
- Flickering display: Increase delay in loop() to 2-3 seconds.