MSegimon / Robotic_Hand

A cheap and easy to make robotic hand

Home Page:http://zerosimple.net/projects/hand_project/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robotic Hand (Personal Project)

My goal for this project is to design and create a robotic arm in order to teach kids about robotics and the maker world.

Parts Needed For This Project(these are the parts that I used, you might find them cheaper somewhere else):

And here's some code! 👍

#include <Servo.h>

Servo thumb, fingers;

int analogpin = 3;
int val = 0;
  void setup()
  {
    fingers.attach(9);  //Attach the servo for the four fingers to pin9
    thumb.attach(8);   // Attach the servo for the thumb to pin 8
    Serial.begin(9600);  // this is for serial monitor to see the muscle sensor value you're getting
  }
  void loop()
{
  val = analogRead(analogpin); //muscle sensor connected to pin A3 being stated as val
  Serial.println(val);
  if( val < 100) //if you flex and the sensor value is greater than 100 then close servos--adjust this value to your muscle sensor value
  {
    thumb.write(180);
    fingers.write(180);
    delay(100);
  }
else{
    thumb.write(0);
    fingers.write(0);
    delay(100);
  }
}

Programs Needed For This Project:

  • Ardiuno To program the Arduino board

About

A cheap and easy to make robotic hand

http://zerosimple.net/projects/hand_project/

License:MIT License


Languages

Language:C++ 100.0%