Learning guides / Start from the mechanism

Robotics tutorials for understanding, not memorizing

Focused guides that connect the theory to a real algorithm, circuit decision, or interactive simulator. Each one is self-contained and links to the lab where you can try it.

Browse by topic

Intermediate · 21 min read

A* Path Planning on an Occupancy Grid

Build and validate an A* grid planner with safe heuristics, obstacle inflation, and route reconstruction.

Read tutorial

Intermediate · 22 min read

Camera Calibration and ArUco Pose with OpenCV

Calibrate camera intrinsics, validate reprojection error, and estimate an ArUco marker's 3D pose.

Read tutorial

Beginner · 18 min read

Control DC Motors with PWM and an H-Bridge

Wire and control a brushed DC motor safely using PWM, an H-bridge, and realistic current limits.

Read tutorial

Intermediate · 20 min read

Differential-Drive Odometry from Wheel Encoders

Integrate left and right wheel motion into a mobile robot pose, then identify and calibrate drift.

Read tutorial

Beginner · 17 min read

Finite-State Machines for Robot Behavior

Replace tangled robot conditionals with explicit states, events, transitions, timeouts, and recovery.

Read tutorial

Beginner · 17 min read

Read Quadrature Encoders for Distance and Speed

Turn quadrature encoder pulses into reliable wheel direction, distance, and velocity measurements.

Read tutorial

Beginner · 19 min read

ROS 2 Nodes, Topics, Services, and Actions

Choose the right ROS 2 communication pattern and inspect how nodes exchange robot data and commands.

Read tutorial

Intermediate · 20 min read

ROS 2 TF2 Coordinate Frames for Mobile Robots

Build and debug a TF2 frame tree from map and odom through the robot base to each sensor.

Read tutorial

Intermediate · 21 min read

SLAM, Mapping, Localization, and Odometry Drift

Connect odometry, range sensing, mapping, localization, scan matching, drift, and loop closure.

Read tutorial

Beginner · 18 min read

Ultrasonic vs Time-of-Flight Robot Sensors

Choose, mount, calibrate, and test ultrasonic or time-of-flight sensors for obstacle detection.

Read tutorial

Advanced · 22 min read

Inverse Kinematics of a Two-Link Robot Arm

Why a two-link arm has two solutions, where it can and cannot reach, and what a singularity really is.

Read tutorial

Beginner · 18 min read

How to Tune a PID Controller: A Practical Guide

A hands-on order for tuning P, I, and D gains without the guesswork—and how to try each step live.

Read tutorial

Beginner · 20 min read

Build a Line Follower Robot: Sensors to PID Steering

From IR reflectance sensors to a weighted error to smooth PID steering—how a line follower actually works.

Read tutorial

Intermediate · 16 min read

Flood Fill Maze Solving for Micromouse Robots

How flood fill turns a partly-known maze into a distance field a robot can descend to the goal.

Read tutorial

Beginner · 17 min read

Sensor Noise, Bias, and Filtering in Robotics

Noise vs bias vs drift, choosing a filter without over-smoothing, and what sensor fusion can and cannot do.

Read tutorial

Prefer to build something?

Browse by the system you want to make.

Every project guide includes theory, a real algorithm, downloadable diagrams, a component checklist, and an interactive simulator.

Explore project library