ESP32-Based Smart Weather Station with OLED Display and Soil Moisture Sensor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various sensors, a buzzer, an OLED display, and an ESP32 microcontroller. The circuit is designed to monitor environmental conditions such as soil moisture, rain, and temperature/humidity, and to display this information on an OLED screen. Additionally, a buzzer is included for audible alerts.
Component List
SparkFun Soil Moisture Sensor
- Pins: VCC, GND, SIG
- Description: Measures the moisture level in the soil.
- Purpose: To monitor soil moisture levels.
RAIN SENSOR
- Pins: AO, DO, GRD, VCC
- Description: Detects the presence of rain.
- Purpose: To monitor rain conditions.
Buzzer
- Pins: PIN, GND
- Description: Emits sound when activated.
- Purpose: To provide audible alerts.
0.96" OLED
- Pins: GND, VDD, SCK, SDA
- Description: Displays information on a small screen.
- Purpose: To display sensor data.
ESP32
- 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, BOOT
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
- Purpose: To control the sensors, process data, and display information.
DHT 11
- Pins: VCC, GND, DATA
- Description: Measures temperature and humidity.
- Purpose: To monitor environmental temperature and humidity.
Wiring Details
SparkFun Soil Moisture Sensor
- VCC connected to ESP32 3V3
- GND connected to ESP32 GND
- SIG connected to ESP32 D19
RAIN SENSOR
- VCC connected to ESP32 3V3
- GRD connected to ESP32 GND
- AO connected to ESP32 D18
Buzzer
- PIN connected to ESP32 D2
- GND connected to ESP32 GND
0.96" OLED
- VDD connected to ESP32 3V3
- GND connected to ESP32 GND
- SCK connected to ESP32 D22
- SDA connected to ESP32 D21
ESP32
- 3V3 connected to VCC of SparkFun Soil Moisture Sensor, RAIN SENSOR, DHT 11, and 0.96" OLED
- GND connected to GND of SparkFun Soil Moisture Sensor, RAIN SENSOR, DHT 11, 0.96" OLED, and Buzzer
- D2 connected to PIN of Buzzer
- D4 connected to DATA of DHT 11
- D18 connected to AO of RAIN SENSOR
- D19 connected to SIG of SparkFun Soil Moisture Sensor
- D21 connected to SDA of 0.96" OLED
- D22 connected to SCK of 0.96" OLED
DHT 11
- VCC connected to ESP32 3V3
- GND connected to ESP32 GND
- DATA connected to ESP32 D4
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 a section for code documentation. The wiring details ensure that each component is correctly connected to the ESP32 microcontroller, facilitating proper operation of the circuit.