How to Make a Line-Following Robot Using STM32
From the series: Modeling, Simulation, and Control
Be guided through the process of building a line-following robot with STM32 and Simulink®.
You’ll see step-by-step instructions for installing support packages, configuring models, and setting up sensors and motors. The core line-following algorithm is explained, showing how sensor values control motor actions to keep the robot on track. Finally, watch a free demo for simulating the robot, making it ideal for hands-on learning and Model-Based Design education. Perfect for beginners and educators interested in robotics and embedded systems.
For more information:
Simulation demo: Line Trace for Micromouse with Simulink
Contact the MathWorks student competitions team: roboticsarena@mathworks.com
Published: 23 Dec 2025