First Steps

First steps with Arduino


When you start working with Arduino, it seems that the amount of things you have to learn is overwhelming. You need to know some basics of electricity, electronics, programming and even engineering. And depending on what you want to do, some maths and a lot of physics (Oh, my God!).

We have designed this itinerary thinking on people like you, gentle reader, who, if you are reading this, probably have to start from scratch.

Because of that, these first chapters are thought to lead you, shoulder to shoulder, across the basics you are going to need in the adventure you are starting and to introduce the main ideas in order to follow the course in order.

We will introduce some electronic components that will be used to understand Ohm’s law and we will see the first instructions in Arduino C++, then the programs and some circuits to assemble the prototypes in the solderless breadboard.

The first chapters of this tutorial are intended for someone who wants to get started and knows absolutely nothing about the subject, but who is very keen to learn. And we believe that if you follow us you will be successful. We have done our best to achieve it.


1 – Installation of the Arduino IDE

We will start from the beginning, downloading and installing the Arduino Integrated Development Environment, IDE.

2 – Our first program.

There is always a first time. A very simple program and some basic ideas.

3 – Our first circuit

A circuit to overcome the fear. A LED diode plus a resistor

4 – A circuit with multiple┬áLEDs

If it works with just one LED diode, why don’t we use 8?

5 – Arduino Digital inputs

Arduino’s senses. Perceiving the outside world in digital.

6 – Conditional statements and buttons

We keep on introducing C++ instructions: conditional instructions

7 – Communication with the outside world

The USB ports in Arduino and serial communication

8 – Functions and integers

We keep on working on your knowledge in C++ playing with prime numbers as an excuse.

9 – A program with multiple functions

We know we are going up the hill. Cheer up!, there are stretches like this when we ride on bike.

10 – The almost analog pins

Analog PWM Outputs

11 – RGB LED diodes

A funny chapter! Or how to mix colours with an RGB LED diode.

12 – Arduino and the analog pins

Or how to use analog pins to read continuous values from the outside world.