Arduino for Beginners: Where to Start

What Arduino is, which board to choose (Uno, Nano, Mega, ESP32), what you need for a first project and the order to learn in: from an LED to a robot.

Published 4 min readBy the RoboHub team

An Arduino Uno R4 WiFi board with a USB-C port, a Wi-Fi module and a red LED matrix
In this article

Arduino is a small programmable board that reads sensors and drives LEDs, motors, displays and buzzers. You write the code on a computer, upload it over a USB cable, and the board runs it on its own. That's why Arduino is the most common first step into robotics and electronics: at school, at university and at home.

Which board to choose

BoardBest forKeep in mind
Arduino Uno (R3 or compatible)Your first stepsMost guides and examples are written for it
Arduino Uno R4 WiFiWi-Fi and a built-in LED matrixA newer microcontroller: some older libraries may not work
Arduino NanoSmall robots, breadboard buildsThe same pins as an Uno (plus A6 and A7) in a compact size; often comes unsoldered
Arduino Mega 2560When you need many pinsBig: it won't fit a small robot
ESP32Projects controlled over the internetRuns on 3.3 V: don't wire a 5 V sensor straight to it

If you don't know where to start, pick an Uno or a compatible version. Once you know the basics, moving to a Nano is easy, because the code is the same.

What you need for a first project

  • A board and a USB cable (an Uno R3 needs a USB-B cable; newer boards often use USB-C).
  • A breadboard: it lets you connect parts without soldering.
  • Jumper wires (Dupont): male-to-male and male-to-female.
  • LEDs and resistors (220–330 Ω), a few buttons, a potentiometer, a buzzer.
  • A few simple sensors: light, temperature, and an HC-SR04 ultrasonic distance sensor.

The easiest way is a learning kit with all of this in one box. At RoboHub you'll find such kits and the individual parts under Arduino for beginners.

Arduino pins in brief

The pins on an Uno or a Nano fall into a few groups, and knowing them saves you half the mistakes:

  • Digital pins (D0–D13): they know two states, on (HIGH, 5 V) and off (LOW, 0 V). You connect LEDs, buzzers, buttons and sensors' digital outputs here. D0 and D1 carry the USB connection, so leave them free at first.
  • PWM pins (marked ~, e.g. 3, 5, 6, 9, 10, 11): they switch on and off very fast, so they can dim an LED or vary a motor's speed smoothly.
  • Analogue pins (A0–A5): they measure a voltage as a number from 0 to 1023. Photoresistors, potentiometers and analogue sensors go here.
  • Power pins: 5V and 3V3 power the sensors, GND is the common ground, and VIN takes an external supply (7–12 V on an Uno or a Nano).

First steps

  1. Download and install the Arduino IDE (it's free, at arduino.cc).
  2. Plug in the board, then choose the board type and the port in the Tools menu.
  3. Open the Blink example and upload it: the board's LED starts blinking. Everything works.
  4. If no port shows up, try another cable (some cables only charge) or install the CH340 driver.

Our first guide, Blink an LED, takes you through exactly these steps.

The order to learn in

  1. Outputs: switch an LED on and off, then several together (a traffic light).
  2. Inputs: a button and a potentiometer, reading values in the Serial Monitor.
  3. Sensors: light, temperature, distance (a parking sensor).
  4. Motion: a servo (control a servo with a knob), then DC motors through a driver.
  5. A project: everything together, for example a car that avoids obstacles.

Learn one new thing at each stage. If you wire everything at once and it doesn't work, you won't find the mistake.

Common mistakes

  • An LED without a resistor: the LED and the board's pin can be damaged. Always use a 220–330 Ω resistor.
  • A motor straight on a pin: a pin gives only about 20 mA. A motor needs a driver (L298N, TB6612FNG) and its own supply.
  • Separate grounds: when a separate battery powers the motors, connect its "−" to the board's GND.
  • 3.3 V and 5 V: the ESP32 and some sensors run on 3.3 V. A 5 V signal can damage them; use a logic level shifter.
  • A servo on the board's 5V: one small SG90 is fine, but several servos or an MG996R need their own supply.

Next step

Once LEDs and sensors feel easy, try a robot: a line-following car or a mini-sumo robot. Every one of our projects has the code, the wiring diagram and the parts list.

Prices and stock change often, so articles leave them out: the product page always has them.

Questions and answers

From what age can you learn Arduino?

Simple projects from about 10, and earlier with an adult's help. Each of our guides shows a recommended age and difficulty.

Should I get an Uno or a Nano?

For learning, the Uno is handier: wires plug straight into it. The Nano runs the same code and fits better in a small robot.

Do I need to know programming?

No. Arduino code is C++ with a set of simple ready-made functions, and you learn it from examples. Our guides include the complete code, with comments.

Do I have to solder?

Not at first: on a breadboard everything connects without solder. An unsoldered Nano or motor driver needs its header pins soldered on.

More articles

All articles