Arduino Board- Blink an LED

About: hIOTron is an IoT Based company that offers IoT Platforms, IoT Solutions, IoT Training.

Components Required

1. Arduino Uno Board

2. Breadboard- Half size

3.Jumper Wires

4.USB Cable

5. 5mm LED( Red)

6. Register 220 ohm.

Step 1: About This Project

You can start building your Arduino circuit by looking at the breadboard image. In the below description, we will give you a step-by-step overview of how to build it in a systematic way.

Step 1 – Insert black jumper wire into the GND pin on the Arduino and then in the GND rail of the breadboard row 15.

Step 2 – Insert red jumper wire into pin 13 on the Arduino and then the other end into column F and row 7 on the breadboard.

Step 3 – Set the LONG leg of the LED into row 7th and column H.

Step 4 – Set the SHORT leg of the LED into column H and row 4th.

Step 5 – Bend both legs of a 220 Ohm resistor and place one leg in the GND rail around row 4 and place another leg in the I column, row 4th.

Step 6 – Connect the Arduino Uno to your computer via USB cable.

Step 2: Upload on Blink Sketch

Now upload the program to the Arduino. To open the blink sketch, you will need to go to File > Examples > Basics > Blink.

Insert the complete code on the Blink sketch. Next, you need to click on the verify button that’s located in the top left of the IDE box. This will compile the sketch and look for any errors in the code. Once it says “Done Compiling” you are ready to upload it. Click the upload button to send the program to the Arduino board. This is your final outcome of the project.

Step 3: Program to Run on Software

// 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

}

Step 4: Circuit SCHEMATICS

Step 5: Conclusion

Blinking the LED, with a simple modification of breadboard will help in building various Industrial IoT solutions.

Such various projects can be developed using IoT Devices. For that IoT Training will help you to evolve your own ideas.

Step 6:

Share

    Recommendations

    • Sew Tough Challenge

      Sew Tough Challenge
    • Stone Concrete and Cement Contest

      Stone Concrete and Cement Contest
    • Sensors Contest

      Sensors Contest

    Discussions