- Install the Arduino IDE on to your computer.
For this installation, you will need
- Arduino Uno [or other] board (quantity: 1 no.)
- [Micro] USB cable A to B (quantity: 1 no.)
The Arduino IDE is an open source software which is used to code an Arduino board. The Arduino IDE is available for the Windows, Mac OS and Linux.
The following steps show how to download and install the Arduino IDE onto our computer:
Step 1: Download Arduino IDE from the official Arduino website: Download
Step 2: Install the software and then connect the Arduino Uno (or other) board to your computer via the USB cable USB A to B.
Step 3: Now, we can start programming. Ensure that the board and the port to which the Arduino is connected are selected. Go to Tools -> Board and select Arduino/Genuino Uno.
Step 4: Next, go to Tools -> Port and choose the port that corresponds to your Arduino.
A COM port is an asynchronous port on the computer used to connect a serial device to the computer and capable of transmitting one bit at a time. Selection of the COM port is a vital step in uploading codes to the Arduino since the compiler shows an error when the correct COM port is not selected.