Projects with a 28BYJ-48 stepper motor
13 Mokxi projects use a 28BYJ-48 stepper motor (1 beginner, 8 intermediate and 4 advanced). They run on Arduino Uno, Arduino Nano and ESP32 boards. Here are all of them, from “Stepper motor on pins 8 to 11” to “Pick and place”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “Stepper motor on pins 8 to 11”, a beginner project that needs a 28BYJ-48 stepper motor.
- Arduino Uno runs 10 of them, Arduino Nano 1 and ESP32 1. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the I2C LCD (4 projects), the push button (4) and the servo motor (3). With those on hand, most of this list is open to you.
- Before you build one on a real bench, read the 28BYJ-48 stepper and ULN2003 wiring guide for your board below. It gives every pin and the voltage notes.
13 projects ready to run

Stepper motor on pins 8 to 11
A 28BYJ-48 on its ULN2003 board with IN1 to IN4 on pins 8 to 11: the Stepper library turns the shaft one full turn one way, then back.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003
- Level
- Beginner

Stepper dial on the analyzer
A 28BYJ-48 following a knob, with a logic analyzer on its four coil lines: the half-step sequence walking, and the capture as CSV.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, potentiometer, logic analyzer
- Level
- Intermediate

MicroPython stepper motor on a Pico, GP21 to GP18
MicroPython on a Raspberry Pi Pico: a 28BYJ-48 stepper on a ULN2003 board, driven from GP21 to GP18, turns once one way and once back.
- Board
- Raspberry Pi Pico
- Parts
- Battery: AA, 28BYJ-48 stepper and ULN2003
- Level
- Intermediate

Remote stepper
An IR receiver on pin 12 and a 28BYJ-48 on its ULN2003 board: VOL+ turns the shaft a quarter turn and VOL- turns it back.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, IR receiver and remote, IR remote
- Level
- Intermediate

Knob stepper
A rotary encoder on pins 2, 3 and 4 steers a 28BYJ-48 click for click; press the knob and the shaft goes home.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, KY-040 rotary encoder
- Level
- Intermediate

MicroPython stepper motor on a ULN2003 board
MicroPython on an ESP32: a 28BYJ-48 stepper on its ULN2003 board, IN1 to IN4 on GPIO 14, 27, 26 and 25, turns once one way and once back.
- Board
- ESP32-DevKitC V4
- Parts
- 28BYJ-48 stepper and ULN2003
- Level
- Intermediate

Stepper follows a knob (pins 2 to 5)
A 28BYJ-48 on its ULN2003 board with IN1 to IN4 on pins 2 to 5 follows a potentiometer on A0: turn the knob and the shaft turns to match.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, potentiometer
- Level
- Intermediate

Animated diorama: DFPlayer sound + stepper
A button plays a C-3PO line on a DFPlayer Mini while a 28BYJ-48 turns R2-D2’s dome.
- Board
- Arduino Nano
- Parts
- DFPlayer Mini MP3 module, resistor, push button, 8 ohm speaker, 28BYJ-48 stepper and ULN2003
- Level
- Intermediate

Stepper turntable
A photo turntable on a 28BYJ-48 and its ULN2003 board with AccelStepper: press the button and the plate turns a full circle in eight stops.
- Board
- Arduino Uno R3
- Parts
- Push button, 28BYJ-48 stepper and ULN2003
- Level
- Intermediate

Access control: RFID card opens a stepper door
An RC522 reader (SS 10, RST 9) checks each card against the one it knows.
- Board
- Arduino Uno R3
- Parts
- MFRC522 RFID reader, 28BYJ-48 stepper and ULN2003, I2C LCD
- Level
- Advanced

Satellite tracker
A stepper and a servo point a small dish at a satellite on a demo pass, from a simplified circular-orbit model.
- Board
- Arduino Uno R3
- Parts
- 28BYJ-48 stepper and ULN2003, servo motor, push button, resistor, LED, +2 more
- Level
- Advanced

ASRS picker
A stepper carriage homes on a limit switch, then counts its steps to the shelf you type on a keypad.
- Board
- Arduino Uno R3
- Parts
- 4x3 telephone keypad, servo motor, 28BYJ-48 stepper and ULN2003, limit switch, buzzer, +1 more
- Level
- Advanced

Pick and place
Two steppers home to their switches, then each START moves a part from the pick point to the place point: nozzle down, vacuum on, up, across, down.
- Board
- Arduino Uno R3
- Parts
- Relay module, DC motor, servo motor, 28BYJ-48 stepper and ULN2003, limit switch, +2 more
- Level
- Advanced