Arduino IDE Installations
Download the Arduino IDE software.
You can obtain different versions of the Arduino IDE from the download page of the Arduino official website. You must choose software that is compatible with your operating system (Windows, iOS, or Linux).
Arduino IDE downloads: https://www.arduino.cc/en/software
After downloading, you will get an installation package.
Installing Arduino IDE Software
Double-click the installation file.
Click the "I Agree" button and select the user and installation directory for the installation.
Click the "Install" button to complete the installation.
A desktop shortcut icon will be generated for launching the software after installation is complete.
1.4.3 How to Use Arduino Development Environment IDE:
Launch Arduino IDE
After launching Arduino IDE for the first time, a prompt will appear in the lower right corner to download libraries index. Click on "Install" to download.
When using it for the first time, you will be prompted to install the Arduino USB driver. Click the "Install" button to install the USB driver.
Connect the Device
Firstly, connect the Arduino board to the computer by using a USB cable. Under such condition, the red power LED (marked ON) should light up. Secondly, check the connection port number in the device manager. In the image below, COM14 is the port number for the Arduino board used in this tutorial, and the next step is to be configured in the IDE later.
Open Your First Project
After the software is launched, a new project will be opened by default. You can also create a new project or open an existing Arduino project through the FILE menu.
You can also open the Arduino example projects provided by Arduino IDE.
Here, we will only select an example named "Blink", Which can make the LED turn on and off to achieve the flashing function. You can choose any other example from the list.
Select Your Arduino Board
To avoid any errors when uploading the program to the board, you must select the correct Arduino board name that matches the circuit board connected to the computer.
Go to Tools->Board and then select your board.
Here, according to our tutorial, we the Arduino Uno board is selected, but you must choose the name that matches the board you are using.
Select the Serial Port
Select the serial device for the Arduino board. Go to Tools->Serial Port menu. This may be COM3 or higher (COM1 and COM2 are usually reserved for hardware serial ports).Find out more, you can disconnect your Arduino board and reopen the menu, then the disappeared item should be your Arduino board. Reconnect the board and select the serial port,of which the number we obtained in the tutorial is COM14.
Upload the Program to Your Arduino
Now, simply select the board you want to upload and click the "Upload" button in the IDE.
If the upload is successful, the "Done uploading" message will be displayed in the status bar.
Wait a few seconds, and you will see the L LED on the board flashing. At this point, our first project is completed, and you can try other sample projects as well.