Nawres ArifMohammed Hassanoday abduljaleelAli Abdulaleem
Published © Apache-2.0

Robot Gripper

solid plastic servo operated robot gripper.

IntermediateFull instructions provided27,470
Robot Gripper

Things used in this project

Hardware components

8mm plastic sheet
×1
4mm plastic sheet
×1
Servos (Tower Pro MG996R)
×1
10K potentiometer
×1
Arduino UNO
Arduino UNO
×1
bolts and nuts
×1

Hand tools and fabrication machines

CNC machine

Story

Read more

Custom parts and enclosures

8mm griper fingurs

4mm griper body

Schematics

servo knob

ordinary servo knob configuration

Code

Servo knob

C/C++
servo knob sketch from arduino IDE examples
/* 
 Controlling a servo position using a potentiometer (variable resistor) 
 by Michal Rinott <http://people.interaction-ivrea.it/m.rinott> 

 modified on 8 Nov 2013
 by Scott Fitzgerald
 http://arduino.cc/en/Tutorial/Knob
*/

#include <Servo.h>

Servo myservo;  // create servo object to control a servo

int potpin = 0;  // analog pin used to connect the potentiometer
int val;    // variable to read the value from the analog pin

void setup()
{
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}

void loop() 
{ 
  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023) 
  val = map(val, 0, 1023, 0, 180);     // scale it to use it with the servo (value between 0 and 180) 
  myservo.write(val);                  // sets the servo position according to the scaled value 
  delay(15);                           // waits for the servo to get there 
} 

Credits

Nawres Arif

Nawres Arif

3 projects • 21 followers
Science Camp (the Iraqi maker space) founder Occupation: Pharmacist
Mohammed Hassan

Mohammed Hassan

3 projects • 14 followers
Electrical engineer and maker, Science camp(Iraqi maker space) co-founder, interested in Following up with new tech and entrepreneurship
oday abduljaleel

oday abduljaleel

1 project • 8 followers
science camp co-founder
Ali Abdulaleem

Ali Abdulaleem

1 project • 7 followers
I am entrepreneur, try to build my start up in plastic industry but in DIY manner.so I joined the science camp (Iraqi maker space) to meet DIY people.

Comments