ESP32-Based Smart Environmental Monitoring System with Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, various sensors, an LED, a transistor, a resistor, and a buck converter. The circuit is designed to interface with multiple sensors and control an LED through a transistor. The ESP32 serves as the central processing unit, collecting data from sensors and controlling the LED.
Component List
ESP 32 DEVKIT V1 (30 pins)
- Description: A development board featuring the ESP32 microcontroller, which includes Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23
DHT 11
- Description: A basic, low-cost digital temperature and humidity sensor.
- Pins: VCC, GND, DATA
LED: Two Pin (white)
- Description: A white LED with two pins.
- Pins: cathode, anode
PZEM004t
- Description: A module used for measuring voltage, current, power, and energy.
- Pins: VCC, RX, TX, GND, IN, OUT
bc547
- Description: A general-purpose NPN transistor.
- Pins: collector, base, Emitter
Resistor
- Description: A resistor with a resistance of 10k Ohms.
- Pins: pin1, pin2
- Properties: Resistance = 10k Ohms
Buck converter
- Description: A DC-DC converter that steps down voltage.
- Pins: IN+, IN-, OUT+, OUT-
MQ135
- Description: A gas sensor used for detecting air quality.
- Pins: VCC, GND, A0, D0
Wiring Details
ESP 32 DEVKIT V1 (30 pins)
- D34 is connected to A0 of MQ135.
- GND is connected to:
- OUT- of Buck converter
- Emitter of bc547
- GND of DHT 11
- GND of PZEM004t
- GND of MQ135
- VIN is connected to:
- OUT+ of Buck converter
- anode of LED: Two Pin (white)
- VCC of DHT 11
- VCC of PZEM004t
- VCC of MQ135
- D15 is connected to DATA of DHT 11.
- D4 is connected to pin2 of Resistor.
- RX2 is connected to TX of PZEM004t.
- TX2 is connected to RX of PZEM004t.
DHT 11
- VCC is connected to OUT+ of Buck converter.
- GND is connected to GND of ESP 32 DEVKIT V1 (30 pins).
- DATA is connected to D15 of ESP 32 DEVKIT V1 (30 pins).
LED: Two Pin (white)
- anode is connected to OUT+ of Buck converter.
- cathode is connected to collector of bc547.
PZEM004t
- VCC is connected to OUT+ of Buck converter.
- GND is connected to GND of ESP 32 DEVKIT V1 (30 pins).
- RX is connected to TX2 of ESP 32 DEVKIT V1 (30 pins).
- TX is connected to RX2 of ESP 32 DEVKIT V1 (30 pins).
bc547
- collector is connected to cathode of LED: Two Pin (white).
- base is connected to pin1 of Resistor.
- Emitter is connected to GND of ESP 32 DEVKIT V1 (30 pins).
Resistor
- pin1 is connected to base of bc547.
- pin2 is connected to D4 of ESP 32 DEVKIT V1 (30 pins).
Buck converter
- OUT- is connected to GND of ESP 32 DEVKIT V1 (30 pins).
- OUT+ is connected to VIN of ESP 32 DEVKIT V1 (30 pins).
MQ135
- VCC is connected to OUT+ of Buck converter.
- GND is connected to GND of ESP 32 DEVKIT V1 (30 pins).
- A0 is connected to D34 of ESP 32 DEVKIT V1 (30 pins).
Code
No code is provided for this circuit.