Course Content
The Arduino UNO
In the following three lessons, you will get to know your microcontroller - the Arduino UNO. You will learn more about its history, its functions, and most importantly: how to power it.
0/3
The Arduino IDE
For beginners, the Arduino IDE (Integrated Development Environment) is usually the first choice – and for good reason. You can program all Arduino boards with it and manage libraries for sensors, displays, etc. It also features the "Serial Monitor," where you can output data and troubleshoot.
0/2
Your first sketch
In the following lessons, you'll get to know the basic structure of an Arduino sketch and write your own programs. Let's get started!
0/2
The Serial Monitor
Now let's turn our attention to the Serial Monitor – a feature of the Arduino IDE that you will use in virtually every one of your projects.
0/2
Variables
No programmer can avoid variables. In the following lessons, you'll learn what types there are and what you can do with them.
0/3
Controlling an LED
Now it's time for more hardware! In the next lessons, you'll connect an LED to your Arduino. You'll first turn it on and off with a button. After that, you'll build a dimmer to control the brightness of the LED.
0/6
Lie Detector
Discover the entertaining side of electronics by building your own simple lie detector with your Arduino. This fun project uses basic components to measure skin resistance changes when someone might be telling a fib, perfect for adding some playful suspense to your next gathering with friends.
0/1
There’s music inside!
Your Arduino can do much more than "just" make LEDs shine at different brightness levels. For example, it can make music. In the following lesson, you'll learn how to use a piezo buzzer and coax some charming tones out of it.
0/3
A Theremin with Ultrasound
Do you want to make a bit more music? In this lesson, you'll build a theremin that you operate with your HC-SR04 ultrasonic sensor. You move your hand toward and away from the sensor - your Arduino calculates the pitch of the tones from the distance, which are then played through your piezo buzzer.
0/5
The Sound Sensor
Ready to explore how your Arduino can respond to sounds? In this lesson, we'll connect a sound sensor to your Arduino and learn how to make it respond to both digital noise detection and analog volume levels.
0/1
Build an Alarm System
In this project, you will build your own alarm system. It consists of three components: the sound sensor, which you have just learned about, the active piezo buzzer, and the RGB LED.
0/2
The DHT11 Temperature Sensor
Let's move on to another component that you'll certainly use in many projects: the temperature sensor. In this case, the popular DHT11, which can measure not only temperature but also humidity.
0/3
Arduino Course for Beginners

When you start the Arduino IDE for the first time, nothing extraordinary happens. There’s no welcome screen, no tutorial, and no tour of the program. That’s why we’ll take care of that now. 🙂

In this and the following lessons, we’ll be working with the Mac version of the Arduino IDE. However, the program is largely identical on other operating systems.

The Code Window

After starting the program, a window opens for the code – also called a “sketch” in the Arduino world. We’ll look at this in more detail later, but first, let’s take a look at the buttons located in the upper area of the window. Here you’ll find important functions that you’ll need again and again when programming your Arduino.

Arduino IDE

From left to right, these are:

(1) Verify: Clicking this button checks your code for errors. If the Arduino IDE finds an error, the corresponding line is highlighted in red, and the error message, often with a hint, is displayed at the bottom of the window.

(2) Upload: This button uploads your sketch to the Arduino. Before uploading, the code is always checked for errors first.

(3, 10) Debug: This helps you track down errors in your code. This function is only available for the boards listed here.

(4) Board: The selected microcontroller that you’re programming with the IDE.

(5, 6) Serial Plotter/Monitor: These buttons open the Serial Plotter or Monitor, provided your Arduino is connected to your computer. We’ll work more with the Serial Monitor later.

(7) Sketchbook: Here you’ll find your saved sketches.

(8) Board Manager: This allows you to make microcontrollers available in the IDE.

(9) Library Manager: Here you’ll find libraries that you can install and use.

(11) Search: Correct, with this function you can search for a specific part in your sketch.

The Menu Bar

In addition to the functions within the window for your code, there’s also a menu bar at the top. Here you’ll find the functions listed above – but also much more.

Arduino IDE Menu

 

First, however, let’s take a look at the Tools menu. Here, next to Board:, you’ll find the microcontroller currently being used in the Arduino IDE.

Arduino IDE Tools Menu

 

If Arduino Uno is not already showing here, click on the menu item and first select Arduino AVR Boards. Now another submenu will open where you can select the Arduino Uno.

Have you already connected your Arduino to your computer? If not, do that now.

Also in the Tools menu, you’ll find the Port entry. Select the USB port where your Arduino is connected. That’s all you need to do initially to be able to program your Arduino with the IDE.

Information and Error Messages

Finally, let’s look at the bottom area of the window. Here you’ll find a section where information, hints, and error messages are displayed. For example, if you’ve successfully loaded a sketch onto your Arduino, you’ll see something like this:

An error message, on the other hand, might look something like this:

Here the problem is a microcontroller that’s not connected to the computer. The Copy error message button is often practical. It copies the message to the clipboard so you can immediately use it in a search engine. You’ll see that search engines are often your best friend when programming – not just as a beginner. 😉

In the next lesson, we’ll turn to the code – and you’ll write your first sketch.

We don't track you. Enjoy your cookies while making awesome projects!