akk47
Published © Apache-2.0

Robotic arm 2 axeled

Robotic arms are having wide use in industries so I decided to make 1 for me using servo motors and potentiometers.

AdvancedFull instructions provided579
Robotic arm 2 axeled

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Solderless Breadboard Full Size
Solderless Breadboard Full Size
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×2
SG90 Micro-servo motor
SG90 Micro-servo motor
×2

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

Scheamatics for arduino 2 axeled robotic arm

Its for this awesome project.

Code

Robotic arm 2 axeled code

C/C++
#include <Servo.h>

Servo servo1;
Servo servo2;

int pot1 = A0;
int pot2 = A1;
int value1; 
int value2;

void setup() {
  servo1.attach(9);  
  servo2.attach(10);

  Serial.begin(9600);
}

void loop() {
  value1 = analogRead(pot1);            
  value1 = map(value1, 0, 1023, 0, 180);   
  servo1.write(value1);                  
    
  value2 = analogRead(pot2);            
  value2 = map(value2, 0, 1023, 0, 180);   
  servo2.write(value2);                  
    
}

Credits

akk47

akk47

7 projects • 9 followers

Comments