Robotics From Zero
Module: What Is A Robot

Introduction to Robots

Learn what makes a robot a robot — sensors, actuators, and the software that connects them.

8 min read

What Makes a Robot?

You've probably seen robots in movies — humanoid machines with glowing eyes and questionable motives. Real robots are usually less dramatic but far more interesting. They're the machines that vacuum your floor, weld car frames, explore Mars, and perform surgery with millimeter precision.

Industrial robot arms welding car frames on an automated assembly line in a factory
Robot arms on an automotive assembly line — these industrial robots perform the same welding task thousands of times per day with millimeter precision.

So what actually makes something a robot? Let's break it down.

The Three Ingredients

Every robot, from a $30 kit to a million-dollar industrial arm, has three essential parts:

  1. Sensors — how the robot perceives the world
  2. Actuators — how the robot acts on the world
  3. Software — the brain that connects perception to action

That's it. A camera sees an obstacle, the software decides to turn left, and a motor executes the turn. This loop — sense, think, act — is the heartbeat of every robot.

Sense-Think-Act loop — the fundamental cycle of robot operation with sensors, computation, and actuators
The Sense-Think-Act loop: every robot continuously perceives, decides, and acts — 10 to 1000+ times per second.
Tip

A common way to remember this is the STA loop: Sense → Think → Act. Every piece of robot software fits somewhere in this loop.

TurtleBot 3 Burger robot showing its sensors, computer board, motors, and battery
Every robot has the same core components: sensors to perceive, a computer to think, actuators to act, and power to run it all.

Sensors: The Robot's Senses

Sensors are how a robot gathers information about its environment. Here are the most common ones:

SensorWhat it measuresExample use
CameraImages (RGB pixels)Object detection, visual navigation
LiDARDistance (laser pulses)3D mapping, obstacle avoidance
IMUOrientation & accelerationBalance, dead reckoning
EncoderWheel/joint rotationOdometry, joint position
UltrasonicDistance (sound pulses)Simple obstacle detection

Each sensor has trade-offs. Cameras give rich detail but struggle in the dark. LiDAR works in any lighting but can't read text. Good robot design means choosing the right sensors for the job — and usually combining several.

Actuators: Making Things Move

Actuators convert electrical signals into physical motion. The most common types:

  • DC Motors — continuous rotation, used for wheels and propellers
  • Servo Motors — precise angle control, used for robot arms and steering
  • Stepper Motors — exact step-by-step rotation, used in 3D printers
  • Linear Actuators — push/pull in a straight line, used for grippers

Software: The Brain

The software is where the magic happens. It takes raw sensor data, processes it into understanding, makes decisions, and sends commands to actuators.

Modern robot software is almost always modular — built from small, independent pieces that communicate with each other. One piece handles the camera, another plans paths, another controls motors. They talk through messages, passing data back and forth.

Note

This modular approach means you can swap out one piece (say, upgrading from a basic obstacle detector to a neural network) without rewriting everything else.

A Real Example

Consider a delivery robot navigating a sidewalk:

Autonomous delivery robots parked beside a building, equipped with cameras and sensors for sidewalk navigation
Real delivery robots like these use cameras, LiDAR, and GPS to navigate sidewalks autonomously — the same sense-think-act loop at work.
  1. Camera spots a pedestrian ahead
  2. LiDAR confirms the distance: 3 meters
  3. Software decides: slow down and steer right
  4. Motors execute: reduce speed, turn wheels

This entire cycle happens many times per second. The faster and more reliably this loop runs, the better the robot performs.

Six real robots from simple to complex: Roomba, TurtleBot 3, DJI drone, robot arm, factory robot, and Ameca humanoid
Robots span a huge range — from a $300 vacuum to a million-dollar humanoid. All share the same fundamentals.
Honda ASIMO humanoid robot waving at the Miraikan science museum in Tokyo
Honda's ASIMO — one of the most famous humanoid robots. It could walk, run, climb stairs, and pour drinks. Retired in 2022 after 22 years of development.
A quadcopter drone flying over a snowy landscape, surveying terrain from above
Drones are aerial robots — they use IMUs, GPS, cameras, and barometers to stabilize and navigate. Same sense-think-act fundamentals, just in 3D.

What's NOT a Robot?

Not everything with a motor is a robot. A washing machine has sensors (water level) and actuators (motor) but follows a fixed program — it doesn't adapt to its environment. A robot, by most definitions, must:

  • Sense its environment
  • Make decisions based on what it senses
  • Act on those decisions
  • Do this autonomously (at least partially)

The line gets blurry with things like remote-controlled drones (partially autonomous) or smart thermostats (sense and act, but very limited). And that's fine — robotics is a spectrum, not a box.

Comparison grid: robots (Roomba, TurtleBot, drone) that sense-think-act vs not-robots (toaster, washing machine) that follow fixed programs
The key distinction: robots sense their environment and make autonomous decisions. Pre-programmed or remote-controlled devices don't qualify.

What's Next?

In the next lesson, we'll take a closer look at sensors and actuators — how they actually work, what data they produce, and how to choose the right ones for your robot.

Got questions? Join the community

Discuss this lesson, get help, and connect with other learners on r/softwarerobotics.

Join r/softwarerobotics

Frequently Asked Questions

What is a robot?

A robot is a programmable machine that can sense its environment, make decisions, and take physical actions. It combines sensors (to perceive), a computer (to think), and actuators (to act). Robots range from simple wheeled platforms to complex humanoids.

What are the main components of a robot?

Every robot has three core components: sensors (cameras, LiDAR, IMUs) that gather data about the environment, a compute unit (CPU/GPU) that processes data and makes decisions, and actuators (motors, servos) that produce physical movement.

Do I need hardware to learn robotics?

No. You can learn robotics entirely in simulation. Tools like Gazebo, Webots, and browser-based simulators let you program virtual robots with the same software interfaces used on real hardware. Many professionals prototype in simulation first.

Further Reading

Related Lessons

Discussion

Sign in to join the discussion.