AI + IoT + GSM

AI-Based Reptile Detection & Smart Alert System

A real-time residential safety prototype that uses a camera and YOLO-based computer vision to detect snakes and automatically trigger an ESP32, audible/visual alarms, SMS notification and phone call through SIM900A.

YOLOOpenCVESP32SIM900A
SYSTEM ARCHITECTURE
๐Ÿ“ท Camera
โ†“
๐Ÿง  YOLO AI
โ†“
โš™๏ธ ESP32
๐Ÿ”Š Buzzer ๐Ÿ”ด LED ๐Ÿ“ก GSM
01 ยท ABOUT

Why this project?

Snakes can enter homes and residential areas without warning. This project combines computer vision and embedded hardware to provide an automatic detection and alert mechanism.

Instead of relying only on manual observation or conventional sensors, the camera continuously monitors the scene while the trained YOLO model identifies a snake in the video.

01

Real-time AI

Continuous camera-based snake detection.

02

Automatic Alarm

ESP32 controls an external buzzer and LED.

03

Remote Alert

SIM900A provides SMS and phone-call notification.

04

Low-cost Prototype

Combines commonly available embedded components.

02 ยท WORKFLOW

How the system works

01๐Ÿ“ท

Camera

USB camera captures the monitored area.

โ†’
02๐Ÿง 

YOLO

Python and YOLO analyze the video for a snake.

โ†’
03๐Ÿ”Œ

USB Serial

Confirmed detection sends a command to ESP32.

โ†’
04โš™๏ธ

ESP32

Microcontroller coordinates local and GSM alerts.

Snake confirmed
โ†“
SNAKE command
โ†“
ESP32
โ†™ โ†“ โ†˜
๐Ÿ”Š Buzzer
๐Ÿ”ด LED
๐Ÿ“ก SIM900A
SMSPhone Call
03 ยท HARDWARE

Hardware components

๐Ÿ“ท

USB Camera

Captures real-time video for the AI detection stage.

โš™๏ธ

ESP32

Receives detection commands and controls the alert hardware.

๐Ÿ“ก

SIM900A

Provides GSM-based SMS and phone-call alerts.

๐Ÿ”Š

External Buzzer

Provides an audible warning when an alert is activated.

๐Ÿ”ด

LED

Provides a visible local warning indication.

๐Ÿ”‹

Power & Wiring

Suitable regulated supplies, jumper wires and connections.

Prototype signal connections

ESP32 GPIO12โ†’ External Buzzer
ESP32 GPIO14โ†’ LED (through resistor)
ESP32 GPIO16โ† SIM900A TX
ESP32 GPIO17โ†’ SIM900A RX
ESP32 GNDโ†” Common GSM ground
04 ยท SOFTWARE

Software stack

PythonApplication and detection control
Ultralytics YOLOSnake object detection
OpenCVCamera/video processing
ESP32 Arduino FrameworkEmbedded control and GSM interface
PlatformIOESP32 development and firmware upload
Serial CommunicationPython โ†” ESP32 command channel
05 ยท ALERT LOGIC

From detection to notification

1

Detect

YOLO identifies a snake above the configured confidence threshold.

2

Confirm

Consecutive detections reduce the chance of reacting to a single false frame.

3

Trigger

Python sends SNAKE to the ESP32 through USB serial.

4

Warn

ESP32 activates the external buzzer and LED.

5

Notify

SIM900A sends an SMS and initiates a phone call.

6

Reset

After the configured safe period, the system sends SAFE and disables the local alarm.

DEMO STATUS

Prototype dashboard

This is a presentation interface. It does not claim to be a live connection to the prototype.

AI DetectionConfigured
ESP32Configured
GSM AlertConfigured
06 ยท FUTURE SCOPE

Where the project can go next

๐Ÿ“ฑ Mobile AppRemote notifications and monitoring.
โ˜๏ธ Cloud DashboardStore events and detection history.
๐Ÿ“น Multiple CamerasMonitor multiple residential zones.
๐ŸŒ™ Night DetectionImprove monitoring in low-light environments.
๐Ÿ“ Location AlertsInclude monitored-zone information in notifications.
๐Ÿค– Edge AIMove more of the detection pipeline to embedded hardware.
SCAN & SHARE

Project information at a glance

Once this site is hosted online, point your exhibition QR code to this website so judges can scan it and view the complete project.

QR
Replace with the hosted-site QR code