This is the official repository for the omni directional hand gesture robot project at IvLabs, VNIT Nagpur.
The objectives of the summer internship were to create a omni directional robot which move in all 8 direction using transmitter receiver with hand gesture.
Connected an MPU6050 to an ESP32 as the following connection. The MPU6050 is an inertial measurement unit(IMU) that is a combination of gyroscope and accelerometer in all 6 dimension, which can detect the orientation, motion, and acceleration of the hand and give its value of each change to ESP32.
(vii) Forward-right motion (viii) Backward-right motion (ix) Forward-left motion (x) Backward-left motion
-
Purpose : To control the speed of the motors driving the Mecanum wheels, we employed Pulse Width Modulation (PWM). This technique allows us to simulate varying levels of voltage by rapidly switching a digital signal between high (on) and low (off) states.
-
How PWM Pins Works :
- The PWM signals are sent to the L298N motor driver through its enable pins (ENA and ENB). By adjusting these signals, we can finely control the speed of each motor based on user gestures.
-
Procedure :
- Used the ESP32 PWM pins to generate Pulse Width Modulation (PWM) signals for the L298N motor driver.
- Maped gesture intensities to speed levels (e.g., tilt angle to PWM duty cycle).
- Ensure smooth acceleration and deceleration by fine-tuning the PWM signals.
-
Outcome : Enables precise control of motor speeds, ensuring the robot moves efficiently and responsively.
-
Procedure:
Link to extensive breakdown of project: https://hackmd.io/@r-D0tnDWS9yZpWf3XtGu4g/S1byF9wJJx