Arduino IDE and Sketch Overview

Arduino IDE and Sketch Overview

IDE stands for Integrated Development Environment. Pretty fancy sounding, and should make you feel smart anytime you use it. The IDE is a text editor like program that allows you to write computer code for your Arduino board.

When you open up the Arduino program, you are opening the IDE. It is intentionally stream lined to keep things as simple and straightforward as possible. When you save a file in Arduino, the file is called a sketch - a sketch is where you save all the computer code that you have written.

Lets take a look at some of the buttons on the IDE.

The button that looks like a checkmark is called "verify". When you press this, your code will be compiled and any errors will be displayed in the window at the bottom. The short cut key for verify is Control + R.

The button in the shape of an arrow pointing right is the upload button. When you press this, the sketch will be uploaded to your Arduino board. The short cut key for upload is Control + U.

The button on the far right side of the screen is the serial monitor button. When you use the serial monitor functions, you can send and receive information from your Arduino board while it is running. We will talk much more about serial monitor later, but I just wanted to point it out now. The shortcut key for serial monitor is Shift + Control + M.

*Try On Your Own:

This course is based around the example sketches provided with the Arduino IDE. Open up your Arduino IDE and go to File - Example - 01.Basics and open up three different sketches. Try loading the sketches to your Arduino using the mouse and the key board short cuts.

*Further Reading:*

Check out this Arduino.cc webpage and see if you can identify a couple things you learned and pick up on other things I did not cover.

Episoder(61)

How to read voltages with analogRead()

How to read voltages with analogRead()

In the last lesson you learned about using the analogRead() function to collect data from a sensor connected to one of the Arduino analog pins. The range of data we received from the analogRead() func...

12 Mar 201714min

analogRead() and the Serial Port

analogRead() and the Serial Port

Knowing if something is on or off can be extremely useful, but often you will want to know more. How bright is the light? How fast is the satellite moving? These types of answers are often analog – th...

11 Mar 201712min

digitalRead() and the Serial Port

digitalRead() and the Serial Port

As simple as it may seem, knowing when something is either on or off can be a great tool for designing something useful. This lesson will answer the following questions: Is a button being pressed? Has...

10 Mar 201721min

How to Blink an LED with Arduino

How to Blink an LED with Arduino

The first program you usually write when learning a new programming language is called, "Hello World". Its only function is to display the words "Hello World" on the computer monitor. When learning to...

9 Mar 201714min

Understanding Variables

Understanding Variables

Let's have a discussion about a powerful and semi-confusing programming topic – variables. Arduino code variables are like buckets. You choose what types of stuff you want in the bucket and can change...

8 Mar 201711min

Understanding Arduino Syntax

Understanding Arduino Syntax

Arduino Code & Syntax Overview As you learned in Module 01, IDE stands for Integrated Development Environment. Pretty fancy sounding, and should make you feel smart any time you use it. The IDE is a t...

7 Mar 201710min

Download & Install the Arduino IDE

Download & Install the Arduino IDE

One of the absolute best things about the Arduino IDE and platform is how easy it is to get started. The software that is installed on your computer is completely free and designed specifically for ea...

5 Mar 20175min

Populært innen Fakta

mikkels-paskenotter
fastlegen
dine-penger-pengeradet
relasjonspodden-med-dora-thorhallsdottir-kjersti-idem
foreldreradet
treningspodden
rss-strid-de-norske-borgerkrigene
jakt-og-fiskepodden
sinnsyn
rss-kunsten-a-leve
hverdagspsyken
rss-var-forste-kaffe
fryktlos
rss-kull
gravid-uke-for-uke
rss-bisarr-historie
lederskap-nhhs-podkast-om-ledelse
hagespiren-podcast
takk-og-lov-med-anine-kierulf
tomprat-med-gunnar-tjomlid