Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Smart Energy Monitoring and Control System with GSM Reporting

Image of ESP32-Based Smart Energy Monitoring and Control System with GSM Reporting

Circuit Documentation

Summary

The circuit in question appears to be a monitoring and control system that utilizes an ESP32 microcontroller as the central processing unit. The system is capable of measuring voltage and current, displaying data on an LCD I2C display, and controlling devices via a relay module. It also includes a SIM800L module for cellular communication, a buzzer for audible alerts, and a buck converter for voltage regulation. The circuit is designed to interface with AC power and control an AC load, such as a bulb.

Component List

ESP32 (30 pin)

  • A microcontroller with WiFi and Bluetooth capabilities, featuring a variety of digital and analog pins.

Voltage Sensor

  • A module for measuring voltage in a circuit.

ZMCT103C CURRENT SENSOR

  • A current transformer used to measure AC current.

SIM800L

  • A GSM/GPRS module that allows cellular communication.

Buck Converter

  • A DC-DC converter that steps down voltage to a lower level.

Relay Module 5V-30V

  • An electrically operated switch that allows control of a high voltage/current circuit by a low voltage signal.

Buzzer

  • An audio signaling device.

LCD I2C Display

  • A liquid crystal display that uses the I2C protocol for communication.

BC547

  • An NPN bipolar junction transistor used for amplification and switching.

Resistor (1k Ohm)

  • A passive component used to limit current or divide voltages.

Resistor (10k Ohm)

  • Another passive component with a higher resistance value.

AC Wire

  • A wire used to carry alternating current.

9W-10W Bulb

  • An AC load, typically used for lighting.

Wiring Details

ESP32 (30 pin)

  • D34 connected to Voltage Sensor Out
  • D35 connected to ZMCT103C CURRENT SENSOR ANALOG SIGNAL
  • GND connected to common ground net
  • Vin connected to common Vcc net
  • D22 connected to LCD I2C Display SCL
  • D21 connected to LCD I2C Display SDA
  • D5 connected to one end of a 1k Ohm Resistor
  • D4 connected to Buzzer PIN

Voltage Sensor

  • Out connected to ESP32 D34
  • Gnd connected to common ground net
  • Vcc connected to common Vcc net

ZMCT103C CURRENT SENSOR

  • ANALOG SIGNAL connected to ESP32 D35
  • GND connected to common ground net
  • VCC 5V connected to common Vcc net

SIM800L

  • VCC connected to Buck Converter OUT+
  • GND connected to Buck Converter OUT-

Buck Converter

  • IN+ connected to common Vcc net
  • IN- connected to common ground net
  • OUT+ connected to SIM800L VCC
  • OUT- connected to SIM800L GND

Relay Module 5V-30V

  • V- connected to common ground net
  • V+ connected to common Vcc net
  • trigger connected to one end of a 10k Ohm Resistor

Buzzer

  • PIN connected to ESP32 D4
  • GND connected to common ground net

LCD I2C Display

  • GND connected to common ground net
  • VCC connected to common Vcc net
  • SDA connected to ESP32 D21
  • SCL connected to ESP32 D22

BC547

  • Emitter connected to common ground net
  • Base connected to one end of a 1k Ohm Resistor
  • Collector connected to one end of a 10k Ohm Resistor

Resistor (1k Ohm)

  • One end connected to ESP32 D5
  • The other end connected to BC547 Base

Resistor (10k Ohm)

  • One end connected to common Vcc net
  • The other end connected to Relay Module trigger and BC547 Collector

AC Wire

  • GND connected to 9W-10W Bulb -VE
  • Phase connected to 9W-10W Bulb +VE

9W-10W Bulb

  • +VE connected to AC Wire Phase
  • -VE connected to AC Wire GND

Documented Code

No code was provided for the microcontroller or any other programmable components in the circuit. If code is available, it should be documented here with explanations for each function and routine, including setup and loop functions, interrupt service routines, and any communication protocol implementations.