Вы находитесь на странице: 1из 5

EN INGLES

EASY AND SIMPLE ARDUINO ROBOT


ARM
This is to serve as a small guide to replicating my most recent
project; an Arduino based robotic arm.

First off I would like to acknowledge the help of Instructables


user steveastrouk for getting me started on the programming,
and my good friend Sean Ulrich for spending 6 hours debugging
this thing with me.

Do to a technology failure I don't have any of the progress pictures


otherwise this would be a full ible, I apologize for the
inconvenience and hope that I supply enough information here to
help get you on your way. So let's get started!

Here is a list of parts I used:

1x Arduino Uno
4x Large Servo
1x Medium Servo
1x Robotic Claw
1x Small Breadboard
4x Potentiometer
2x Toggle Switch
1x Battery Case for 4 D-cells (6v)
1x Arduino Battery Clip
~2 square feet of birch plywood 1/8' thickness
1/2 inch diameter basswood dowels
2x 1'x1'x3' blocks of basswood
~2.5 lbs of lead beads
5x servo wire extensions
Some decent compression spring to keep the load off of the
servos when fully extended
Some kind of enclosure (I used tin boxes I bought at Michael's)

And an absolute buttload of hot glue.

The Code is attached as a txt file.

Please take not of the footnotes on the pictures for more details.

EN ESPAÑOL

BRAZO DE ROBOT ARDUINO FÁCIL Y


SIMPLE
Esto es para servir como una pequeña guía para replicar mi
proyecto más reciente; un brazo robótico basado en Arduino.

En primer lugar, me gustaría agradecer la ayuda del usuario de


Instructables steveastrouk por haberme iniciado en la
programación, y mi buen amigo Sean Ulrich por pasar 6 horas
depurando esta cosa conmigo.

Si falla la tecnología, no tengo ninguna de las imágenes de


progreso; de lo contrario, esto sería una completa, me disculpo
por las molestias y espero que proporcione suficiente información
aquí para ayudarlo a seguir su camino. ¡Entonces empecemos!

Aquí hay una lista de piezas que utilicé:


1x Arduino Uno
4x Large Servo
1x Medium Servo
1x Robotic Claw
1x Small Breadboard
4x Potenciómetro
2x Interruptor de palanca
1x Caja de batería para 4 células D (6v)
1x Arduino Clip de batería
~ 2 pies cuadrados de madera contrachapada de abedul 1/8 'de
espesor
1/2 pulgadas de tacos de madera de tilo
2x 1'x1'x3' bloques de basswood
~ 2.5 libras de perlas de plomo
5x extensiones de alambre servo
Un resorte de compresión decente para mantener la carga fuera
de los servos cuando está completamente extendida.
Algún tipo de recinto (utilicé cajas de estaño que compré en
Michael's)

y una carga absoluta de pegamento caliente.

El código se adjunta como un archivo txt.

Por favor, no tome las notas a pie de página en las imágenes


para más detalles.
DIRECCION DE LA PAGINA
https://cdn.instructables.com/ORIG/F1K/WFZU/HET1B6J8/F1KW
FZUHET1B6J8.txt
CODIGO DE PROGRAMACION
#include <Servo.h>

Servo myservo3;
Servo myservo5;
Servo myservo6;
Servo myservo9;
Servo myservo11;

int potpin = 1;
int potpin2 = 2;
int potpin3 = 3;
int potpin4 = 4;
int potpin5 = 5;

int val = 0;
int val2 = 0;
int val3 = 0;
int val4 = 0;
int val5 = 0;

void setup()
{
myservo3.attach(3);
myservo5.attach(5);
myservo6.attach(6);
myservo9.attach(9);
myservo11.attach(11);
}

void loop()
{

val = analogRead(potpin);
val = map(val, 0, 1023, 0, 179);
myservo3.write(val);
delay(5);
val2 = analogRead(potpin2);
val2 = map(val2, 0, 1023, 0, 179);
myservo5.write(val2);
delay(5);
val3 = analogRead(potpin3);
val3 = map(val3, 0, 1023, 0, 179);
myservo6.write(val3);
delay(5);
val4 = analogRead(potpin4);
val4 = map(val4, 0, 1023, 0, 179);
myservo9.write(val4);
delay(5);
val5 = analogRead(potpin5);
val5 = map(val5, 0, 1023, 0, 179);
myservo11.write(val5);
delay(5);
}

Вам также может понравиться