Skip to content

Gesture-Based Smart Dashboard using MPU6050 + Arduino Control fan, lights, buzzer, and door lock system using real-time gesture recognition simulated on Wokwi with MPU6050 and Arduino UNO.

Notifications You must be signed in to change notification settings

HarsDev01/Gesture-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– Gesture-Based Smart Dashboard (Arduino + MPU6050 + Wokwi)

An advanced gesture recognition project using the MPU6050 accelerometer to control multiple virtual devices like fans, lights, alarms, and doors โ€” all simulated entirely on Wokwi.

๐Ÿš€ Features

  • ๐Ÿงญ Detect Left, Right, Up, Down, and Shake gestures
  • ๐Ÿ’ก Turn fan/light ON/OFF with specific tilt directions
  • ๐Ÿšช Unlock door by holding device still + password gesture pattern (e.g., Left โ†’ Up โ†’ Right)
  • ๐Ÿ”” Trigger emergency alarm on shake (buzzer)
  • ๐Ÿงช Fully testable in the Wokwi simulator (no hardware required)

๐Ÿ›  Tech Stack

  • Arduino UNO
  • MPU6050 (Accelerometer + Gyroscope)
  • Wokwi Online Simulator
  • LEDs + Buzzer
  • Embedded C (Arduino IDE)

๐ŸŽฎ Gesture Mapping

Gesture Action Triggered
Tilt Left Fan ON (Red LED)
Tilt Right Fan OFF
Tilt Up Room Light ON (Yellow)
Tilt Down Room Light OFF
Shake Emergency Alarm (Buzzer)
Hold still 2s Check password pattern
Pattern: LUR Unlock Door (Green LED)

๐Ÿง  Smart Motion Pattern

A predefined motion pattern like LUR (Left โ†’ Up โ†’ Right) unlocks the door after 2s of no motion.

๐Ÿงช How to Run in Wokwi

  1. Visit: https://wokwi.com
  2. Create new Arduino project
  3. Replace code with main.ino
  4. Paste wokwi.json into the project
  5. Click Start Simulation
  6. Use MPU6050 controls to simulate gestures

๐Ÿ–ผ Circuit Preview

Wokwi circuit includes:

  • Arduino UNO
  • MPU6050 via I2C
  • 3 LEDs (Fan, Light, Door)
  • 1 Buzzer (Alarm)
Screenshot 2025-06-14 at 4 07 24โ€ฏPM

About

Gesture-Based Smart Dashboard using MPU6050 + Arduino Control fan, lights, buzzer, and door lock system using real-time gesture recognition simulated on Wokwi with MPU6050 and Arduino UNO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages