Documente Academic
Documente Profesional
Documente Cultură
TRABAJO INDUSTRIAL
ELECTRICIDAD INDUSTRIAL
CICLO: V
AUTOR:
TRUJILLO, PERU
2017
1
PROYECTO DE INNOVACION Y MEJORA
PROYECTO FINAL
INDICE
INDICE.2
INTRODUCCION4
ASPECTO INIFORMATIVO.5
Antecedentes ..5
El Problema ..5
OBJETIVOS.6
Objetivo general6
Objetivos especficos...6
MARCO TEORICO.8
Arduino8
Grados de libertad9
Lenguaje de programacin10
Servomotor.10
MG995..10
2
SG90..11
Joystick...12
Fuente de 5Vdc 6Amp.13
Transformador14
PROCEDIMIENTO..15
Cdigo de programacin de Arduino..16
BIBLIOGRAFIA.20
ANEXOS..21
FIRMAS DE RESPONSABILIDAD26
3
INTRODUCCION
4
ASPECTO INFORMATIVO
ANTECEDENTES
EL PROBLEMA
La bsqueda del hombre de crear herramientas que le faciliten su vida,
y de sistemas que hagan sus labores menos tediosas, aburridas o
agotadoras, y facilitar las que sean difciles o imposibles de realizar
debido a las limitaciones que posea el ser humano. De esta manera
naci la robtica la que vino para quedarse y para evolucionar al lado
del hombre haciendo su vida cada vez ms sencilla.
5
OBJETIVOS
OBJETIVOS GENERALES
OBJETIVOS ESPECIFICOS
6
DESCRIPCION DEL PROYECTO DE INNOVACION
JUSTIFICACION
7
MARCO TEORICO
ARDUINO
8
GRADOS DE LIBERTAD
9
LENGUAJE DE PROGRAMACION
SERVOMOTOR
Es un dispositivo similar a un motor de corriente continua que tiene la
capacidad de ubicarse en cualquier posicin dentro de su rango de
operacin, y mantenerse estable en dicha posicin.
Un servomotor es un motor elctrico que puede ser controlado tanto en
velocidad como en posicin.
Es posible modificar un servomotor para obtener un motor de corriente
continua que, si bien ya no tiene la capacidad de control del servo,
conserva la fuerza, velocidad y baja inercia que caracteriza a estos
dispositivos.
Est conformado por un motor, una caja reductora y un circuito de
control. Tambin potencia proporcional para cargas mecnicas. Un
servo, por consiguiente, tiene un consumo de energa reducido.
La corriente que requiere depende del tamao del servo. Normalmente
el fabricante indica cul es la corriente que consume. La corriente
depende principalmente del par, y puede exceder un amperio si el
servo est enclavado.
MG995 Datasheet
Weight: 55 g
Dimension: 40.7 x 19.7 x 42.9 mm approx.
Stall torque: 8.5 kgfcm (4.8 V ), 10 kgfcm (6 V)
Operating speed: 0.2 s/60 (4.8 V), 0.16 s/60 (6 V)
Operating voltage: 4.8 V a 7.2 V
Dead band width: 5 s
Stable and shock proof double ball bearing design
Temperature range: 0 C 55 C
10
SG90 Datasheet
Weight: 9 g
Dimension: 22.2 x 11.8 x 31 mm approx.
Stall torque: 1.8 kgfcm
Operating speed: 0.1 s/60 degree
Operating voltage: 4.8 V (~5V)
Dead band width: 10 s
Temperature range: 0 C 55 C
11
JOYSTICK
12
FUENTE 5VDC 6AMP
13
TRANSFORMADOR 220-12VAC
14
PROCEDIMIENTO
15
CODIGO DE PROGRAMACION DE ARDUINO
void setup()
{
servo1.attach(7) ; // Conectar servo1 al pin 7
servo2.attach(8) ; // Conectar servo1 al pin 8
servo3.attach(9) ; // Conectar servo1 al pin 9
servomotor.attach(10); //Pin PWM 10 del Arduino
pinMode(disminuir, INPUT);
pinMode(aumentar, INPUT);
servomotor.write(anguloZ); //Posiciona el servo inicialmente en
la mitad (90)
16
}
void loop()
{
//EJE X
int p = analogRead(A0);
if ( p < 450 ) // Si la lectura es menor de 450
anguloX = anguloX - salto ; // disminuimos el angulo
else if (p > 550) // Si mayor de 550
anguloX = anguloX + salto ; // Aumentamos el angulo
servo1.write(anguloX); // Y este es el que mueve el servo
1
delay (50); // Este delay regula la velocidad del movimiento
//EJE Y
int q = analogRead(A1);
if ( q < 450 ) // Si la lectura es menor de 450
anguloY = anguloY - salto ; // disminuimos el angulo
else if (q > 550) // Si mayor de 550
anguloY = anguloY + salto ; // Aumentamos el angulo
servo2.write(anguloY); // Y este es el que mueve el servo
2
delay (50); // Este delay regula la velocidad del
movimiento
int r = analogRead(A2);
if ( r < 450 )
angulo = angulo - 3 ;
else if (r>550)
angulo = angulo + salto ;
17
servo3.write(angulo);
delay (50);
18
ANALISIS DEL COSTO
19
BLIBLIOGRAFIA
http://www.prometec.net/brazo-robot-joystick/#modal
http://arduparatodos.blogspot.pe/2017/02/controlar-servomotor-
con-arduino-varios.html
https://www.youtube.com/watch?v=lW8tAUgHYDY
https://www.youtube.com/watch?v=LXr_NLrjmmk
https://www.youtube.com/watch?v=pZZsx3Dxqis
https://es.wikipedia.org/wiki/Servomotor
20
ANEXOS
21
Fijando servomotor en lo que sera el codo del brazo robtico.
22
Conectando arduino a joystick y servomotores.
23
Parte interna del joystick. Modificando joystick desde cero.
24
Proyecto Brazo Robtico terminado.
25
FIRMAS DE RESPONSABILIDAD
_____________________________ _____________________________
Participante Profesor
26