Fethi Safak CAKIR
Published

Practical robotic grip arm

This project is a practical robotic arm that is stable, consistent and easy to use without motor shield or sensor shield. It has a low cost

IntermediateFull instructions provided5 hours6,343
Practical robotic grip arm

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×4
9V battery (generic)
9V battery (generic)
×1
Toggle Switch, On-On-On
Toggle Switch, On-On-On
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
robotic arm parts
×1

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver
Collar & Hex Screw, For Weller D550 Soldering Gun
Collar & Hex Screw, For Weller D550 Soldering Gun
nut

Story

Read more

Custom parts and enclosures

3D Printer files

autocad files

robotic_arm pdf file

Schematics

circuit diagrams

Code

Robotic_arm_code_screen

Arduino
[What makes this project remarkable is that] among all the robotic arm projects with joysticks, this is the one with the shortest source code.
#include <Servo.h>

Servo motor1;
Servo motor2;
Servo motor3;
Servo motor4;
int value;
int degree;

void setup() {
  motor1.attach(3);
  motor2.attach(5);
  motor3.attach(6);
  motor4.attach(10);
  
}

void loop() {

  value = analogRead(A0);
  degree = map(value, 0,1023,0,180);
  motor1.write(degree);
 value = analogRead(A1);
  degree = map(value, 0,1023,80,150); // With this part, the angle value of the servo motor must be different from the standard 0-180 since the gripper might touch the ground and unbalance the robotic arm. That's why I limited the angle as 80-150 degrees.
  motor2.write(degree);
  value = analogRead(A2);
  degree = map(value, 0,1023,0,180);
  motor3.write(degree);
  value = analogRead(A4);
  degree = map(value, 0,1023,0,180);
  motor4.write(degree);
}

Credits

Fethi Safak CAKIR
1 project • 1 follower
Contact

Comments

Please log in or sign up to comment.