Download Arduino IDE and Install Driver

From Keyestudio Wiki
Jump to navigation Jump to search


Arduino quickstart.jpg


Download Arduino Environment

You can directly download the latest version from this link: http://arduino.cc/en/Main/Software. When the download is finished, unzip the downloaded file. Be sure to preserve the folder structure. Double-click the folder to open it. There should be several files and sub-folders inside.

The Arduino Software (IDE) allows you to write programs and upload them to your board. In the Arduino Software page you will find two options:

1. If you have a reliable Internet connection, you should use the online IDE (Arduino Web Editor). It will allow you to save your sketches in the cloud, having them available from any device and backed up. You will always have the most up-to-date version of the IDE without the need to install updates or community generated libraries.

2. If you would rather work offline, you should use the latest version of the desktop IDE .


Install the Arduino Desktop IDE

To get step-by-step instructions select one of the following link accordingly to your operating system.

Windows
Mac OS X
Linux
Portable IDE (Windows and Linux)

Choose your board in the list here on the right to learn how to get started with it and how to use it on the Desktop IDE.


Example for Installing Arduino IDE

STEP 1: Go to https://www.arduino.cc/en/Main/Software and find below page.
thumb

The version available at this official website is usually the latest version.


STEP 2:Download the development software that is compatible with the operating system of your computer. In the following, take Windows as an example.

thumb


First, Click Windows Installer, you will get the following page.


thumb

Then, Click JUST DOWNLOAD. After downloading the software installation package to your PC, start the STEP 3 below.


STEP 3:Installing Arduino Software(Windows)
Install Arduino with the exe. Installation package you have downloaded well.
Get the latest version from the download page. You can choose between the Installer (.exe) and the Zip packages. We suggest you use the first one that installs directly everything you need to use the Arduino Software (IDE), including the drivers. With the Zip package you need to install the drivers manually. The Zip file is also useful if you want to create a portable installation.

Frist,Click “I Agree”.
thumb

When the download finishes, proceed with the installation and please allow the driver installation process when you get a warning from the operating system.

Then, click “Next”
thumb

Next, click “Install”.
thumb

thumb

When the following interface appears, click Install to finish the installation.
thumb

Finally, click “Close” after completing the installation.
thumb

And you will see the following icon appear on the desktop
thumb


Install the Driver

Installing Drivers for Arduino Board in Windows 7

Before launch the Arduino software, you are going to install the USB drivers.
Plug one end of your USB cable into the Arduino and the other into a USB socket on your computer.

  • First, right click “Computer” —>select “Properties”—> click “Device manager”, you should see an icon for ‘unknown device’ with a little yellow warning triangle next to it. This is your Arduino.
    Driver 1.png


  • Right-click on the device and select the top menu option (Update Driver Software...).
    Driver 2.png


  • You will then be prompted to either ‘Search Automatically for updated driver software’ or ‘Browse my computer for driver software’.

In this page, click “Browse my computer for driver software”.
Driver 3.png


  • Select the option to browse and navigate to the drivers folder.
    Driver 4.png


  • Click 'Next' and you may get a security warning, if so, allow the software to be installed. Once the software has been installed, you will get a confirmation message.
    Driver 5.png


  • Installation completed, click “Close”.
    Driver 6.png


  • After installation, go to check the “Device manager” again. right click “Computer” —> “Properties”—> “Device manager”, you can see the device shown as below figure.
    Driver 7.png


Example for Using Arduino IDE

When successfully installing the USB driver for UNO R3 board, you can find the corresponding serial port in Windows Device Manager. Next, we will show you the program “Hello World!” displayed on the serial monitor of Arduino IDE. Here we use the Arduino 1.5.6 version.

Sample Code as below:
Copy and paste the following source code to Arduino IDE.

int val;
int ledpin=13; 
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
}
void loop()
{
val=Serial.read();
if(val=='R')
{
digitalWrite(ledpin,HIGH);
delay(500);
digitalWrite(ledpin,LOW);
delay(500);
Serial.println("Hello World!");
}
}

Then,set the Board and COM port, shown below.
Hello 1.png

Hello 2.png

If setting well the board and port, you can see it display on the bottom right corner, which is the same as the Device Manager display.
Hello 3.png

Then, click the verify to compile the sketch, if no mistake, click upload to upload the program.
Done uploading, open the serial monitor on the upper right corner and set the baud rate as 9600, enter an “R” and then click “Send”, finally you can see the D13 indicator on the UNO R3 board blinks once, and “Hello World!” is displayed on the serial monitor. Shown below.
Hello 4.png
Congrats. Your first programming is done well!

Related Data Download

Using Method for keyestudio UNO R3:
You can download the driver installation or software from below link:
https://drive.google.com/open?id=12D-JkXdNm03Qt4dlPQr3RP6OmgXqpvHc


Reference for Arduino Programming Language

Arduino programming language can be divided in three main parts: structure, values (variables and constants), and functions.
You can see more details on the following link:
https://www.arduino.cc/reference/en/