Arduino-Projects
Published © GPL3+

Animatronic Hand

A Cool Hand which can mimic the gestures of a Human hand.

IntermediateShowcase (no instructions)828
Animatronic Hand

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×5
Breadboard (generic)
Breadboard (generic)
×1
Servo (generic)
×1
Cable Ties (10 Pack)
OpenBuilds Cable Ties (10 Pack)
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Arduino Nano R3
Arduino Nano R3
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
Digilent Screwdriver
Digilent Screwdriver

Story

Read more

Schematics

Animatronic Hand Circuit Diagram

Screenshot (60) jbnj625tkx

Code

Animatronic Hand Source code

Arduino
#include <Servo.h>

Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
Servo servo5;


int pot1 = 3;
int pot2 = 4;
int pot3 = 5;
int pot4 = 6;
int pot5 = 7;



int valPot1;
int valPot2;
int valPot3;
int valPot4;
int valPot5;


void setup()
{
  servo1.attach(A0);
  servo2.attach(A1);
  servo3.attach(A2);
  servo4.attach(A3);
  servo5.attach(A4);
}

void loop()
{
  valPot1 = analogRead(pot1);
  valPot1 = map (valPot1, 0, 1023, 180, 0);
  servo1.write(valPot1);
  delay(15);

  valPot2 = analogRead(pot2);
  valPot2 = map (valPot2, 0, 1023, 180, 0);
  servo2.write(valPot2);
  delay(15);

  valPot3 = analogRead(pot3);
  valPot3 = map (valPot3, 0, 1023, 180, 0);
  servo3.write(valPot3);
  delay(15);

  valPot4 = analogRead(pot4);
  valPot4 = map (valPot4, 0, 1023, 180, 0);
  servo4.write(valPot4);
  delay(15);

  valPot5 = analogRead(pot5);
  valPot5 = map (valPot5, 0, 1023, 180, 0);
  servo5.write(valPot5);
  delay(15);
  }

Credits

Arduino-Projects

Arduino-Projects

3 projects • 2 followers
Contact

Comments

Add projectSign up / Login