Showing posts with label handgesturerecognition. Show all posts
Showing posts with label handgesturerecognition. Show all posts

Tuesday, 27 May 2025

Build a Gesture-Controlled Drone Using ESP32 and MPU6050

 

Ever thought of flying a drone with just your hand gestures? In DIY Gesture Control Drone, we’ll walk you through building a gesture-controlled LiteWing drone using ESP32 and MPU6050. It’s affordable, beginner-friendly, and works using Python and Bluetooth. Whether you're a hobbyist or student, you’ll find the step-by-step tutorial easy to follow and fun to build

Hand Gesture Control esp32 mpu6050

Components Required for Drone Gesture Control Project

  • LiteWing Drone with battery 
  • VLX5311x ToF Sensor For height hold 
  • ESP32 dev module and mpu6050 for gesture control 
  • A computer with python installed
Features of Gesture Control Drone DIY Project 
  • Gesture Control
  • Wireless Communication
  • Stable Flying
  • Compact and Lightweight
Gesture CFLib python Litewing


How Gesture Control Works?
Gesture control refers to using, hand movements to operate devices without  physical contact. An MPU6050 sensor detects the tilt and motion of your hand, which is processed by an ESP32 microcontroller. These movements are then sent via Bluetooth, allowing you to fly the drone without a traditional remote. you can get full dettails on our tutorial on ESP32 Air Mouse.

For the complete tutorial, schematics and python code : DIY Gesture Control Drone using Python with LiteWing and ESP32

Tuesday, 13 May 2025

Hand Gesture Controlled LEDs with ESP32 and Python

Hand Gesture Controlled LEDs with ESP32 and Python

This project demonstrates how to control LEDs using hand gestures by integrating an ESP32 microcontroller with Python-based computer vision libraries. Utilizing OpenCV and MediaPipe, the system captures hand gestures via a webcam and translates them into commands sent to the ESP32 over Wi-Fi. The ESP32 then controls LEDs connected to its GPIO pins based on these commands.

Components Required
  • ESP32 Board
  • 5 LEDs (representing Thumb, Index, Middle, Ring, Pinky)
  • 5 Resistors (220Ω each)
  • Breadboard and Jumper Wires
  • Webcam
  • Computer with Python Installed
Circuit Setup for ESP32 Hand Gesture Project
Circuit Diagram of Hand Gesture Controlled LEDs with ESP32 and Python


Each LED is connected to a specific GPIO pin on the ESP32 (e.g., GPIO14, GPIO27, GPIO26, GPIO25, GPIO33). A 220Ω resistor is placed in series with each LED to limit current. The anode of each LED connects to the GPIO pin, and the cathode connects to the ground.


Python Script for Gesture Detection

On the computer, a Python script uses OpenCV to capture video from the webcam and MediaPipe to detect hand landmarks. It determines which fingers are raised and sends corresponding HTTP requests to the ESP32 to control the LEDs. For instance, raising the index finger sends a request to /led/index/on. If all fingers are lowered, a special command can be sent to perform a predefined action, such as turning off all LEDs.

In practice, this system allows for intuitive control of LEDs through simple hand gestures. Raising a specific finger turns on the corresponding LED, while lowering it turns the LED off. This real-time interaction demonstrates the seamless integration of computer vision and microcontroller-based hardware control. The project serves as a foundational example for more complex gesture-controlled applications, such as home automation or robotic control systems.

ESP32 Hand Gesture Project - Working Demo

ESP32 Hand Gesture Project - Working Demo

Thursday, 1 February 2024

How to build an Arduino based Gesture Controlled Robot?



Create a captivating hand gesture-controlled robot with this complete guide using Arduino, MPU6050 Accelerometer, nRF24L01 Transmitter-Receiver Pair, and L293D motor driver module. The project splits into two parts: Transmitter (Arduino Uno, MPU6050, nRF24L01) and Receiver (Arduino Uno, nRF24L01, DC motors, L293D motor driver). Learn how the MPU6050 translates hand gestures into electrical signals, facilitated by the nRF24L01 for seamless wireless communication. 



Required components include Arduino Uno, Nano, NRF24L01, MPU6050, 2WD Acrylic Chassis kit, L298N Motor Driver Module, and a 7.4V Li-ion battery. Understand the MPU6050 sensor module's capabilities in measuring acceleration and rotation, while the NRF24L01 Transceiver Module ensures efficient wireless communication.