The file 'ARMDUINO V1 Open-Source Robotic Arm! 3D Printer Model' is (stl,skp) file type, size is 1.2MB.
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);
}
ArduinoBaseCapmk5R3_fixed.stl | 117.7KB | |
ArduinoBasemk3R1_fixed.stl | 475.2KB | |
Arduino_Base_Cap_mk5_R3.skp | 272.1KB | |
ArmSuzanmk1R4_fixed.stl | 65.9KB | |
Arm_Suzan_mk1_R4.skp | 1.7MB | |
Controllermk2R3flat_fixed.stl | 122.2KB | |
Controller_mk2_R3_flat.skp | 205.3KB | |
Knobmk1R4_fixed.stl | 17.0KB | |
Knob_mk1_R4.skp | 141.4KB | |
LegR3_fixed.stl | 23.2KB | |
Leg_R3.skp | 144.6KB | |
mk6R2_fixed.stl | 71.9KB | |
mk6_R2.skp | 209.3KB |