Tag
Motor Control tutorials
9 tutorials tagged Motor Control.
Intermediate · 35 min
Closed-Loop Wheel Velocity Control With Encoders
Feedforward does the work, the integrator cleans up, and the robot finally drives straight.
Read tutorial →Beginner · 30 min
A4988 Wiring and Vref: Set the Stepper Current Limit
The one adjustment that decides whether your stepper works or burns: setting Vref with a multimeter.
Read tutorial →Intermediate · 35 min
How Stepper Motors Work: Lag Angle and Step Loss
The lag angle is the whole of stepper motor behaviour. Learn it once and step loss stops being mysterious.
Read tutorial →Intermediate · 45 min
From cmd_vel to Wheel Speeds: ROS 2 Differential Drive
Convert a Twist into left and right wheel speeds — kinematics, saturation, deadband, and a watchdog.
Read tutorial →Intermediate · 25 min
How Hard a Robot Can Push: Traction and Weight
Two ceilings set push force, and on a small robot the floor is almost always the lower one.
Read tutorial →Intermediate · 35 min
How to Choose a DC Gearmotor: Torque, RPM and Stall
Work out the torque and RPM your robot actually needs, then read a datasheet against real numbers.
Read tutorial →Intermediate · 30 min
Gearbox Backlash in Robots: How to Measure and Fix It
Every gearbox has play. Find out how much yours has, and what it is quietly costing your robot.
Read tutorial →Intermediate · 35 min
8051 Timers and Software PWM for Motor Control
Build PWM from a Timer 0 interrupt, pick the frequency-resolution trade, and drive an H-bridge.
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 →