Robotic Arm With Vacuum Suction Pump

by MertArduino in Circuits > Arduino

6545 Views, 10 Favorites, 0 Comments

Robotic Arm With Vacuum Suction Pump

cover.png

Robotic arm with vacuum suction pump controlled by Arduino. The robotic arm has a steel design and it full assembled. There are 4 servo motors on the robotic arm. There are 3 high torque and high quality servo motors. In this project, how to move the robotic arm with 4 potentiometers using an Arduino is shown. An ON / OFF switch for the air pump and a push button for the solenoid valve were used. Thus, the motor and valve can be manually intervened, which saves you power and current.

Robot Arm Specification

Arduino Robotic Arm with Vacuum Suction Pump | Control with Potentiometer

Robot Arm Kit - https://bit.ly/2UVhUb3

Package:

1* Robot Arm Kit (Assembled)

2* KS-3620 180° Servo

1* KS-3620 270° Servo

1* 90d 9g Servo

1* Air (Vacuum) Pump

1* Solenoid Valve

1* Silicone Tubing Hose

KS3620 Metal Digital Servo:
Voltage: 4.8-6.6V

Speed: 0.16sec/60°(6.6V)

Torque: 15kg/cm(4.8V) 20kg/cm(6.6V)

No-load Current: 80-100mA

Frequency: 500us-2500hz

Air (Vacuum) Pump:
Voltage: DC 5V

No-load Current: 0.35A

Suitable Voltage: DC 4.8V-7.2V

Pressure Range: 400-650mmhg

Maximum Vacuum: > -350mmhg

Weight: 60 grams

Solenoid Valve:
Rated Voltage: DC 6V

Current: 220mA

Suitable Voltage: DC5V-6V

Pressure Range: 0-350mmhg

Weight: 16 grams

Required Hardware

708114.jpg

1* Arduino UNO R3 - http://bit.ly/2xt9MVk

1* Sensor Shield - https://bit.ly/2Xfi92d

4* Potentiometer - http://bit.ly/2GeU4zQ

4* Potentiometer Knob - https://bit.ly/2JNbqEF

1* ON/OFF Switch - https://bit.ly/2RkSv8m

1* Momentary Push Button - https://bit.ly/34i61Pt

1* 6V >2A Power Supply - https://bit.ly/2y07lKu

1* 9V Adapter - http://bit.ly/2QByf2d

1* Waterproof Box - https://bit.ly/3bYm0on

1* Mini Breadboard - http://bit.ly/35cBGRm

1* Silicone Tubing Hose - https://bit.ly/2wkCB6y

1* Power Drill - https://bit.ly/39WOa1r

3 in 1 Jumper Wire - http://bit.ly/2J6de9E

Connections

Connections_png.png

Potentiometers:

Pot 1 - Analog 0

Pot 2 - Analog 1

Pot 3 - Analog 2

Pot 4 - Analog 3

Servo Motors:

Servo 1 - Digital 3 PWM

Servo 2 - Digital 5 PWM

Servo 3 - Digital 6 PWM

Servo 4 - Digital 9 PWM

Source Code

1.png
/*
 Controlling a servo position using a potentiometer (variable resistor)
 http://bit.ly/MertArduino
*/

#include <Servo.h>

// create servo object to control a servo
Servo myservo1;
Servo myservo2;
Servo myservo3;
Servo myservo4;

// analog pin used to connect the potentiometer
int potpin1 = 0;
int potpin2 = 1;
int potpin3 = 2;
int potpin4 = 3;

// variable to read the value from the analog pin
int val1;
int val2;
int val3;
int val4;


void setup() {
  // attaches the servos on digital (PWM) pins to the servo object
  myservo1.attach(3);
  myservo2.attach(5);
  myservo3.attach(6);
  myservo4.attach(9);
}

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

  val2 = analogRead(potpin2);
  val2 = map(val2, 0, 1023, 0, 180);
  myservo2.write(val2);
  delay(15);

  val3 = analogRead(potpin3);
  val3 = map(val3, 0, 1023, 0, 180);
  myservo3.write(val3);
  delay(15);

  val4 = analogRead(potpin4);
  val4 = map(val4, 0, 1023, 0, 180);
  myservo4.write(val4);
  delay(15);
}