Contents ≡

Wiki/Session notes

Session 6 · Installing the Arduino IDE

  1. 1Check your computer
  2. 2Download
  3. 3Install
  4. 4Check
  5. 5In class: connecting the board
  6. 6When the port doesn't show up or upload fails

Installing the Arduino IDE

The Arduino IDE is the program you use to write code for an Arduino board, compile it and upload it to the board over USB. We use it in Session 6 (Nov 7) to drive motors and sensors. Please install it before class and do the "Check" step below. You can do the check even without a board.

Check your computer

  • Windows: Windows 10 or later, 64-bit. Almost all recent laptops qualify.
  • Mac: Apple menu in the top left → About This Mac. If Chip shows Apple M1/M2/M3/M4, it's Apple Silicon. If Processor shows Intel, it's Intel.

Download

On arduino.cc/en/software, click Download under Arduino IDE 2 and pick the file for your computer. The current version is 2.3.10, and the file is 150 to 200MB.

ComputerFile to download
WindowsThe Windows 64-bit installer (.exe)
Mac, Apple SiliconThe .dmg for macOS Apple Silicon
Mac, IntelThe .dmg for macOS Intel

Install

Windows

  1. Double-click the .exe file you downloaded.
  2. If a blue "Windows protected your PC" window appears, click More info → Run anyway.
  3. Click I Agree on the license, keep the defaults with Next, and finish with Install.
  4. Start Arduino IDE from the Start menu.
  5. On first launch, a "Would you like to install this device software?" window appears a few times. These are the drivers that let the computer recognize the board over USB, so click Install each time. If a firewall window appears, click Allow.

Mac

  1. Double-click the .dmg file you downloaded.
  2. Drag the Arduino IDE icon into the Applications folder.
  3. Open Arduino IDE from the Applications folder. If you see "downloaded from the Internet", click Open.
  4. If it asks whether to accept incoming network connections, click Allow.

On first launch, a notice about downloading board files briefly appears in the bottom right. Wait for it to finish before moving on.

Check

Make sure compiling works without a board. Compiling downloads a few more files the first time, so doing this at home saves time in class.

  1. File → Examples → 01.Basics → Blink. The example code opens in a new window.
  2. Click Select Board at the top center, then Select other board and port....
  3. Type uno in the search box on the left, choose Arduino Uno and click OK. Leave the port empty.
  4. Click the ✓ (Verify) button in the top left.

If the output panel at the bottom shows a line starting with Sketch uses ... bytes, the install worked. The first time can take a minute or two.

In class: connecting the board

When you get a board, plug it into your computer with a USB cable and do the following.

  1. Click Select Board. The board you plugged in shows up with its port. Choose it.
    • Port names on Windows: COM plus a number, such as COM3 or COM4
    • Port names on Mac: /dev/cu.usbmodem… or /dev/cu.usbserial…
  2. If a notice in the bottom right asks to install the package for this board, click Install.
  3. With the Blink example open, click the → (Upload) button.
  4. If the output panel shows Done uploading and the small LED on the board blinks once a second, it worked.

When the port doesn't show up or upload fails

  • Try a different USB cable first. A charge-only cable powers the board, but the computer can't see it. This is the most common cause.
  • Unplug any USB hub or adapter and plug the board straight into the laptop. Try another USB port too.
  • Compatible boards (with CH340 written on the chip) may need a separate driver.
    • Windows: If Device Manager → Ports (COM & LPT) or Other devices shows USB2.0-Serial with a yellow exclamation mark, download the WCH driver (CH341SER.EXE), click INSTALL, and plug the cable back in.
    • Mac: If the port list has no cu.usbserial or cu.wchusbserial, install the WCH Mac driver, allow it in System Settings → Privacy & Security, and restart.
  • If upload shows an avrdude or programmer is not responding error, choose the board and port again in Select Board, unplug and replug the cable, and upload again.

Materials for 2026 Open Circuit Busan: Art & Tech Practice · Written and planned by Joonhyung Bae