ARMDUINO V1 Open-Source Robotic Arm!

di Doctorfizzle

File stampabili (7)

  • stl

    mk6R2_fixed.stl

    72 Ko · 940 download

    Scarica
  • stl

    Knobmk1R4_fixed.stl

    17 Ko · 953 download

    Scarica
  • stl

    ArmSuzanmk1R4_fixed.stl

    66 Ko · 1 004 download

    Scarica
  • stl

    LegR3_fixed.stl

    23 Ko · 951 download

    Scarica
  • stl

    Controllermk2R3flat_fixed.stl

    122 Ko · 998 download

    Scarica
  • stl

    ArduinoBaseCapmk5R3_fixed.stl

    118 Ko · 948 download

    Scarica
  • stl

    ArduinoBasemk3R1_fixed.stl

    475 Ko · 941 download

    Scarica

Descrizione

Please Edit things and make it even better! Basic robotic arm compatible with the Arduino Uno! Uses 9g micro servos. Pictures of finished product with shield schematics coming soon.

Code:

(hashtag)include
int led2 = 3;
int led3 = 5;
int led1 = 6;
Servo LazySuzan;
Servo twoLink;
Servo firstLink;
int start = 100;

void setup()
{
//Declare Servo Ports
twoLink.attach(10);
firstLink.attach(9);
LazySuzan.attach(8);
Serial.begin(9600);
delay(1000);
for(int start = 100; start > 0 ; start--) {
analogWrite(led1, start);
delay(10);
analogWrite(led2, start);
analogWrite(led3, start);
}

}

void loop() {
//Declare Controller Ports
int turnVal = analogRead(A0) + 1000;
int firstVal = analogRead(A2) + 1000;
int secondVal = analogRead(A1) + 1000;

// Print Controller Values
Serial.println(turnVal);
Serial.println(firstVal);
Serial.println(secondVal);

//Direct Servo Control (Testing)
//LazySuzan.writeMicroseconds(1600);
// delay(2000);
// firstLink.writeMicroseconds(1600);
// delay(2000);
// twoLink.writeMicroseconds(1600);
// delay(2000);

//Led control as well as servo control
twoLink.writeMicroseconds(secondVal);
firstLink.writeMicroseconds(firstVal);
LazySuzan.writeMicroseconds(turnVal);
analogWrite(led1, turnVal / 8 - 120);
analogWrite(led2, firstVal / 8 - 120);
analogWrite(led3, secondVal / 8 - 120);

}

Tag