Blinking LED Using Arduino IDE

Introduction: Blinking LED Using Arduino IDE

About: I am a 13 year old teen always up to no good.In my free time all I do is gaming and robotics.Please support me.

Hi guys welcome to this instructable(which is also my first instructable)I hope you guys like this!!!

First of all get an arduino uno board.If you don't know about arduino then click here.This is the base of all projects.The first thing you need to learn is how to get an LED to blink.This explains it and in this you will also find the code which you can download.I would recommend knowing block programming first or having some experience with robotics before.So lets get started with the connections.

Supplies:

Here's all you need:

1)Arduino Uno and cable

2)Computer windows 7 and up

3)Led and resistor(Optional)

4)Breadboard

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Connection and Wiring

There is a diagram for the connections.Its up to you whether you want to use a resistor or not.If you don't want to put an LED it is okay.You can also use the Onboard LED connected on pin number 13.

Step 2: The Code

void setup() {
pinMode(13,OUTPUT);
} 
void loop() { 
digitalWrite(13,HIGH); 
delay(20); 
digitalWrite(13,LOW);
delay(20);
}

THE END

Be the First to Share

    Recommendations

    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest
    • Fix It Contest

      Fix It Contest

    Discussions