Lesson 1
10 min
Understand what Arduino is, what you can do with it and what hardware to get.
Definition
Arduino is an open-source electronics platform consisting of two elements: a programmable boardequipped with a microcontroller (a tiny computer on a single chip) and free software for writing the programs that control it. It can read information (buttons, sensors) and control components (LEDs, motors, buzzers) to create interactive electronic devices.
Arduino is an open-source platform that makes it easy to create interactive electronic devices. It is based on a small programmable electronic board equipped with amicrocontroller, along with free software for writing the programs that control it.
A microcontroller is a tiny computer on a single chip: it reads information (a button, a temperature sensor...), executes your program, and then controls components (an LED, a motor, a buzzer...). It is the brain of many everyday devices: washing machines, remote controls, toys, thermostats...
The term "open source" means that the board's designs and the software's source code are publicly available. Anyone can study them, modify them, and even build their own version. This is one reason why many compatible boards are available today, often at a lower price than the original board.

Arduino was created in Italy in the early 2000s at an interaction design school. The goal was to provide students who were not engineers with an inexpensive, easy-to-use tool for building prototypes of interactive devices. The project then spread around the world, reaching schools, artists, inventors, and hobbyists.
Today, the Arduino family includes many models, from small, compact boards to more powerful boards with wireless connectivity. In this course, we will focus on the Arduino Uno, one of the most widely used and best-documented boards for beginners.
The possibilities are very diverse. Here are some examples of projects beginners can build after just a few lessons:
All Arduino projects follow the same logic.Sensors (inputs) send information to the board, your program processes it, and then the board controls actuators (outputs).
Let's take the example of an automatic night light. The input is a photoresistor that measures the light in the room. The processingis your program, which decides: "If it is dark, turn on the light." The output is an LED that turns on or off depending on that decision. This sequence repeats hundreds of times per second.

To better understand the rest of the course, remember the following vocabulary. You will encounter these terms in almost every lesson:
HIGHorLOW).An Arduino program is called a sketch. It is written in a language based on C++, but simplified for beginners. Every sketch must contain two functions:
setup(): runs only once when the board starts. This is where you initialize the pins and hardware.loop(): runs repeatedly, without stopping, as long as the board is powered. This is where the main logic is located.You will write your first sketches in a few lessons. For now, simply remember that the board executes your program and continuously repeats the instructions inside the main loop, like a cooking recipe that is repeated over and over again.
To follow this course, the easiest option is to buy astarter kit containing an Arduino Uno (or compatible board), a USB cable, a breadboard, and various components. Here is the list of equipment used throughout the lessons:

Each item in the kit has a specific role. You will discover them in detail throughout the lessons, but here is a first overview:
Safety
In this course, everything operates at low voltage and is powered through the USB cable.Never connect your board or circuits directly to mains electricity (a 230 V wall outlet): it is dangerous. Controlling mains-powered devices requires specialized equipment and knowledge that are not covered in this course.
You will start with the basics of electricity and electronic components, then install the software and make your first LED blink. Next, you will learn to read buttons and sensors, communicate with your computer, control brightness and motors, and finally complete a full project.
Each lesson follows the same approach: a short explanation, a circuit to build, a program to upload to the board, and an exercise to practice. You will therefore learn bothwiring and programming, two complementary skills.
setup()(runs once) andloop()(runs repeatedly).Exercise