ESP32-Based Environmental Monitoring System with Ethernet 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, a W5500 Ethernet module, a DHT22 temperature and humidity sensor, an Adafruit SHTC3 STEMMA QT sensor, and a ZMPT101B voltage sensor. The ESP32 microcontroller is the central processing unit of the circuit, interfacing with the Ethernet module for network connectivity, the DHT22 and SHTC3 sensors for environmental data, and the ZMPT101B for voltage sensing. The circuit is designed to monitor environmental parameters and voltage levels, and potentially communicate this data over a network.
Component List
ESP32 38 PINS
- Description: A microcontroller with WiFi and Bluetooth capabilities and a wide range of GPIO pins.
- Purpose: Acts as the central processing unit, managing sensor data and network communication.
Module Ethernet W5500
- Description: An Ethernet module that provides network connectivity.
- Purpose: Enables the ESP32 to connect to a network for data communication.
DHT22
- Description: A digital temperature and humidity sensor.
- Purpose: Measures ambient temperature and humidity.
Adafruit SHTC3 STEMMA QT
- Description: A high-accuracy digital temperature and humidity sensor.
- Purpose: Provides precise measurements of temperature and humidity.
ZMPT101B
- Description: A module for AC voltage sensing.
- Purpose: Measures the voltage of an AC power source.
Wiring Details
ESP32 38 PINS
- Pin 25 connected to W5500 Ethernet Module (INT)
- Pin EN connected to W5500 Ethernet Module (RST)
- Pin GND connected to common ground
- Pin 18 connected to W5500 Ethernet Module (SCK)
- Pin 33 connected to W5500 Ethernet Module (SS)
- Pin 23 connected to W5500 Ethernet Module (MOSI)
- Pin 19 connected to W5500 Ethernet Module (MISO)
- Pin 3V3 connected to common 3.3V supply
- Pin VP connected to ZMPT101B (OUT)
- Pin 5V/VIN connected to ZMPT101B (VCC)
- Pin 32 connected to DHT22 (Out)
- Pin 26 not connected
- Pin 27 not connected
- Pin 22/SCL connected to Adafruit SHTC3 STEMMA QT (SCL)
- Pin 21/SDA connected to Adafruit SHTC3 STEMMA QT (SDA)
Module Ethernet W5500
- INT connected to ESP32 (Pin 25)
- RST connected to ESP32 (Pin EN)
- GND connected to common ground
- SCK connected to ESP32 (Pin 18)
- SS connected to ESP32 (Pin 33)
- MOSI connected to ESP32 (Pin 23)
- MISO connected to ESP32 (Pin 19)
- 3.3V connected to common 3.3V supply
DHT22
-
- connected to common 3.3V supply
- Out connected to ESP32 (Pin 32)
-
- connected to common ground
Adafruit SHTC3 STEMMA QT
- VCC not connected
- 3.3V connected to common 3.3V supply
- GND connected to common ground
- SCL connected to ESP32 (Pin 22/SCL)
- SDA connected to ESP32 (Pin 21/SDA)
ZMPT101B
- OUT connected to ESP32 (Pin VP)
- GND connected to common ground
- VCC connected to ESP32 (Pin 5V/VIN)
- NEUTRO not connected
- FASE not connected
Documented Code
W5500 Ethernet Module Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
No additional code provided for documentation purposes.