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

ESP32-Based Smart Power Monitoring System with Wi-Fi Connectivity

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Power Monitoring System with Wi-Fi Connectivity

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a 240V power source, various sensors, an ESP32 microcontroller, LEDs, a piezo buzzer, and resistors. The circuit is designed to monitor current and voltage, and it includes visual and auditory indicators.

Component List

  1. 240V Power Source

    • Pins: Live, Neutral
    • Description: Provides the main power supply for the circuit.
  2. ZMPT101B

    • Pins: OUT, GND, VCC, NEUTRO, FASE
    • Description: Voltage sensor module for measuring AC voltage.
  3. 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: Microcontroller with Wi-Fi and Bluetooth capabilities.
  4. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: Red LED for visual indication.
  5. LED: Two Pin (green)

    • Pins: cathode, anode
    • Description: Green LED for visual indication.
  6. Piezo Buzzer

    • Pins: pin 1, pin 2
    • Description: Buzzer for auditory indication.
  7. Resistor (200 Ohms)

    • Pins: pin1, pin2
    • Description: Resistor to limit current.
  8. Current Sensor 5A

    • Pins: 1, 2, GND, OUT, VCC
    • Description: Sensor for measuring current up to 5A.

Wiring Details

240V Power Source

ZMPT101B

ESP32

LED: Two Pin (red)

LED: Two Pin (green)

Piezo Buzzer

Resistor (200 Ohms)

Current Sensor 5A

Code Documentation

ESP32 Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the ESP32 microcontroller. The setup function is called once when the microcontroller starts, and the loop function runs continuously. You can add your specific logic and functionality within these functions.