PROYECTO FINAL Aplicaciones con microprocesadores y Microcontroladores UACMBRIJE JOSE ALFREDO...

Preview:

Citation preview

PROYECTO FINALAplicaciones con microprocesadores y

Microcontroladores

UACMBRIJEJOSE ALFREDO MARTINEZ PEREZ

HECTOR ALONSO JIMENEZ

ARDUINOARDUINO ES UNA PLATAFORMA DE CREACIÓN DE PROTOTIPOS ELECTRÓNICOS DE CÓDIGO ABIERTO

BASADO EN HARDWARE Y SOFTWARE FÁCIL DE USAR, FLEXIBLE. ESTÁ DIRIGIDO A ARTISTAS, DISEÑADORES, AFICIONADOS Y CUALQUIER PERSONA INTERESADA EN LA CREACIÓN DE

OBJETOS O ENTORNOS INTERACTIVOS E INGENIEROS

ARDUINOArduino puede detectar el medio ambiente mediante la recepción de la

entrada de una variedad de sensores y puede afectar a sus alrededores por las luces de control, motores, y otros actuadores. El microcontrolador en la placa se programa mediante ellenguaje de programación Arduino y el entorno de

desarrollo Arduino. Proyectos Arduino puede ser independiente o se pueden comunicar con el software que se ejecuta en un ordenador (por ejemplo, Flash,

Processing, MaxMSP ).

OBJETIVODESARROLLAR UN ROBOT CON LAS CARACTERIZTICAS DE UN

ALEBRIJE CONTROLADO POR LA TARJETA ARDUINOCOMPUESTO POR CUATRO DIFERENTES CARACTERIZTICAS

NECESARIAS

1.- MOVIMIENTO.- DEBE SER CAPAZ DE TENER ALGUNA ESPECIE DE MOVIMIENTO

2.-LUZ.- DEBE EMITIR ALGUNA LUZ QUE LO ADORNE3.-SONIDO.- EL ROBOT DEBE EMITIR ALGUN SONIDO

CARACTERIZTICO4.-INTERACTUAR.-EL MAS IMPORTANTE DE LOS PUNTOS, EN BASE

A SENSORES DEBE INTERACTUAR DE FORMA AUTONOMA

MOTOR DE CORRIENTE DIRECTA// CONTROL DEL MOTOR DE DC//

int motordcpin1 = 6;int motordcpin2 = 7;

void setup () { pinMode(motordcpin1,OUTPUT); pinMode(motordcpin2,OUTPUT);}

void loop (){ digitalWrite(motordcpin1,LOW); digitalWrite(motordcpin2,HIGH);}

/*MOTOR DE PASOS*/

int MotorPin1=2;int MotorPin2=3;int MotorPin3=4;int MotorPin4=5;

int Retardo=50;

void setup(){ pinMode(MotorPin1, OUTPUT); pinMode(MotorPin2, OUTPUT); pinMode(MotorPin3, OUTPUT); pinMode(MotorPin4, OUTPUT); Serial.begin(9600);}

void loop(){ for(int i=0; i<=20; i++) { //paso 1 digitalWrite(MotorPin1,HIGH); digitalWrite(MotorPin2,LOW); digitalWrite(MotorPin3,HIGH); digitalWrite(MotorPin4,LOW); delay(Retardo); //Serial.println(MotorPin1,MotorPin2,MotorPin3); //paso 2 digitalWrite(MotorPin1,HIGH); digitalWrite(MotorPin2,LOW); digitalWrite(MotorPin3,LOW); digitalWrite(MotorPin4,HIGH); delay(Retardo); //paso 3 digitalWrite(MotorPin1,LOW); digitalWrite(MotorPin2,HIGH); digitalWrite(MotorPin3,LOW); digitalWrite(MotorPin4,HIGH); delay(Retardo); //paso 4 digitalWrite(MotorPin1,LOW); digitalWrite(MotorPin2,HIGH); digitalWrite(MotorPin3,HIGH); digitalWrite(MotorPin4,LOW); delay(Retardo); }}

MOTOR DE PASOS

// CONTROL DE LAS LUCES Y EL AUDIO//

int luzaudio1 = 8int luzaudio2 = 9

void setup () { pinMode(luzaudio1,OUTPUT); pinMode(luzaudio2,OUTPUT);}

void loop (){ digitalWrite(luzaudio1,LOW); digitalWrite(luzaudio2,HIGH);}

LUZ Y AUDIO

SENSOR PARA INTERACTUAR

MOTOR DE DC CON ENGRANES INCLUIDOS CARACTERIZTICAS DEL ALEBRIJE

DISPOSITIVO DE LUZ Y SONIDO EN UNO FUSION DE ELEMENTOS

REALIZACION

UACMBRIJEEl pequeño alebrije cariñoso que deja acariciarse aunque no le gusta que le toque su

pluma amarilla, la presume y en cuanto siente que se la pueden arruinar huye en

busca de refugio tomando como su distracción sus

luces y sonido , y caminando lo mas rápido posible.

Conclusiones

Los dispositivos creados en relación con algún microcontrolador y con algún microprocesador como

lo es Arduino, facilita el sistema de dictado pues es muy amigable casi con cualquier lenguaje,

relacionando el hardware con el software de una forma fácil y sencilla, hasta podría decirse divertida.La creación de un robot controlado por Arduino es

una forma de emprender y saber manejar cualquier proyecto futuro en el habito laboral de un ingeniero,

así es otra forma de enfrentar los desarrollos creativos necesarios en un futuro

Recommended