ESP8266-Based Environmental Monitoring System with OLED Display and Buzzer Alert
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP8266 NodeMCU microcontroller, a buzzer, a DHT11 temperature and humidity sensor, an MQ135 gas sensor, a KY-026 flame sensor, and a 0.96" OLED display. The circuit is designed to monitor environmental conditions and display the data on the OLED screen, with an alert system using the buzzer.
Component List
ESP8266 NodeMCU
- Description: A low-cost Wi-Fi microcontroller with GPIO, ADC, and PWM capabilities.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
Buzzer
- Description: An audio signaling device.
- Pins: PIN, GND
DHT11
- Description: A temperature and humidity sensor.
- Pins: DATA, GND, VCC
MQ135
- Description: A gas sensor for detecting air quality.
- Pins: VCC, GND, A0, D0
KY-026 Flame Sensor
- Description: A sensor for detecting flame or fire.
- Pins: AO, GND, VCC, DO
0.96" OLED
- Description: A small OLED display for visual output.
- Pins: GND, VDD, SCK, SDA
Wiring Details
ESP8266 NodeMCU
- D1 is connected to SCK of the 0.96" OLED.
- D2 is connected to SDA of the 0.96" OLED.
- D4 is connected to DATA of the DHT11.
- 3V3 is connected to VCC of the DHT11, MQ135, 0.96" OLED, and KY-026 Flame Sensor.
- GND is connected to GND of the DHT11, MQ135, 0.96" OLED, KY-026 Flame Sensor, and buzzer.
- D5 is connected to PIN of the buzzer.
- A0 is connected to A0 of the MQ135 and AO of the KY-026 Flame Sensor.
Buzzer
- PIN is connected to D5 of the ESP8266 NodeMCU.
- GND is connected to GND of the ESP8266 NodeMCU.
DHT11
- DATA is connected to D4 of the ESP8266 NodeMCU.
- VCC is connected to 3V3 of the ESP8266 NodeMCU.
- GND is connected to GND of the ESP8266 NodeMCU.
MQ135
- VCC is connected to 3V3 of the ESP8266 NodeMCU.
- GND is connected to GND of the ESP8266 NodeMCU.
- A0 is connected to A0 of the ESP8266 NodeMCU.
KY-026 Flame Sensor
- AO is connected to A0 of the ESP8266 NodeMCU.
- VCC is connected to 3V3 of the ESP8266 NodeMCU.
- GND is connected to GND of the ESP8266 NodeMCU.
0.96" OLED
- SCK is connected to D1 of the ESP8266 NodeMCU.
- SDA is connected to D2 of the ESP8266 NodeMCU.
- VDD is connected to 3V3 of the ESP8266 NodeMCU.
- GND is connected to GND of the ESP8266 NodeMCU.
Code
No code is provided for this circuit.