Advanced Pro Subscription Required

Robotics, Actuators and Advanced Projects

Build robots that move, sense and stay safe: sense-plan-act loops, robot safety and emergency stops, DC motors and H-bridges, servos and steppers, encoders and IMUs, PID control and tuning, kinematics for wheeled robots and arms, batteries and power systems, ROS 2 architecture, navigation and obstacle avoidance, vision, manipulators and torque, trajectories, communication and teleoperation failsafes, testing and field robustness, and a design method from requirements to prototype. Includes command labs, two build projects and a graded capstone.

15-20 hours of study Builds toward: Developer to Robotics Engineer 18 modules

Practise on your own computer

The labs in the lessons run in your browser. To repeat them, go further and try the capstone on your own machine, set up the environment with these free guides:

Robots are where electronics, firmware, mechanics and software meet, and where mistakes stop being only virtual. A wrong sign makes a wheel spin the wrong way. A forgotten limit snaps a gear. A dip in the battery voltage resets the computer in the middle of a move. A stale command keeps a machine running after the operator has gone. This course teaches the engineering that makes robots work, stay predictable and stay safe.

You start with the sense-plan-act loop and put safety first: hazards, risk assessment, emergency stops, watchdogs and the arithmetic of stopping distance. You then work through the actuators (brushed DC motors and H-bridges, servos and steppers) and the sensors (encoders, IMUs, distance sensors, cameras), close the loop with PID control, and describe motion with kinematics for wheeled robots and arms. Power, batteries and wiring get their own lesson because they cause so many failures. The software lessons cover ROS 2 architecture, navigation, mapping and obstacle avoidance, and vision. The final lessons cover manipulators and torque, smooth trajectories, communication and teleoperation failsafes, testing and field robustness, and a design method from requirements to prototype.

What makes this different

Each lesson follows one pattern: the idea, the calculations, commands and code you will really use, what to build and measure on your bench, the mistakes people make, and a lab that runs in your browser. The labs are small functions and command sequences that check the arithmetic and logic behind a build: control periods and latency, stopping distance and safe speed, stall current and gearing, servo pulses and step rates, encoder counts and drift, PID steps and Ziegler-Nichols gains, wheel speeds and arm kinematics, battery runtime and regulator heat, ROS 2 names and rates, grid paths and reactive rules, pixel geometry, joint torque and grip force, trapezoidal timing, CAN bus load and link-loss logic, ratings and margins, and drive torque from mass and slope. Two projects then ask you to build a safe closed-loop robot and to design and prove a pick-and-place arm, and a graded capstone asks you to prove a complete robot design.

The browser labs are practice: they check your answers and show example output. They are not connected to real motors or controllers. Run the commands on your own hardware to see real results, because output differs between boards, drivers and software versions.

Safety comes first. Robots can pinch, crush and burn, and their batteries store a lot of energy. Test with the wheels off the ground, with a hardware stop in reach, at low speed first. Anything powered from mains electricity, anything large enough to hurt someone badly, and anything that will operate near people or children needs professional safety engineering and the standards that apply in your country.

The material is written from public documentation and standards (the gpiozero, Raspberry Pi, ROS 2, Nav2, OpenCV, SocketCAN and Adafruit documentation, and published guidance on machinery safety). Software versions and part numbers change, so check the current documentation for your board and driver. It is independent of, and not endorsed by, any vendor named.

What you will learn

  • Foundations: the sense-plan-act loop, open and closed loops, degrees of freedom, control rates and latency; hazards, risk scores, hardware emergency stops, stop categories, watchdogs, failsafes, stopping distance and safe speed, and battery safety.
  • Actuators and sensing: stall current, back-EMF, PWM and gearing; H-bridge modes; servo pulses and stepper microstepping with torque margins; quadrature encoders, odometry, IMU drift and complementary filters, ultrasonic and time-of-flight sensors.
  • Control and motion: PID with anti-windup, tuning and step-response metrics; differential-drive and two-link arm kinematics; trapezoidal profiles and synchronised joints.
  • Systems: battery packs, runtime, regulators, sag and wiring; ROS 2 nodes, topics and QoS; grid navigation and path planning; vision with HSV, centroids and the pinhole model; manipulator torque and grip force; CAN bus and teleoperation failsafes.
  • Professional practice: test plans, soak tests, thermal and ingress margins, error budgets, and the design method from numeric requirements to a verified prototype.

How to practise

You need a Raspberry Pi and a microcontroller board, a small differential-drive chassis with geared DC motors and encoders (or a robot kit), a motor driver rated above the stall current, a battery pack with a fuse and a kill switch, a hardware stop button, a few hobby servos and a PWM board, and sensors (a distance sensor, line sensors, an IMU, a camera). A multimeter, a tape measure and a kitchen scale are very useful. Use low-voltage parts only, keep wheels off the ground for first tests, never touch mains electricity, and keep your hands clear of moving parts. Keep a notebook of measurements, parameters and mistakes.

Prerequisites

The Microcontrollers and Embedded Programming and Raspberry Pi and Linux Physical Computing courses, or equivalent comfort with C++ or Python on a microcontroller, Linux, GPIO, PWM, serial communication and basic electronics. The Internet of Things and Cloud Connectivity course helps with the networking and testing lessons but is not required.

Where it leads

This is the sixth course of the Embedded Systems and IoT division. It prepares you for roles in robotics, automation, mechatronics and embedded engineering, and for advanced projects such as autonomous vehicles, manipulators and drones.