Getting started with Arduino IDE & Arduino Board.

Getting started with Arduino IDE & Arduino Board.

Hello, we hope you are doing good.

In this tutorial we will show you the basics of Ardino Uno and how to intract wih Arduino IDE software.

 

First let's start from understanding the Arduino IDE software:-

 

When you open th Arduino IDE and click on File option here you see many options like

  1. NEW option to open new page to write new program.
  2. OPEN option to open arduino programming sketch from file manager.
  3. Open Recent option to open recent sketches.
  4. Your all saved codes will be found in Sketchbook option.
  5. In Example option you get many example codes to use with arduino board.
  6. Preferences option can be used to set Sketchbook location on your desktop and to add additional Arduino boards and microcontrollers to Arduino IDE  i.e ESP8266 NodeMcu, ESP32 etc.

 

 

When you click on Sketch option you get below options.

 

  1. Verify/Compile option is used to check if code is right or have some errors.
  2. Upload option is used to upload the sketch/code to arduino board.
  3. Include library optio is used to see existing libraries and to add more arduino libraries.
  4. Add file option is used to open .ino file in Arduino IDE.

 

Tools opion.

 

In tools option you will be using Boards and Port mostly to connect the board to Arduino IDE.

 

Now let's write your first code and get start with arduino:-

Quick Steps:-

  1. Connect Arduino board to pc via usb cable.
  2. Open Arduino IDE.
  3. Select the board and com port.
  4. Write and upload the code.
  5. Open serial monitor.

Take out your arduino board and it's programming cable from your RoboHUB Arduino learning kit, connect your arduino board to your desktop and open Arduino IDE, select arduino board from "Boards" option of arduino ide and then select COM PORT.

STEP-1

STEP-2

STEP-3

Upload the following code-

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello World!");
delay(1000);
}

 

STEP-4

Open serial monitor

Set Braud Rate to 9600.

Serial monitor start showing Hello World! print.

Hurrey! Congratulations for your first succesful step towards exploring the huge world of innovation using arduino.

Back to blog