arduino
PLAN DE ESTUDIO
CLAVE DE ASIGNATURA
IINGENIERIA INDUSTRIAL
INC0404
NOMBRE DE LA ASIGNATURA
PRACTICA No.
NOMBRE DE LA PRÁCTICA
FUNDAMENTOS DE CONTROL
2
Arduino; blink
1INTRODUCCIÓN:
. Arduino es una plataforma de hardware de código abierto, basada en una sencilla placa con entradas y salidas, analógicas y digitales, en un entorno de desarrollo que está basado en ellenguaje de programación Processing. Es un dispositivo que conecta el mundo físico con el mundo virtual, o el mundo analógico con el digital.
2
OBJETIVO:
Conocer el funcionamiento del arduino,aprender a programarlo y darle un uso correcto al hardware.
3
PROCEDIMIENTOS (DESCRIPCIÓN)
EQUIPO NECESARIO
MATERIAL DE APOYO
Arduino
Computadora
Led
Cable USB
Manual de programación delarduino
4
DESARROLLO DE LA PRÁCTICA
1.- adquirir el arduino que es una plataforma hardware de código abierto
2.- realizar la práctica de nivel uno, que consisterealizar un ejercicio básico que consiste en encender y apagar un led que conectamos en el PIN 13 de Arduino que lo configuramos como salida. El tiempo de encendido y apagado es de 1 segundo3.- configuramos arduino para que realice las siguientes instrucciones
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is inthe public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LEDon (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait...
Regístrate para leer el documento completo.