Upload codes on Arduino IDE


  • Upload codes on Arduino IDE.


For this exercise, you will need

  1. Arduino Uno [or other] board (quantity: 1 no.)
  2. [Micro] USB cable A to B (quantity: 1 no.)
  3. Arduino IDE on your computer

Let’s begin!

Step 1: Enter your code in the Arduino IDE window.

  • When you click on New to open a new blank code in the Arduino IDE, you will get a new window with two functions: void setup() and void loop()

  • You can either type commands under void setup() and void loop() functions or 
  • Delete the contents of this window.

  • Go to the code you want to use. Scroll to the bottom, right-click on view raw and open in a new browser tab. Copy the code.

  • Paste the your code in the Arduino IDE window.

Step 2: Compile/ verify the code by clicking on the verify button.

  • Make sure the board is connected to your computer
  • Check if the correct board and port is selected.

Step 3: Upload the code by clicking on the upload button, which is right next to the verify button.

  • The Arduino IDE provides a progress bar when it’s uploading.

  • After it is done, you will see “Done uploading” on the bottom left of your IDE.

  • If you encounter any errors, you need to go back to the code and fix the errors.



Code problems


Loader Loading...
EAD Logo Taking too long?
Reload Reload document
| Open Open in new tab
April 22, 2020

0 responses on "Upload codes on Arduino IDE"

Leave a Message

Your email address will not be published.


Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved