Education › Robotics › Stage 1: Foundations — get started

What robotics is, and where to start

The disciplines, the kinds of robots, and a concrete roadmap from zero to your first working machine.

Beginner ~30 min read Module 1 of 16

Robotics is the one field of engineering you can hold in your hands. It joins mechanics, electronics and code into a machine that senses the world, decides what to do, and then acts on it. This first lesson maps the whole field, shows you the kinds of robots and which one to build first, explains the three skills you will grow, and gives you a concrete roadmap from knowing nothing to a robot moving across your desk.

After this module you can
  • Define a robot in terms of the sense–think–act loop, and tell a robot apart from a toy or a fixed machine
  • Name the main kinds of robots and choose a sensible, cheap first project
  • Describe the three skill areas robotics combines and where each one matters for a beginner
  • Follow a step-by-step roadmap from zero to a first working robot

What a robot actually is

A robot is a machine that senses its surroundings, decides what to do about them, and acts to change something — and does this repeatedly, with some degree of autonomy. That last part matters. A lamp acts (it lights up) but senses and decides nothing. A remote-control car senses and acts, but *you* are doing the deciding, so it is a vehicle, not a robot. A Roomba senses walls and dirt, decides where to go, and drives itself — that is a robot.

The engine underneath every robot is the sense–think–act loop. A sensor turns something physical (distance, light, rotation, an image) into a number. A controller — a small computer running your program — reads those numbers, decides, and sends commands. An actuator (a motor, a servo, a wheel) turns those commands back into physical motion. The loop runs over and over, often dozens or hundreds of times a second, which is what makes the machine seem alive.

  • Sense — sensors measure the world and produce numbers (distance in centimetres, a wheel's rotation, a camera frame).
  • Think — the controller runs your code: read the sensors, apply logic, decide the next action.
  • Act — actuators execute the decision by moving something (spin a wheel, turn a joint, blink a light).
Note

Autonomy is a spectrum, not a yes/no. A line-following robot is barely autonomous; a self-driving car is highly autonomous. You will build up that spectrum one sensor and one decision at a time.

The kinds of robots — and which to start with

Robots come in a few broad families, and picking the right one to start with saves you money and frustration. The families differ in how they move and what they are for.

FamilyExampleGood first robot?
Mobile (wheels/tracks)Roomba, a rover, a line-followerYes — cheap, safe, forgiving
Manipulator (arms)Factory arm, a desktop servo armLater — motion is trickier
Aerial (drones)QuadcopterNo — crashes are expensive
Legged / humanoidBoston Dynamics SpotNo — hard and costly

Start with a small wheeled mobile robot. It is the best teacher: it is inexpensive, it fails gently (it bumps a wall rather than falling from the sky), and it exercises everything at once — a sensor to see obstacles, motors to move, and a control loop to tie them together. A two-wheeled robot that avoids obstacles or follows a line is the classic, and rightly so. You can build one for the price of a few coffees, and everything you learn transfers to bigger robots later.

The three skills robotics combines

Robotics sits where three disciplines meet. You do not need to master all three before you start — you grow them together, and a kit handles the parts you are not ready for yet.

  • Mechanical — the body: the chassis, wheels, joints and how forces move through them. For your first robot this is a pre-made kit chassis, so you can ignore most of it at first.
  • Electronics — the nervous system: power, wiring, and the signals between the controller, sensors and motors. You need the survival basics (the next lesson), no more.
  • Software — the brain: the program that reads sensors and commands actuators. This is where most of your time and most of the fun will be.

For a beginner, software and electronics matter most, because the mechanical side can be bought as a kit. That is good news: it means you can start building intelligent behaviour on day one instead of machining parts. As you advance, you will care more about mechanics — how a robot arm reaches, how a drive train handles a slope — but that is a problem for future you.

The 'hello world' of robotics

Every robotics journey begins with the same tiny milestone: blinking an LED. It looks trivial, and it is — but it proves your whole toolchain works end to end: the board, the cable, the code, and the upload. If you can make a light blink, you can make a motor spin; the rest is detail. Here is the classic Arduino sketch.

cpp
// Blink the built-in LED — the 'hello world' of robotics.
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);   // tell the board this pin drives an output
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH); // LED on
  delay(500);                      // wait half a second
  digitalWrite(LED_BUILTIN, LOW);  // LED off
  delay(500);
}

Notice the shape: a setup() that runs once to configure the hardware, and a loop() that runs forever. That loop() *is* the sense–think–act loop in miniature. Swap the LED for a motor and add a sensor read at the top, and you have a robot. This structure — set up once, then loop forever — is how almost every microcontroller robot is written.

A roadmap from zero to a first robot

Here is the order that works, each step building on the last. Do not skip ahead — every step is a checkpoint that isolates one new thing so that when something breaks, you know where to look.

  1. Get a microcontroller board and a starter kit (the next two lessons cover exactly what and where to buy, cheaply).
  2. Blink an LED — prove the toolchain works.
  3. Read one sensor (a button, then an ultrasonic distance sensor) and print its value to your screen.
  4. Drive one motor through a motor driver — never straight from the board.
  5. Combine sensor plus motors into a behaviour: follow a line, or stop before a wall.
  6. Add a Raspberry Pi and a camera for vision, once the basics are solid.
  7. Learn ROS 2 and simulation to design bigger robots without buying more parts.
Tip

Do not buy everything at once. A single ~$30 starter kit covers steps 1 through 5. Add the Raspberry Pi and camera only when you reach step 6 — you will understand what you need far better by then, and you will not have wasted money on parts you never used.

Hands-on practice

Design your first robot on paper

  1. Write out the sense–think–act loop for a robot that stops before it hits a wall: name the sensor, the decision rule, and the actuator.
  2. Choose the family for your first robot (mobile, arm, aerial, legged) and justify the choice in one sentence.
  3. List which of the three skills — mechanical, electronics, software — each part of your wall-stopping robot mainly involves.
  4. Write the loop() in plain English: what does the robot read, decide and do on each pass?
  5. From the roadmap, identify which step you are on today and which single thing you need to buy or learn to reach the next one.
Cheat sheet

What robotics is, and where to start — at a glance

Main things to focus on

  • A robot senses, thinks and acts — repeatedly and with some autonomy.
  • The sense–think–act loop is the engine of every robot.
  • Start with a cheap wheeled mobile robot; avoid drones and humanoids at first.
  • Software and electronics matter most for a beginner; a kit handles the mechanics.
  • Blink an LED before anything else — it proves your whole toolchain works.
  • Build up one step at a time so failures are easy to locate.

Core terms

Sensorturns something physical into a number the controller can read
Actuatora component that moves — a motor, a servo, a wheel
Controllerthe small computer running your program (the 'brain')
Autonomyhow much the robot decides for itself, from none to full
Degrees of freedomthe independent ways a robot can move

The loop

Senseread the sensors into numbers
Thinkrun the logic and decide the next action
Actcommand the actuators to carry it out

Robot families

Mobilemoves on wheels or tracks — best first robot
Manipulatoran arm that reaches and grips
Aerialflies — a drone; expensive to crash
Leggedwalks; hard and costly, for later

Getting-started order

Blinkmake an LED flash — prove the toolchain
Readread a sensor and print its value
Drivespin a motor through a driver
Combinesensor + motors = a first behaviour

Common pitfalls

  • Buying every part at once before you know what you need — a starter kit covers the first five steps.
  • Starting with a drone or humanoid; the failures are expensive and the learning curve is brutal.
  • Wiring a motor straight to the board — motors need a driver, or you will damage the board.
  • Ignoring power: an underpowered or wrongly wired supply is the most common reason nothing works.
  • Building the whole robot at once, so that when it fails you cannot tell which part is wrong.
Quiz

Check your understanding

5 questions · 4 to pass · answers are explained as you go. Your best score is saved on this device only.

Progress and quiz scores are saved in this browser only. Back up or restore on the hub.

Was this lesson useful? Tell me what to improve →