Installing Arduino IDE 45
Installing Arduino IDE 45
CONTRIBUTORS: B_E_N
FAVORITE14
SHARE
Share on TwitterShare on FacebookPin It
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.
Required Materials
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.
WHAT IS AN ARDUINO?
FEBRUARY 26, 2013
What is this 'Arduino' thing anyway? This tutorials dives into what an Arduino is and
along with Arduino projects and widgets.
How to install CH340 drivers (if you need them) on Windows, Mac OS X, and Linux.
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
Mac
Linux
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).
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.
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.
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.
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.
Troubleshooting
The Arduino Playground Linux section is a great resource for figuring out any problems
with your Arduino installation.
That's it! Boards are all installed. This also gives you access to all of our library files as
well through the built-in Library Manager tool in Arduino. Looking for more information
about adding other custom boards? Check out the the following tutorial to install other
Arduino cores.
How do I install a custom Arduino board/core? It's easy! This tutorial will go over how to
install an Arduino board definition using the Arduino Board Manager. We will also go over
manually installing third-party cores, such as the board definitions required for many of
the SparkFun development boards.
How do I install a custom Arduino library? It's easy! This tutorial will go over how to install
an Arduino library using the Arduino Library Manager. For libraries not linked with the
Arduino IDE, we will also go over manually installing an Arduino library.
Examining the diverse world of Arduino boards and understanding the differences
between them before choosing one for a project.
CLICK HERE TO SEE MORE TUTORIALS RELATED TO ARDUINO
Or check out the some of the Adventures in Science videos focused on Arduino.
TAKE ME THERE!
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:
Hookup guide and library usage details for the triple axis accelerometer H3LIS331DL
high-g accelerometer.
The u-blox NEO-M9N is a powerful GPS unit that comes in two flavors: with and without
a chip antenna. We will quickly get you set up using the Qwiic ecosystem and Arduino so
that you can start reading the output!