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

The first Arduino microcontroller is also the most well-known: the Arduino UNO. Its development began in 2003 in Italy. A group of students developed it with the goal of creating an affordable and easily programmable microcontroller for hobbyists and students.

And they succeeded. In 2005, the Arduino UNO was born – and it didn’t take long before it won the hearts of makers around the globe.

Der erste Arduino-Prototyp
The first Arduino prototype, photo: Philliptorrone, Wikipedia

 

The first Arduino prototype The first Arduino prototype, Photo: Philliptorrone, Wikipedia Even today, for many people it’s still the first microcontroller they hold in their hands. It’s affordable in its original form and even more affordable as a clone. It also offers convenience when building projects and programming. Let’s take a look at its most important features and components together.

The Brain: ATmega328P

No microcontroller without a microchip. For the Arduino UNO, this is the ATmega328P, which sits centrally in a socket on the Arduino board.

ATmega328P

ATmega328P Microchip ATmega328P Your uploaded programs land on this chip – for which you have 32KB available. Measured against modern storage media, that sounds like nothing, but you’ll see that you can already do an incredible amount with it.

If you take a closer look at the ATmega328P, you’ll see that it has 28 “legs” – called pins. You can program 23 of these pins. When you turn your Arduino UNO over, you can see the circuit traces that lead to the sockets on the sides of the board, among other things.

So if you plug an LED into socket A5 here, you’re connecting it to the corresponding pin on the microchip.

The Most Important Pins of the Arduino UNO

Next, let’s take a look at the pins we’ll need throughout the course.

Arduino Uno Power- und Analog-Pins

 

Here we first have pins that are labeled Power. The two GND pins serve as the “negative pole” or “ground.” This means you can connect the cathode (minus) of an LED here, for example, to close the circuit in which it’s located.

Eine LED am Arduino UNO

 

An LED on the Arduino UNO An LED on the Arduino UNO In the sketch above, you can see that the anode (plus) of the LED is connected to 5 volts via a current-limiting resistor. Its negative pole leads directly to GND. You’ll learn more about LEDs and resistors later.

This leads us directly to the two pins 5V and 3V3. Through these, you can power components – like the LED above. Depending on how much voltage (Volts) they require, you have either 5 Volts or 3.3 Volts available. Most hobby components such as servo motors, sensors, etc. require one of these two voltages.

The only pin left is VIN. You can use this to power the Arduino UNO – but we’ll take a closer look at that shortly when we talk about power supply.

The Analog Pins

First, let’s look at the analog pins A0 to A5. With these six pins, you can “measure” signals that can change continuously. In fact, these are changing voltages between 0 and 5 volts. An example is a temperature sensor that changes its output signal (i.e., the voltage) when it gets warmer or colder.

This voltage is converted in the Arduino by a so-called Analog-Digital Converter (ADC) into a corresponding number from 0 to 1023:

 

In the simulation above, you can see the TMP36 sensor on the Arduino UNO. By adjusting the temperature, the numbers on the right change. The analog pins are therefore useful whenever you want to measure a variable signal – and not just either a zero or a one. However, you cannot output a variable signal via the analog pins; that’s only possible via some of the digital pins – which brings us directly to the other side of the Arduino UNO.

The Digital Pins

Here you’ll find a total of 13 digital pins. However, only pins 2 to 13 are available for your projects – pins 0 and 1 are reserved for something else and cannot be programmed.

With the digital pins, you can measure and output the signals zero (off) and one (on). This means, for example, that you can turn an LED on and off via one of the pins. Or you can measure whether a button has been pressed.

Some of the digital pins are marked with a tilde (~). Through these pins, you can achieve what you might have expected from the analog pins: you can output an analog, or variable, signal. This allows you to, for example, make an LED shine with different brightness levels.

The technical term for this is Pulse Width Modulation (PWM). You will learn more about this topic in later lessons. There you’ll put PWM into practice.

Restarting the Arduino

Finally, let’s take a look at a button located on your Arduino UNO next to the USB socket: the reset button. If you want to restart your Arduino, simply press this button and its code will start over from the beginning.

And that’s it for now. You now know the most important components of your Arduino UNO that we’ll be using throughout the course.

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