You are on page 1of 5

ENCENDIDO BASICO CON TINTINEO SHOPPING LIST Amount Part Type 1 1 1 Arduino Yellow SMD LED 330k Resistor

r Properties
Processor ATmega; variant Arduino UNO R3 Paquete 0805 [SMD]; Color Yellow

Paquete THT; Resistencia 330k; Potencia Clasicada 0.25 watt; Footprint 400 mil

MAPA DE CONEXIONES

STEPS I. Conectar la fuente de poder de 5V del Arduino a la linea positiva del Protoboard. II. Conectar el cable a tierra Grnd (Ground) del Arduino a linea negativa del Protoboar. Tiene que ser en la misma columna donde conectaste el positivo.

III. Enchufar el LED en alguna parte del centro del Protoboard, con sus patas conectadas en distintas linea horizontales. IV. Conecta la resistencia de 330k desde la linea negativa a la linea de la pata negativa (la ms corta) del LED.

V. Conectar un cable desde el PIN 13 hacia la linea de la pata positiva del LED.

VI. Conecta el USB a tu computador, ejecuta Arduino y copia y pega el siguiente cdigo:
// 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 LED on (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 for a second }

VII. Una vez pegada presiona el siguiente botn ubicada en la parte superior izquierda de la ventana de Arduino. VIII. Una vez presionado el cdigo se programa en Arduino y el LED comenzar a tintinear.

You might also like