Skip to content
L

Lock Shield

Detect. Defend. Protect. Before break-In Happens

Created on 14th June 2026

•

L

Lock Shield

Detect. Defend. Protect. Before break-In Happens

The problem Lock Shield solves

DESCRIPTION
LockShield is an AI-powered smart security system designed to detect, defend, and protect before a break-in occurs.

Unlike traditional CCTV systems that only record incidents after they happen, LockShield proactively identifies suspicious activity through vibration pattern analysis and responds based on the detected threat level.

The system continuously monitors door disturbances using a vibration sensor connected to an ESP32 microcontroller. When abnormal vibration patterns are detected, an ESP32-CAM captures real-time images of the area as visual evidence.

The captured images are securely processed and analyzed using Google Gemini AI, which generates contextual insights about the situation. Based on the vibration intensity and AI analysis, the system classifies the event into different threat levels and immediately notifies the owner through Telegram alerts containing the threat level, captured evidence, and AI-generated assessment.

For low-level threats, LockShield provides early warnings and situational awareness. For high-risk intrusion attempts, the system automatically activates protective measures including door locking, buzzer alerts, and high-priority emergency notifications, helping prevent unauthorized access before a break-in can occur.

HOW LOCKSHIELD WORKS
Vibration patterns near the door are continuously monitored.
Suspicious disturbances are classified into multiple threat levels.
ESP32-CAM captures real-time images as evidence.
Images are analyzed using Google Gemini AI.
The system generates a threat assessment based on sensor data and AI insights.
Telegram alerts are sent to the owner with evidence and risk level.
For high-risk threats, the system automatically:
Locks the door
Activates a buzzer
Sends emergency notifications

KEY FEATURES
• Multi-Level Threat Detection using vibration pattern analysis
• ESP32 & ESP32-CAM Based Architecture
• Real-Time Image Capture and evidence collection
• AI-Powered Scene Analysis using Google Gemini
• Instant Telegram Alerts with threat assessment and evidence
• Automatic Door Locking during high-risk intrusion attempts
• Audible Alarm Activation for intrusion deterrence
• Low-Cost, Scalable, and Smart-Home Ready Design

IMPACT
LockShield transforms passive surveillance into proactive protection by detecting threats early, analyzing risks using AI, collecting evidence in real time, and taking immediate defensive action before unauthorized entry occurs.

WHY LOCKSHIELD?
Most security systems react after a break-in. LockShield acts before one happens.
By combining IoT, Computer Vision, Artificial Intelligence, and Real-Time Threat Response, LockShield provides an intelligent security solution that not only monitors intrusions but actively works to prevent them.

Challenges we ran into

Challenges I Ran Into
1. ESP32-CAM Integration

Integrating the ESP32-CAM with the main ESP32 controller was challenging due to communication and image transfer issues. Initially, image capture and transmission were inconsistent.

Solution:
We optimized the communication flow between the ESP32 and ESP32-CAM, verified pin configurations, and tested image transmission step-by-step until reliable image capture and transfer were achieved.

2. Gemini API Integration

Connecting the project with Gemini AI required proper API configuration and secure handling of API keys. During development, we encountered issues with API setup and response handling.

Solution:
We validated API requests, corrected authentication issues, and implemented proper backend integration using Python and Flask to ensure successful image analysis and response generation.

3. ESP32 Overheating and Stability

During continuous testing, the ESP32 experienced overheating and occasional instability due to prolonged operation and repeated communication requests.

Solution:
We optimized the execution flow, reduced unnecessary processing, introduced controlled delays where required, and improved power management to maintain stable operation throughout testing.

Tracks Applied (2)

Gemini

LockShield leverages Google Gemini AI to transform captured images into actionable security insights. When suspicious a...Read More
Major League Hacking

Major League Hacking

IoT and Embedded System

LockShield fits into the IoT and Embedded Systems track by combining ESP32, ESP32-CAM, vibration sensors, and real-time ...Read More

HackPrix

Discussion

Builders also viewed

See more projects on Devfolio