loading

I'm going to show you how to make two blinking LED eyes.

Step 1: Connect the Hardware

You will need:
- Arduino Uno.
- 4 Jumper Wires.
- 2 LEDs (I used red ones)
- 1 330ohm resistor.

Now follow this schematic to connect the hardware.

Step 2: Load the Program

Open the Arduino software and copy and paste this:

// the setup function runs once when you press reset or power the board
void setup() {

// initialize digital pin 13 as an output.

pinMode(13, OUTPUT); }

// the loop function runs over and over again forever

void loop() {

digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)

delay(4000); // wait for a second

digitalWrite(13, LOW); // turn the LED off by making the voltage LOW

delay(200); // wait for a second }

OR you can go to File>Examples>Basics>Blink.

When that's open, Change the first delay to 4000 and the second delay to 200. (It'll make it blink more like eyes)

Step 3: Upload the Program to Your Arduino

Now click Verify then Upload (Make sure your Arduino is plugged in)

Have Fun!

<p>Please comment if you need help.</p>

About This Instructable

991views

8favorites

License:

More by Jed C:How To Make Two Blinking LED Eyes With Your Arduino Uno  
Add instructable to: