INTRO
Hello guys. Welcome to my channel in this video we are going to rotate a servo motor using hand gestures with the help of Python and of course Arduino. Using computer vision to track our finger movement, we send data to our Arduino to cause the motor to turn at an angle of 180 degrees. By tracking, the servo will only turn if the index finger is raised and the others are kept closed. This can be implemented in many projects with multiple servos but in this case, we stick to one servo.
SERVO MOTORServo is a type of geared motor that can only rotate 180 degrees. It is controlled by sending electrical pulses from your Arduino board. These pulses tell the servo what position it should move to. The Servo has three wires, of which the brown one is the ground wire and should be connected to the GND port of Arduino, the red one is the power wire and should be connected to the 5v port, and the orange one is the signal wire and should be connected to the Dig #9 port
So basically after python tracks the hand/ finger gestures using computer vision, and if our desired hand gestured in made, the servo receives 180 as an input from python and placed in the "servo.write" expression to turn it.
Comments