Introduction
This tutorial will walk you through downloading, installing, and testing the Arduino software (also known as the Arduino IDE â short for Integrated Development Environment). Before you jump to the page for your operating system, make sure youâve got all the right equipment.
What you will need:
- A computer (Windows, Mac, or Linux)
- An Arduino-compatible microcontroller (anything from this guide should work)
- A USB A-to-B cable, or another appropriate way to connect your Arduino-compatible microcontroller to your computer (check out this USB buying guide if youâre not sure which cable to get).
An Arduino Uno
An A-to-B USB Cable
Suggested Reading
If youâre new to Arduino in general, you want to check out this tutorial to familiarize yourself with everyoneâs favorite microcontroller platform.
If youâre ready to get started, click on the link in the column on the left that matches up with your operating system, or you can jump to your operating system here.
Windows
This page will show you how to install and test the Arduino software with a Windows operating system (Windows 8, Windows 7, Vista, and XP).
Windows 8, 7, Vista, and XP
- Go to the Arduino download page and download the latest version of the Arduino software for Windows.
- When the download is finished, un-zip it and open up the Arduino folder to confirm that yes, there are indeed some files and sub-folders inside. The file structure is important so donât be moving any files around unless you really know what youâre doing.
- Power up your Arduino by connecting your Arduino board to your computer with a USB cable (or FTDI connector if youâre using an Arduino pro). You should see the an LED labed âONâ light up. (this diagram shows the placement of the power LED on the UNO).
- If youâre running Windows 8, youâll need to disable driver signing, so go see the Windows 8 section. If youâre running Windows 7, Vista, or XP, youâll need to install some drivers, so head to the Windows 7, Vista, and XP section down below.
Windows 8
Windows 8 comes with a nice little security âfeatureâ that âprotectsâ you from unsigned driver installation. Some older versions of Arduino Uno come with unsigned drivers, so in order to use your Uno, youâll have to tell Windows to disable driver signing. This issue has been addressed in newer releases of the Arduino IDE, but if you run into issues, you can try this fix first.
For a nice, step-by-step tutorial with pictures click here, otherwise the steps are outlined below.
To temporarily disable driver signing:
- From the Metro Start Screen, open Settings (move your mouse to the bottom-right-corner of the screen and wait for the pop-out bar to appear, then click the Gear icon)
- Click âMore PC Settingsâ
- Click âGeneralâ
- Scroll down, and click âRestart nowâ under âAdvanced startupâ.
- Wait a bit.
- Click âTroubleshootâ.
- Click âAdvanced Optionsâ
- Click âWindows Startup Settingsâ
- Click Restart.
- When your computer restarts, select âDisable driver signature enforcementâ from the list.
To permanently disable driver signing (recommended, but has some minor security implications):
- Go to the metro start screen
- Type in âcmdâ
- Right click âCommand Promptâ and select âRun as Administratorâ from the buttons on the bottom of your screen
- Type/paste in the following commands: bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS bcdedit -set TESTSIGNING ON
- Reboot!
Windows 7, Vista, and XP
Installing the Drivers for the Arduino Uno (from Arduino.cc)
- Plug in your board and wait for Windows to begin itâs driver installation process
- After a few moments, the process will fail, despite its best efforts
- Click on the Start Menu, and open up the Control Panel
- While in the Control Panel, navigate to System and Security. Next, click on System
- Once the System window is up, open the Device Manager
- Look under Ports (COM & LPT). You should see an open port named âArduino UNO (COMxx)â. If there is no COM & LPT section, look under âOther Devicesâ for âUnknown Deviceâ
- Right click on the âArduino UNO (COMxx)â or âUnknown Deviceâ port and choose the âUpdate Driver Softwareâ option
- Next, choose the âBrowse my computer for Driver softwareâ option
- Finally, navigate to and select the Unoâs driver file, named âArduinoUNO.infâ, located in the âDriversâ folder of the Arduino Software download (not the âFTDI USB Driversâ sub-directory). If you cannot see the .inf file, it is probably just hidden. You can select the âdriversâ folder with the âsearch sub-foldersâ option selected instead.
- Windows will finish up the driver installation from there
For earlier versions of the Arduino boards (e.g.Arduino Duemilanove, Nano, or Diecimila) check out this page for specific directions.
Launch and Blink!
After following the appropriate steps for your software install, we are now ready to test your first program with your Arduino board!
- Launch the Arduino application
- If you disconnected your board, plug it back in
- Open the Blink example sketch by going to: File > Examples > 1.Basics > Blink
- Select the type of Arduino board youâre using: Tools > Board > your board type
- Select the serial/COM port that your Arduino is attached to: Tools > Port > COMxx
- If youâre not sure which serial device is your Arduino, take a look at the available ports, then unplug your Arduino and look again. The one that disappeared is your Arduino.
- With your Arduino board connected, and the Blink sketch open, press the âUploadâ button
- After a second, you should see some LEDs flashing on your Arduino, followed by the message âDone Uploadingâ in the status bar of the Blink sketch.
- If everything worked, the onboard LED on your Arduino should now be blinking! You just programmed your first Arduino!
Troubleshooting
This guide from Arduino has some more details and troubleshooting tips if you get stuck.
Mac
This page will show you how to install and test the Arduino software on a Mac computer running OSX.
- Go to the Arduino download page and download the latest version of the Arduino software for Mac.
- When the download is finished, un-zip it and open up the Arduino folder to confirm that yes, there are indeed some files and sub-folders inside. The file structure is important so donât be moving any files around unless you really know what youâre doing.
- Power up your Arduino by connecting your Arduino board to your computer with a USB cable (or FTDI connector if youâre using an Arduino pro). You should see the an LED labed âONâ light up. (this diagram shows the placement of the power LED on the UNO).
- Move the Arduino application into your Applications folder.
FTDI Drivers
If you have an UNO, Mega2560, or Redboard, you shouldnât need this step, so skip it!
- For other boards, you will need to install drivers for the FTDI chip on your Arduino.
- Go to the FTDI website and download the latest version of the drivers.
- Once youâre done downloading, double click the package and follow the instructions from the installer.
- Restart your computer after installing the drivers.
Launch and Blink!
After following the appropriate steps for your software install, we are now ready to test your first program with your Arduino board!
- Launch the Arduino application
- If you disconnected your board, plug it back in
- Open the Blink example sketch by going to: File > Examples > 1.Basics > Blink
- Select the type of Arduino board youâre using: Tools > Board > your board type
- Select the serial port that your Arduino is attached to: Tools > Port > xxxxxx (itâll probably look something like â/dev/tty.usbmodemfd131â or â/dev/tty.usbserial-131â but probably with a different number)
- If youâre not sure which serial device is your Arduino, take a look at the available ports, then unplug your Arduino and look again. The one that disappeared is your Arduino.
- With your Arduino board connected and the Blink sketch open, press the âUploadâ button
- After a second, you should see some LEDs flashing on your Arduino, followed by the message âDone Uploadingâ in the status bar of the Blink sketch.
- If everything worked, the onboard LED on your Arduino should now be blinking! You just programmed your first Arduino!
Troubleshooting
If youâre having problems, check out this troubleshooting guide from Arduino.
Linux
If you are a Linux user, you probably know that there are many different distribution âflavorsâ of Linux out there. Unsurprisingly, installing Arduino is slightly different for many of these distributions. Luckily, the Arduino community has done an excellent job of providing instructions for most of the popular versions. Click on the link below that covers your flavor of Linux:
- ArchLinux
- Debian
- Fedora
- Gentoo
- MEPIS
- Mint
- openSUSE
- Puppy
- Pussy
- Slackware
- Ubuntu
- Xandros (Debian derivative) on Asus Eee PC
If the above directions did not work for you, or you donât see your distribution, try this catch-all guide.
You can go to the download page and download the latest version of Arduino for Linux (there are 32-bit and 64-bit versions available) when your system is properly set up.
Launch and Blink!
After following the appropriate steps for your software install, we are now ready to test your first program with your Arduino board!
- Launch the Arduino application
- If you disconnected your board, plug it back in
- Open the Blink example sketch by going to: File > Examples > 1.Basics > Blink
- Select the type of Arduino board youâre using: Tools > Board > your board type
- Select the serial port that your Arduino is attached to: Tools > Port > xxxxxx (itâll probably look something like â/dev/tty.usbmodemfd131â or â/dev/tty.usbserial-131â but probably with a different number)
- If youâre not sure which serial device is your Arduino, take a look at the available ports, then unplug your Arduino and look again. The one that disappeared is your Arduino.
- With your Arduino board connected and the Blink sketch open, press the âUploadâ button
- After a second, you should see some LEDs flashing on your Arduino, followed by the message âDone Uploadingâ in the status bar of the Blink sketch.
- If everything worked, the onboard LED on your Arduino should now be blinking! You just programmed your first Arduino!
Troubleshooting
The Arduino Playground Linux section is a great resource for figuring out any problems with your Arduino installation.
Going Further
Now that youâve got the Arduino software installed on your system and tested it with your Arduino board successfully, youâre ready for your next steps into the world of embedded electronics.
If you want to learn about some of the concepts that will help you build your projects, check out some of the following tutorials:
- Voltage, Current, Resistance, and Ohmâs Law
- Sewing with conductive thread
- How to power a project
- Working with wire
- How to use a multimeter
- Installing an Arduino library
If youâd rather jump right in to building something, check out these links to projects here on learn as well as some other places to find Arduino-based projects: