กลับไปหน้ารวมไฟล์
humidity-temperature-project-3f0973-en.md

Smart Environmental Monitoring: OLED & DHT11 Integration

Maintaining optimal environmental conditions is essential for everything from personal health to agricultural success. This project demonstrates how to build a high-visibility, compact monitoring station using the Arduino Uno to track live atmospheric data and display it on a high-contrast I2C OLED Screen.

Precision Sensing and I2C Communication

The project focuses on two key hardware interfaces:

  1. DHT11 Sensor: This common but effective module contains a capacitive humidity sensor and a thermistor to measure temperature. It uses a custom single-wire serial protocol to transmit data, making it a great introduction to digital communication interfaces.
  2. I2C OLED Display: Using the Inter-Integrated Circuit (I2C) protocol, this display only requires two data wires (SDA and SCL). This efficiency allows for a compact wiring layout on the breadboard, while the OLED technology ensures that the data is bright and readable even in low-light environments.

Logical Data Flow and Visualization

The Arduino code operates in a continuous polling loop:

  • Data Acquisition: Every few seconds, the code queries the DHT11 for the current relative humidity and temperature in Celsius.
  • Display Management: Using the Adafruit_GFX and Adafruit_SSD1306 libraries, the code clears the screen and renders custom text labels and numerical values.
  • Real-Time Dashboard: The bright OLED provides instant feedback, allowing users to see at a glance if the environment is becoming too dry or too hot for sensitive plants or electronic equipment.

Educational Applications: From IoT to Agriculture

This project serves as the perfect prototype for more advanced systems:

  • Plant Health: By monitoring temperature spikes, indoor gardeners can ensure they water their plants on time or move them away from direct sunlight.
  • IoT Scaling: This setup can be easily expanded by adding an ESP8266 WiFi module, allowing the data to be streamed to a cloud dashboard for remote monitoring.
  • HVAC Automation: The logic can be extended to trigger a relay for a humidifier or a fan when specific thresholds are reached.

During summer it is very hot. It is important to view and monitor real time temperature.

Sometimes our plants dried out due to heat. Using this project we can keep a track of the temperature and water the plants on time.

youtube:- https://www.youtube.com/watch?v=dFksEX6Vnfc

ข้อมูล Frontmatter ดั้งเดิม

title: "Humidity Temperature Project"
description: "I have created the project to capture Humidity and Temperature. OLED screen is compact and very bright."
author: "kunshmaurya"
category: ""
tags:
  - "environmental sensing"
  - "data collection"
views: 1551
likes: 1
price: 1120
difficulty: "Intermediate"
components:
  - "1x DHT11 Temperature & Humidity Sensor (4 pins)"
  - "1x i2c oled display"
  - "1x Arduino UNO"
  - "2x Breadboard (generic)"
  - "1x Jumper wires (generic)"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "5f97ee75e4d6344321ca6ce6ca862e7a7473f9689c2c49ba55c1957108370d8a"
encryptedPayload: "U2FsdGVkX1/jE6fI1gtXxIKFsm9WR7G3PjkMCRLZZenkPHo8FxQw+HFaeEF5G6Y2s+BayjhS4tTf6zNg8XeQtIAIFQnxfaagZXet6Sm0QiE="
seoDescription: "Build a Humidity and Temperature monitoring project with a compact and bright OLED display."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/humidity-temperature-project-3f0973_cover.jpg"
lang: "en"