Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Smart Energy Monitoring and Control System

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Energy Monitoring and Control System

Circuit Documentation

Summary

This circuit is designed to monitor AC current and voltage, control power to AC loads via a relay module, and display information on an LCD. It includes a microcontroller (ESP32 Devkit V1) for processing and control, current and voltage sensors (ZMCT103C and ZMPT101B), a DC power supply with a step-down converter (XL4015), and a user interface consisting of an LCD display and a push switch. The circuit is powered by a 12V 5A power supply, which is stepped down to 5V for the low-voltage components. The ESP32 reads analog signals from the sensors and controls the relay module based on the program logic, which is not provided in the code input.

Component List

Wiring Details

ZMCT103C CURRENT SENSOR

ZMPT101B

XL4015 5A DC Buck Step-down

POWER SUPPLY 12V 5AMP

AC wall plug point

4 channel relay module

LCD I2C Display

2Pin Push Switch

ESP32 Devkit V1

Documented Code

The code for the ESP32 Devkit V1 microcontroller is not provided in the input. However, the expected functionality would include reading analog signals from the current and voltage sensors, controlling the relay module based on sensor readings or other logic, and displaying information on the LCD display. The code would also handle the push switch input for reset or other user interactions.

Without the actual code, we cannot provide a detailed documentation of the software part of the circuit. The code would typically be written in C or C++ using the Arduino IDE or the ESP-IDF framework and would include functions for initializing the hardware peripherals, reading sensor data, controlling the relays, and updating the display.