First Arduino Code Blinking LED By Technoesolution | #arduinotutorial

January 29, 2022


Description

In this tutorial we are going to run simple code in Arduino, we will run the blinking led code in Arduino. Arduino has its onboard led on pin number 13. This led blinks when Arduino gets connected to the power supply. In this tutorial, I'm connecting led to the Arduino's D8 pin. I've done the stimulation of blinking led on Tinkercad, see the video below. To do this actual project on Arduino you need Arduino IDE software, to upload the code on the Arduino board. I created an Arduino ide software installation tutorial in my recent tutorials you can refer to that tutorial. Click on the following link to install Arduino ide software.

Arduino IDE Installation

Material Required:- 

Sr.No

Product Name

Quantity

Best Buy Link

1

Arduino Uno

1

https://amzn.to/3tGGqyu

2

LED

1

https://amzn.to/356mcDZ

3

Resistor (470E)

1

https://amzn.to/34TUAlc

4

Breadboard + Jumper Wires

1

https://amzn.to/3qJfQ5T


Circuit Diagram:- 

Arduino-Blink-Code-Tutorial

Arduino Code:- 

void setup()

{
  pinMode(8, OUTPUT);
}
void loop()
{
  digitalWrite(8, HIGH);
  delay(500); // Wait for 1000 millisecond(s)
  digitalWrite(8, LOW);
  delay(1000); // Wait for 1000 millisecond(s)
}

Arduino IDE software:-

Open Arduino IDE software

Arduino-Blink-Code-Tutorial

Click on File

Arduino-Blink-Code-Tutorial

Click on Examples

Arduino-Blink-Code-Tutorial

Click on Basics

Arduino-Blink-Code-Tutorial

Click on Blink

Arduino-Blink-Code-Tutorial

Here is a sample code of LED blinking

Arduino-Blink-Code-Tutorial

Video Demonstration:- 


You can Buy me coffee If you got this article helpful.