Project tutorial
Gesture Controlled Robotic Hand

Gesture Controlled Robotic Hand © GPL3+

A robotic hand which mimics the gesture made by our hand.

  • 1,161 views
  • 0 comments
  • 7 respects

Components and supplies

Apps and online services

About this project

The gesture control robotic hand was my mini project in college. The robotic hand copies or mimic the gesture which my controlling arm does. It's a simple project which anyone can replicate with simple knowledge in electronics and basic programming.

Components

  • Arudino Uno
  • Flex sensor (2.2") x5
  • Servo motor x5
  • 9v 1A adapter
  • Robotic hand (can be bought online or me 3d printed

Robotic Hand

Two hand were made for this project. One for testing and one for final implementation. The wooden was hand crafted which was used for testing. After testing the wooden hand, the joint resistance was high so for that we ordered an robotic hand made of plastic.

Circuit

Each finger is controlled with help of individual servo motor. Servo motor gets it's signal from Arduino which determines the position of the motor. Flex sensor is used as input to the Arduino which gives the position of the bend finger the user does. The flex sensor are mounted on the gloves which user can wear.

Images and video

Code

Robotic armArduino
#include <Servo.h> //Includes servo library

Servo finger1, finger2, finger3, finger4, finger5;

int servoPin1 = 5;
int servoPin2 = 6;
int servoPin3 = 9;
int servoPin4 = 10;
int servoPin5 = 3;

int flexPin1 = A0;
int flexPin2 = A1;
int flexPin3 = A2;
int flexPin4 = A3;
int flexPin5 = A4;

void setup()
{
  //Attach the servo objects to their respective pins
  finger1.attach(servoPin1);
  finger2.attach(servoPin2);
  finger3.attach(servoPin3);
  finger4.attach(servoPin4);
  finger5.attach(servoPin5);
  
  /* set each servo pin to output; I'm not acutally sure if this is
  even necessary, but I did just in case it is */
  pinMode(servoPin1, OUTPUT);
  pinMode(servoPin2, OUTPUT);
  pinMode(servoPin3, OUTPUT);
  pinMode(servoPin4, OUTPUT);
  pinMode(servoPin5, OUTPUT);
  
  //Set each flex sensor pin to input: this is necessary
  pinMode(flexPin1, INPUT);
  pinMode(flexPin2, INPUT);
  pinMode(flexPin3, INPUT);
  pinMode(flexPin4, INPUT);
  pinMode(flexPin5, INPUT);
  
  
}

void loop()
{
  //Defines analog input variables
  int flex1 = analogRead(flexPin1);
  int flex2 = analogRead(flexPin2);
  int flex3 = analogRead(flexPin3);
  int flex4 = analogRead(flexPin4);
  int flex5 = analogRead(flexPin5);
  
  /* Defines "pos" variables as being proportional to the flex inputs.
  The 400 to 700 value range seemed adequate for my sensors, but you can change
  yours accordingly. */
  int pos1 = map(flex1, 400, 700, 0, 180);
  pos1 = constrain(pos1, 0, 180);
  int pos2 = map(flex2, 400, 700, 0, 180);
  pos2 = constrain(pos2, 0, 180);
  int pos3 = map(flex3, 400, 700, 0, 180);
  pos3 = constrain(pos3, 0, 180);
  int pos4 = map(flex4, 480, 640, 0, 180);
  pos4 = constrain(pos4, 0, 180);
  int pos5 = map(flex5, 400, 700, 0, 180);
  pos5 = constrain(pos5, 0, 180);
  
  //Tells servos to move by the amount specified in the "pos" variables
  finger1.write(pos1);
  finger2.write(pos2);
  finger3.write(pos3);
  finger4.write(pos4);
  finger5.write(pos5);
}

Schematics

Robotic arm circuit
Roboticarm circuit qujv4lbokh

Comments

Similar projects you might like

Hand Motion-Controlled Robotic Arm

Project tutorial by Ashwini kumar sinha

  • 2,325 views
  • 0 comments
  • 6 respects

Hand Gesture Controlled Robot

Project tutorial by Mayoogh Girish

  • 60,467 views
  • 79 comments
  • 74 respects

How to Make a Remote Controlled Robotic Hand with Arduino

Project showcase by Gabry295

  • 35,362 views
  • 5 comments
  • 110 respects

Gesture Controlled Robotic Arm Using Kinect & Arduino

Project showcase by Avinash Baranitharan and Karthikeyan

  • 8,770 views
  • 0 comments
  • 29 respects

Unlock Your Door With a Hand Gesture

Project tutorial by AdhamN

  • 1,551 views
  • 0 comments
  • 5 respects

Robotic Hand with Wireless Glove Controlled | Arduino

Project showcase by MertArduino

  • 13,116 views
  • 3 comments
  • 88 respects
Add projectSign up / Login