ESP32-Based Wi-Fi Controlled Weather Station with LCD Display and Alerts
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as LEDs, resistors, an ESP32 microcontroller, a piezo speaker, a DHT11 humidity and temperature sensor, and a 16x2 I2C LCD. The circuit is designed to interface these components with the ESP32 microcontroller to perform various functions such as displaying data on the LCD, sensing temperature and humidity, and providing visual and audio feedback.
Component List
LED: Two Pin (red)
- Description: A red LED with two pins: cathode and anode.
- Purpose: Provides visual indication.
LED: Two Pin (green)
- Description: A green LED with two pins: cathode and anode.
- Purpose: Provides visual indication.
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Purpose: Limits current to protect components.
ESP32-WROOM-32UE
- Description: A powerful microcontroller with multiple GPIO pins, Wi-Fi, and Bluetooth capabilities.
- Purpose: Acts as the main controller for the circuit.
Piezo Speaker
- Description: A piezoelectric speaker with two pins.
- Purpose: Provides audio feedback.
DHT11 Humidity and Temperature Sensor
- Description: A sensor that measures humidity and temperature.
- Purpose: Provides environmental data to the microcontroller.
16x2 I2C LCD
- Description: A 16x2 character LCD with I2C interface.
- Purpose: Displays data from the microcontroller.
Wiring Details
LED: Two Pin (red)
- Cathode: Connected to GND (common ground).
- Anode: Connected to pin2 of a 200 Ohm resistor.
LED: Two Pin (green)
- Cathode: Connected to GND (common ground).
- Anode: Connected to pin2 of a 200 Ohm resistor.
Resistor (200 Ohms)
Resistor 1:
- Pin1: Connected to GPIO 27 of the ESP32.
- Pin2: Connected to the anode of the red LED.
Resistor 2:
- Pin1: Connected to GPIO 26 of the ESP32.
- Pin2: Connected to the anode of the green LED.
ESP32-WROOM-32UE
- GND: Connected to common ground.
- 5V: Connected to VDD of the DHT11 sensor and VCC of the 16x2 I2C LCD.
- GPIO 25: Connected to pin1 of the piezo speaker.
- GPIO 26: Connected to pin1 of a 200 Ohm resistor.
- GPIO 27: Connected to pin1 of a 200 Ohm resistor.
- GPIO D1: Connected to DATA pin of the DHT11 sensor.
- GPIO D2: Connected to SCL pin of the 16x2 I2C LCD.
- GPIO D3: Connected to SDA pin of the 16x2 I2C LCD.
Piezo Speaker
- Pin1: Connected to GPIO 25 of the ESP32.
- Pin2: Connected to GND (common ground).
DHT11 Humidity and Temperature Sensor
- VDD: Connected to 5V of the ESP32.
- DATA: Connected to GPIO D1 of the ESP32.
- GND: Connected to GND (common ground).
16x2 I2C LCD
- GND: Connected to GND (common ground).
- VCC: Connected to 5V of the ESP32.
- SCL: Connected to GPIO D2 of the ESP32.
- SDA: Connected to GPIO D3 of the ESP32.
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code documentation. Each component is described, and its connections are clearly outlined to ensure proper assembly and functionality.