What Is a Robot?
Robotics Fundamentals
Course 1 · Chapter 1 · What Is a Robot?
Basic Electronics ended with a promise: the parts you learned (sensors, motor drivers, boards, batteries) are the building blocks of a robot. This course explains the robot itself. Each chapter takes one subsystem (the frame, the drive train, the sensors, the controller, the arm, the power supply), says what it does and why it is designed that way, and puts numbers on it. This first chapter gives the overall picture: what makes a machine a robot, the loop at the heart of every robot, the main kinds of robot, how to count the ways a mechanism can move, and how a small robot is laid out, with each part pointing to the chapter of this course that explains it.
You are assumed to have finished Basic Electronics, or to know the same ground (Ohm's law, motors and H-bridges, ADC and PWM, a microcontroller board). No mechanics or control theory is assumed. The history dates and the figures for typical robots below are from memory and approximate: they are there to give a sense of scale and order, so check a source before quoting one.
1. What makes a machine a robot?
There is no single agreed definition, but most share three ideas: a robot is a machine that senses its surroundings, decides what to do using a program, and acts physically on the world, and it does so as a repeating cycle, not as a single fixed sequence. Leave out any one and you have something else.
| Machine | Senses? | Decides? | Acts physically? | A robot? |
|---|---|---|---|---|
| Radio-controlled car | No (the human watches) | No (the human decides) | Yes | No: a remote-controlled machine. The thinking is in the driver's head. |
| Washing machine | A little (water level, door, temperature) | A fixed programme with a few branches | Yes (drum, pump, valve) | Borderline: an automatic machine. It does not adapt to the world beyond a few switches. |
| Thermostat and boiler | Yes (temperature) | Yes (on or off) | Yes (heat) | Usually not called one, but it is the same loop at its smallest: sense, compare, act. |
| Robot vacuum cleaner | Yes (bumpers, cliff, wall and dirt sensors) | Yes (cleaning pattern, obstacle behaviour) | Yes (wheels, brushes, fan) | Yes. |
| Industrial arm on an assembly line | Some (encoders, safety scanners) | A stored, repeated path | Yes | Yes: a programmable manipulator, though it adapts little. |
| Self-driving car | Yes (cameras, radar, lidar) | Yes | Yes (steering, throttle, brake) | Yes. |
2. The sense-think-act loop
Every robot, from a toy buggy to a Mars rover, runs the same cycle many times a second:
The loop is closed through the world: what the robot does changes what it next senses. That is why a robot can correct its own mistakes (the line curved, so turn more) and also why it can go wrong in ways a fixed machine cannot (it turns too much, senses the line on the other side, turns back, and oscillates). Chapter 7 of this course, Robotics Fundamentals 7, is about making that loop behave.
The loop in pseudocode
This is deliberately hardware-neutral. The function names stand for whatever your board's library calls them (Basic Electronics 10 covered the reading and driving side). Real board code belongs to the planned course Programming for Robotics.
Three things are worth noticing already. The program is just three steps in a loop. The quality of the robot is in the details of each step (how good the sensors are, how smart the decision is, how well the motors respond). And the loop has a rate, which the next section shows is a safety number, not a detail.
Loop rate and reaction distance
A robot does not react instantly. Between something happening in the world and the robot's response taking effect, time passes in four places: the sensor takes a while to produce a reading, the reading waits for the next pass of the loop (up to one whole period), the program takes time to compute, and the motors and driver take time to respond. In the worst case the delays add:
The lesson is the square in the braking distance: doubling the speed quadruples the braking distance, while the reaction part only doubles. A faster loop shortens the reaction distance, but at high speed the braking dominates, and the real fix is to slow down, brake harder, or see further. The same arithmetic is behind the stopping distances in the Highway Code.
Levels of autonomy
| Level | Who senses and decides? | The human's job | Example |
|---|---|---|---|
| Teleoperated | The human, through the robot's cameras and controls | Everything except the physical doing | A bomb-disposal robot; a surgical robot arm (the surgeon drives it) |
| Supervised or shared | The robot handles the details, the human the goals | Choose the target, watch, step in | A drone flying to a waypoint; a robot vacuum with a phone app |
| Autonomous | The robot | Set the task, maintain it | A warehouse robot moving shelves; a Mars rover between commands |
3. The main kinds of robot
Robots are named by how they move or what they do. Each type is a different answer to the same question: how do you get a controllable body to move through (or work on) the world?
| Type | How it moves | Strengths | Weaknesses | Example |
|---|---|---|---|---|
| Arm (manipulator) | A fixed base; a chain of joints and links moves a hand or tool | Fast, precise, strong; mature technology | Cannot go anywhere; limited reach | Factory welding or pick-and-place arm (Robotics Fundamentals 9) |
| Wheeled | Wheels or tracks on flat or rough ground | Simple, efficient, cheap, stable; the easiest to build | Stairs, steps and soft ground defeat it | Robot vacuum, line follower, warehouse rover (Robotics Fundamentals 4) |
| Legged | Legs that lift and place the feet | Rough terrain, stairs, steps | Complex, costly in energy, harder to control | Four-legged inspection robots, hexapod kits |
| Aerial (drone) | Propellers that hold the body in the air | Fast, unaffected by ground obstacles, wide view | Short endurance, constantly fighting gravity, small payload | Quadcopters (multirotors) |
| Humanoid | Two legs, two arms, a head: the human shape | Fits spaces and tools designed for people | The hardest balance, the highest cost and complexity | Research and developing commercial humanoids |
| Others | Swimming, crawling, climbing, rolling | Suited to one environment | Narrow | Underwater vehicles, pipe crawlers, snake robots |
4. Degrees of freedom
The degrees of freedom (DOF) of a body or mechanism is the number of independent numbers needed to say where every part of it is. It is the first number to ask about any robot, because it says how many things the robot can do, how many motors it needs, and how hard the control will be.
A free body
- A rigid body on a flat floor (a plane) has 3 DOF: two for its position (x and y) and one for its heading (θ).
- A rigid body in space has 6 DOF: three positions (x, y, z) and three rotations (roll, pitch, yaw).
A drone is a 6-DOF body. A robot arm's hand needs 6 DOF to be put at any position and any orientation within reach, which is why industrial arms usually have six joints. An arm with fewer joints cannot reach every pose; one with seven or more is redundant (it has spare freedom, useful for avoiding obstacles).
Counting a mechanism: Gruebler's formula
A mechanism is a set of rigid links connected by joints, with one link fixed (the ground). Each link added is a free body; each joint removes freedom. For a mechanism that lies in a plane, Gruebler's formula (also called the Chebyshev-Gruebler-Kutzbach criterion) counts the result:
Degrees of freedom of robots
For a robot we separate two numbers: the DOF of the whole body in the world (how it can be placed), and the number of actuators (motors) it has. When actuators are fewer than the body's DOF, the robot is underactuated.
| Robot | Body DOF | Actuators | Comment |
|---|---|---|---|
| Two-wheeled differential drive on the floor | 3 (x, y, θ) | 2 (one per wheel) | It can reach any pose but cannot slide sideways: a non-holonomic constraint. Parking takes a manoeuvre (Robotics Fundamentals 4). |
| Omni-wheel or mecanum platform | 3 | 3 or 4 | Can move in any direction at once, at the cost of complex wheels (holonomic). |
| Six-joint industrial arm | 6 (the hand) | 6 | Fully actuated: one motor per DOF. A gripper adds one more. |
| Quadcopter | 6 | 4 (rotors) | Underactuated: it cannot move sideways without first tilting, and the controller handles that for you. |
| Quadruped with 3 joints per leg | 6 for the body + 12 joints = 18 | 12 | The body's own 6 DOF are not directly driven: they are controlled through the feet's push on the ground. |
| Humanoid (a typical research design) | 6 for the trunk + the joints (often 20 to 30) | 20 to 30 | Many actuators, and balance on two feet is the hardest part. |
More DOF means more capability, and more cost, weight, wiring, power and control effort. A good robot has just the freedom the task needs: a line follower has two driven wheels, not six.
5. Autonomy, endurance and availability
Autonomy means little if the robot is flat. The energy budget of Basic Electronics 11 (E = V × C, usable energy 0.8 × E, runtime = energy / power) applies to every robot, and two more numbers follow from it: how long a robot works on a charge, and what fraction of the time it is ready.
6. A short history
The dates below are from memory and are approximate to the year; they show the order in which the ideas appeared, not exact records.
| When | What | Why it mattered |
|---|---|---|
| 1921 | Karel Capek's play R.U.R. introduces the word “robot” (from the Czech robota, forced labour; the word is credited to his brother Josef) | The name and the long-lasting idea of artificial workers |
| Late 1940s | W. Grey Walter's “tortoises” in Bristol: small wheeled robots with a light sensor, a bump sensor and a few vacuum-tube circuits | Showed that a few simple reactions could produce lifelike behaviour (seeking light, returning to a charger) |
| 1950s to 1961 | George Devol patents a programmable arm; the Unimate, built with Joseph Engelberger, starts work in a General Motors plant in 1961 | The first industrial robot: a repeatable, programmable arm |
| Late 1960s to early 1970s | “Shakey” at the Stanford Research Institute: a wheeled robot with a camera and a range finder that planned its own moves | An early robot that sensed, planned and acted, and a source of path-planning ideas still in use |
| 1970s | Electric arms such as the Stanford Arm and the PUMA; the first humanoid-style research robots in Japan | Smaller, electrically driven, computer-controlled arms became the industrial standard |
| 1997 | NASA's Sojourner rover explores Mars (Mars Pathfinder mission) | A robot working millions of kilometres from any human; semi-autonomous because radio signals take minutes |
| 2000 to 2005 | Honda's ASIMO humanoid walks in public; the iRobot Roomba (2002) brings robots into homes; a Stanford vehicle wins the DARPA Grand Challenge (2005) | Walking, mass-market cleaning robots and long-distance driverless vehicles all became practical |
| 2010s to now | Large warehouse fleets (Amazon bought Kiva Systems in 2012), commercial legged robots, cheap drones, low-cost kits and open-source software | Robots in logistics and inspection, and robotics reachable by hobbyists and students |
7. Anatomy of a small robot
Here is a small two-wheeled robot of the kind you will design on paper through this course and build in Robotics Fundamentals 10: a chassis carrying two geared motors, a controller board, an ultrasonic distance sensor, three line sensors, two wheel encoders and a battery. Look at its parts as the three steps of the loop plus the power that feeds them.
Each subsystem and where it is covered
| Subsystem | What it does | Parts in the small robot | Covered in |
|---|---|---|---|
| Structure | Holds everything in place, takes the loads, sets the stability | Chassis plate, motor mounts, standoffs, fasteners, a caster | Robotics Fundamentals 2 |
| Actuation and transmission | Turns electrical energy into motion with the right torque and speed | Two geared DC motors, wheels | Robotics Fundamentals 3, with the motor model from Basic Electronics 9 |
| Drive system | Arranges the wheels so that the robot can steer and its motion can be calculated | Differential drive (two powered wheels, one free caster) | Robotics Fundamentals 4 |
| Sensors | Measure the world and the robot itself | Ultrasonic distance, line sensors, bumper switches | Robotics Fundamentals 5, with ADC and analogue signals from Basic Electronics 7 |
| Position and feedback | Tell the robot how far and how fast it moved, and which way it faces | Wheel encoders; an optional inertial sensor | Robotics Fundamentals 6 |
| Control | Makes a motor or the robot follow a target by correcting the error | A speed loop on each wheel, a steering loop for the line | Robotics Fundamentals 7 |
| Behaviour | Chooses what to do now: follow the line, avoid an obstacle, stop | A small state machine in the program | Robotics Fundamentals 8 |
| Manipulator (if fitted) | Reaches out and handles objects | Not on this robot; a servo arm could be added | Robotics Fundamentals 9 |
| Power and safety | Supplies energy, protects people and parts | Battery, fuse, switch, regulator, battery monitor, an emergency stop | Robotics Fundamentals 10, with Basic Electronics 9 and Basic Electronics 11 |
| The controller | Runs the loop | A Pico-class board (Basic Electronics 10 and Basic Electronics 11 explain the choice) | Programmed in the planned course Programming for Robotics |
Notice how the subsystems depend on each other: the motors chosen in Robotics Fundamentals 3 decide how heavy the battery must be (Robotics Fundamentals 10), which changes the weight the structure carries (Robotics Fundamentals 2). Robot design is mostly a loop of its own: choose, calculate, discover a conflict, change. This course keeps one small robot in mind through every chapter so that those links are visible.
8. Challenges
Quick reference
- A robot: senses, decides with a program, and acts physically, in a repeating loop closed through the world
- The loop: sense, think, act, then wait for the next period; the loop rate is f = 1/T
- Latency: t(lat) = t(sensor) + T + t(compute) + t(actuator); reaction distance = v × t(lat); braking distance = v²/(2a); doubling the speed quadruples the braking distance
- Types: arm, wheeled, legged, aerial, humanoid, others; a wheeled robot and a small arm teach most of the ideas
- DOF: a rigid body has 3 (plane) or 6 (space); planar mechanisms M = 3(n − 1) − 2 j1 − j2; spatial M = 6(n − 1) − 5 j1; underactuated means fewer actuators than DOF
- Endurance: t(run) = 0.8 × V × C / P; availability A = t(run) / (t(run) + t(recharge or swap))
- Anatomy: structure (2), motors and gears (3), drive (4), sensors (5), feedback (6), control (7), behaviour (8), arms (9), power, safety and the build (10)
Next, Robotics Fundamentals 2 turns to the body of a robot: frames and materials, levers, linkages and joints, why centre of gravity decides whether a robot tips over, and how 3D-printed and laser-cut parts are designed and joined with fasteners.