Ramya-120 GitHub avatar

ai-smart-electrical-protection-monitoring

Ramya-120

An ESP32-based system that monitors voltage and current, uses AI logic to classify electrical faults (overload, short circuit, undervoltage), and automatically triggers relay disconnection and buzzer alarm while supporting IoT cloud monitoring and predictive maintenance.

Stars

7

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

This repository demonstrates a practical integration of AI-based fault classification on a low-cost ESP32 platform, combining real-time electrical protection with IoT connectivity for remote monitoring and predictive maintenance, all in an open-source academic project.

Who it is for

  • Electrical engineering students seeking hands-on embedded AI projects
  • Hobbyists and makers interested in smart home or industrial IoT protection systems
  • Engineers exploring low-cost predictive maintenance solutions
  • Educators teaching embedded systems, IoT, or power quality monitoring

Use cases

  • Real-time fault detection and automatic load disconnection in home electrical panels
  • Remote monitoring of electrical parameters in industrial environments via cloud
  • Educational demonstration of AI-based classification on microcontroller
  • Prototyping predictive maintenance systems using electrical trend data

Strengths

  • Uses AI classification (simple logic) on ESP32 for three distinct fault types without external servers
  • Provides both local audible/relay protection and cloud-based IoT monitoring
  • Clear pin configuration and system workflow make it easy to replicate or modify
  • Leverages Wokwi simulation for testing before hardware deployment

Considerations

  • The AI classification appears to be rule-based rather than trained machine learning, limiting adaptability to complex fault patterns
  • No indication of real-world validation, calibration accuracy, or transient fault handling
  • Lacks details on cloud platform integration (e.g., specific protocol or dashboard) and predictive maintenance algorithm maturity

README quick start

An ESP32-based AI-driven electrical protection system that monitors voltage and current, classifies electrical faults,provides relay and buzzer-based protection, and supports IoT-based monitoring and predictive maintenance.

AI-Driven Smart Electrical Protection and Power Quality Monitoring System

Project Overview

The AI-Driven Smart Electrical Protection and Power Quality Monitoring System is an intelligent embedded system designed to continuously monitor electrical parameters and detect abnormal operating conditions.

The system uses an ESP32 microcontroller to process voltage and current data. AI-based classification logic is used to identify conditions such as normal operation, overload, short circuit, and undervoltage. When a fault is detected, the system automatically disconnects the load using a relay and activates a buzzer alarm.

The system can also be integrated with IoT cloud platforms for remote monitoring and predictive maintenance.

Objectives

  • Monitor voltage and current in real time.
  • Detect abnormal electrical conditions.
  • Classify electrical faults using AI-based logic.
  • Protect the load using an automatic relay.
  • Provide an audible buzzer alarm during fault conditions.
  • Support IoT-based cloud monitoring.
  • Enable predictive maintenance through electrical parameter trends.

System Components

  • ESP32 Microcontroller
  • ACS712 Current Sensor
  • ZMPT101B Voltage Sensor
  • Relay Module
  • Buzzer
  • Power Supply
  • Potentiometers for Wokwi Simulation
  • IoT Cloud Platform

System Working

  1. The voltage and current sensors measure electrical parameters.
  2. The ESP32 reads the sensor outputs through its ADC pins.
  3. The measured values are converted into voltage and current values.
  4. The system classifies the operating condition.
  5. If a fault is detected, the relay disconnects the load.
  6. The buzzer provides an audible fault alert.
  7. The electrical data can be transmitted to the cloud for monitoring.

Fault Classification

Condition Normal | Relay ON, Buzzer OFF Overload | Relay OFF, Buzzer ON Short Circuit | Relay OFF, Buzzer ON Undervoltage | Relay OFF, Buzzer ON

Pin Configuration

ESP32 Pin

Current Sensor GPIO 34 Voltage Sensor GPIO 35 Relay GPIO 26 Buzzer GPIO 25

Technologies Used

  • Embedded C
  • ESP32
  • Artificial Intelligence
  • Machine Learning Concepts
  • Internet of Things
  • Power Quality Monitor

Description

An ESP32-based AI-driven electrical protection system that monitors voltage and current, classifies electrical faults, provides relay and buzzer-based protection, and supports IoT-based monitoring and predictive maintenance.5https://github.com/Ramya-120/ai-smart-electrical-protection-monitoring

Related repositories

Similar projects matched by category, topics, and programming language.

slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
deerwork-ai
Featured
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI & Machine LearningLarge Language Models
312
MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348