3 · Outputs & actuators
Stepper motor
Advanced25 min
Goal
Make one full turn by counting steps.
Why it matters
A stepper positions itself without a sensor: you count pulses, not time.
Steps
- 01Add the stepper motor and its driver.
- 02Define the coil excitation sequence.
- 03Send 2048 steps (28BYJ-48) for one turn.
- 04Reverse the sequence to turn the other way.
This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.