PC - Download and Install the Arduino IDE

PC - Download and Install the Arduino IDE

Discussion:

Before you begin using the Arduino IDE, you must first learn how to download, install, and set your preferences. This lesson is specifically tailored for those who use a PC. The next lesson will cover this same topic, but for Mac users.

I'm currently using a Windows 8.1. You are probably running a newer version of Windows. However, the following instructions will be almost identical from one version to the next. If this should ever change, I'll update this lesson to reflect those changes.

Find the Arduino IDE Download

First, jump on the internet with your favorite browser, and navigate to www.arduino.cc. Look for the tab labeled "Download".

The page on which you land might look a little different than this. It does change from time to time, but there will always be an obvious tab for Download.

Click on that "Downloads tab". That will bring you to the "Download the Arduino Software" page.

Once on this page, you have several options. You can download the Windows Installer, or you can download a Windows ZIP file if you are a non-administrator.

The third option is to get the absolute latest, razor-sharp release of the Arduino IDE. This is found in the section labeled "Hourly Builds".

If you want the most recent update, you can download from this section. But this is just as the name implies. The information here can be updated as often as hourly, and may not be as stable as an official public release.

Therefore, in this lesson, I will demonstrate the Windows Installer. This is the best route to go in almost any case. It's rare that another option is better.

Download and Install

When you click on the "Windows Installer" link, it takes you to a contributions page. It's completely up to you if you want to contribute to the Arduino cause.

It is a great idea if you do. However, since this is simply a demonstration, I'm just going to choose download.

Next, a popup window opens so that you can direct where to save the ZIP file. It really doesn't matter where you save it.

I'm going to save it to my downloads folder. It will then immediately start to download.

It's not a big file. It's around 77.7 Megabytes for this current release. I have just an everyday, run of the mill cable internet connection, and yet it still doesn't take very long to download.

Once the file is done downloading, double click the executable file. This will open a couple of popup windows.

The first one is dependent upon whether or not you already have a older version of Arduino installed.

If you already have an older version of Arduino installed, it will ask if you want to first uninstall the older version before continuing the download of the newer version.

My recommendation is to select "Ok" to uninstall the older version. It will not harm anything or delete any work you have done.

It simply gets rid of the older Arduino IDE, not your sketch folder. If you don't know what that means, it's not important. Just know that you will not lose anything if you uninstall.

Next, it will run through the uninstallation process. Once completed, click "Ok". Then, close the uninstall box.

Afterwards, agree to the new license, which is just like any other license that basically says you owe Arduino your children. The popup window then asks you to set a few installation options. Just leave all these checked.

Finally, you select the install location. I personally put it into my programs folder. Once you click "Install", it will start extracting.

That's really it for the installation. It does take a little longer than you might expect - maybe a minute or two to install the whole package.

Set Preferences for Arduino IDE

Once installed, open the Arduino IDE. You can either use the desktop icon or go to your programs folder to use the icon there.

We're going to set some Preferences. Go to "File" and then "Preferences".

Probably the most important thing to look at is the first line that comes up - the Sketchbook location.

When we write a program in the Arduino IDE, it's called a sketch. All sketches are saved within a Sketchbook.

The Sketchbook is a folder where you can to keep all of your work. The default location is usually under Users\The User's Name\Documents\ and then a folder created that is named Arduino.

If yours does not look like this, or if you would prefer the Sketchbook folder be in a different place, you can browse to select a different location.

I would definitely recommend using a folder named Arduino. This default location has always worked pretty well for me.

The next preference to set is the editor language. You can pick from a bunch of different languages. I'm using English, obviously.

Another setting is editor font size. The default is 12, but I prefer a larger font. Font size 18 works very well for me.

Be aware that sometimes if you make the font too big, you'll see that one line actually gets written over top of the other. Therefore, you might have to play around with font to find your optimal size.

There are a few other things that I think are good to set in preferences. One is whether or not to display the line numbers.

I suggest you check the box for this. This means that each line of your program, or sketch, will be displayed on the left side of the Arduino IDE.

Another preferences I suggest you choose is to verify the code after upload. This won't mean anything to you now, but you'll see later why this it's an excellent idea to check this feature.

The next setting I usually choose is to check for updates on startup. This is not imperative. You can check or uncheck this box depending upon your own personal taste.

It depends on whether or not you want to stay with the same current version the whole time. If you just want the most updated version, you can keep that box checked.

I do recommend, however, keeping the "Update sketch files to new extension" checked.

Basically, this means that whenever you open an Arduino file, it ensure that if the file doesn't have the proper extension, then that file will automatically be converted to .ino.

Arduino files used to have a .pde extension. However, now they are .ino files. That's why it's handy to keep this option active.

Finally, I think having the last preference chosen is a good idea. That setting is to save the file when you are verifying or uploading.

Again, we'll talk about verifying and uploading in depth in later lessons, but just take my word for now that it is always good practice to save as frequently as possible.

Going Old School

Not all versions are the same. It could be that maybe you prefer the look and feel of a previous version. Or maybe you're just really familiar with and used to working within the framework of a certain version.

If you prefer to download and use a previous version of Arduino, never fear. We have a solution for you that like to go old school.

On the Arduino website for downloads, look to the bottom right panel. There is the section for previous releases.

Clicking that will show you a list of all previous releases for each type of operating system, along with the date they were released. Click which you prefer, and from there downloading is the exact same process as before.

Again, this lesson applies to those who own PCs. The next lesson explains this same download, installation, and preference concept, except it is for those that work on a Mac.

Avsnitt(61)

Arduino Course for Absolute Beginners 2nd Edition

Arduino Course for Absolute Beginners 2nd Edition

29 Aug 20173min

What is Arduino?

What is Arduino?

Have you seen some really cool stuff being made with a thing called Arduino? What is Arduino anyway? It sounds like an Italian sandwich with extra cheese or something... Well - it's that and a lot mor...

28 Apr 20174min

How to change the font color in the Arduino IDE

How to change the font color in the Arduino IDE

Have you ever wanted to change the font color in the Arduino IDE? Maybe it is hard for you to read the light grey comments in the Arduino IDE, or maybe you prefer something a little bolder. Whatever y...

27 Apr 20174min

Use Serial.print() to display Arduino output on your computer monitor: Part 2

Use Serial.print() to display Arduino output on your computer monitor: Part 2

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to disp...

26 Apr 20176min

Use Serial.print() to Display Arduino output on your computer monitor: Part 1

Use Serial.print() to Display Arduino output on your computer monitor: Part 1

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to disp...

25 Apr 20178min

How to make a secret knock detector to trigger anything with only an Arduino and a few cheap components

How to make a secret knock detector to trigger anything with only an Arduino and a few cheap components

There are a couple good use-case scenarios for making a secret knock detector using an Arduino. You are a spy who needs to authenticate your cohorts You are a super hero who wants a secret knock to o...

24 Apr 201712min

Arduino Pseudo Random Non-Consecutive Number Generator

Arduino Pseudo Random Non-Consecutive Number Generator

In this video we demonstrate how to create pseudo random numbers with Arduino - with a useful twist. This lesson was inspired by the following viewer question: How do I create Random Non-Consecutive ...

23 Apr 201711min

A Review of Make: Magazine

A Review of Make: Magazine

I don't subscribe to many magazines, but I love my subscription to Make: magazine. And even though I rarely have time to sit down and enjoy a magazine in peace and quiet (parents forget what peace and...

22 Apr 20178min

Populärt inom Utbildning

historiepodden-se
rss-bara-en-till-om-missbruk-medberoende-2
det-skaver
harrisons-dramatiska-historia
alska-oss
nu-blir-det-historia
johannes-hansen-podcast
rss-foraldramotet-bring-lagercrantz
not-fanny-anymore
roda-vita-rosen
rss-viktmedicinpodden
sektledare
allt-du-velat-veta
rss-sjalsligt-avkladd
sa-in-i-sjalen
rss-max-tant-med-max-villman
i-vantan-pa-katastrofen
rss-basta-livet
rib-podcast
rss-traningsklubben