Arduino Programming For Beginners | How to Program Arduino From Scratch.

Arduino UNO

In this Article I will Explain how to Program a Arduino UNO. so, here i am using Simple Blink Program to demonstrate how to program Arduino from scratch.

In This article you will learn,

    -    How to install Arduino IDE?

    -    How to install Arduino Drivers?

    -    Step by Step How to Program Arduino UNO?


Hardware Required:

    -    Arduino | Amazon India | Amazon Global

    -    USB A to B cable

    -    PC/Laptop

How to install Arduino IDE?

Step1 : Download Arduino IDE link given Below as Per your System Specifications.
Arduino IDE :- https://www.arduino.cc/en/software

Step2 : After download open the Setup and click I Agree.

Step3 : Click Next and select Location Where you Want to install Arduino IDE 

Step4 : Click Install.

Now, You just installed Arduino IDE we are ready to go Forward to Program Arduino.

How to install Arduino Drivers?

Step1 : Plug in Arduino to PC/laptop. 

Step2 : If Arduino UNO not detected in Arduino IDE Then go to Device Manager and in device manager  go to other devices there you will see Arduino UNO.

Step3 : Right Click on Arduino UNO and just Click update driver software.

Step4 : Click Browse my Computer for Driver Software.

Step5 : Click on Browse and go to your Arduino IDE installation folder their you will find a driver folder.(C:\Program Files (x86)\Arduino\drivers)

Step6 : Click on Next you will see a window say that Windows has successful installed your driver software.

Now, We are ready to upload a program to Arduino UNO.

How to Program Arduino UNO?

let's take a simple Blink Program to understand how to program Arduino UNO. To do this we are using inbuilt led in Arduino UNO which is on Pin no. 13.

Step 1 : Connect Arduino UNO to PC/laptop with USB A to B cable.

Step 2 : Open Up Arduino IDE on PC/laptop.

 Step 3 : Go to File>Example>Basic>Blink it will open Blink Program for inbuilt led (Pin 13).
    
 Step 4 : Click Upload Icon and Upload the Program to Arduino UNO.

After That Arduino UNO Compile program and Upload to Arduino Uno and it will Show Done Uploading. 

Arduino Code 



// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

In this article we learn how to use Arduino ide to program Arduino and we learn simple blink program.

Post a Comment

Previous Post Next Post