ESP32-Based Wi-Fi Weather Station with DHT11 Sensor and I2C LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an ESP32 microcontroller interfacing with a DHT11 temperature and humidity sensor and a 16x2 I2C LCD display. The ESP32 reads data from the DHT11 sensor and can display information on the LCD.
Component List
ESP32 (30 pin)
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
DHT11
- Description: A basic, low-cost digital temperature and humidity sensor.
- Pins: DATA, GND, VCC
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Wiring Details
ESP32 (30 pin) Connections
- D14 connected to DHT11 DATA
- GND connected to 16x2 I2C LCD GND
- Vin connected to 16x2 I2C LCD VCC
- D22 connected to 16x2 I2C LCD SCL
- D21 connected to 16x2 I2C LCD SDA
- GND connected to DHT11 GND
- 3V3 connected to DHT11 VCC
DHT11 Connections
- DATA connected to ESP32 D14
- GND connected to ESP32 GND
- VCC connected to ESP32 3V3
16x2 I2C LCD Connections
- GND connected to ESP32 GND
- VCC connected to ESP32 Vin
- SDA connected to ESP32 D21
- SCL connected to ESP32 D22
Code Documentation
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the microcontroller.