# \#stepper-motor

**URL:** https://www.robotexchange.io/tag/stepper-motor/179.md

[Latest](https://www.robotexchange.io/latest.md) · [Categories](https://www.robotexchange.io/categories.md) · [Tags](https://www.robotexchange.io/tags.md)

---

## [How to drive a stepper motor with Arduino or Raspberry Pi](https://www.robotexchange.io/t/how-to-drive-a-stepper-motor-with-arduino-or-raspberry-pi/4635)

<div class="topic-metadata">

**Author:** [@thijs](https://www.robotexchange.io/u/thijs)\
**Replies:** 0\
**Last updated:** [September 2, 2026, 12:14am UTC](https://www.robotexchange.io/t/how-to-drive-a-stepper-motor-with-arduino-or-raspberry-pi/4635 "2026-09-02T00:14:26Z")

</div>

Based on contributions by sarahstam, Jeppe. Stepper motors need a driver board between the controller and the motor coils. This guide covers two common setups used in the lab — a CNC shield with an Arduino Nano, and a s…
