Joystick steers a stepper motor with a waving paper hand

Oct 30, 2026 Last reply: 16 hours ago 2 Replies
Jump to replies (2)

Every motor journey starts somewhere, and this one began as a simple wish to share a fun first build. The maker had never driven a motor before, and the result is a stepper that follows an analog thumb joystick, with a paper cutout hand taped to the shaft waving along with every turn. As a first motor project, picking something playful instead of a boring spin demo seems like a smart call.



The hardware is a tidy little stack: an Arduino board, a 28BYJ-48 stepper, and a red ULN2003 driver board, all linked with multicolored jumper wires. Input comes from a thumb joystick on a breakout module. Four red indicator LEDs on the driver light up in sequence as each signal arrives, a nice visual touch that makes the stepping easy to follow at a glance.



On the software side, the sketch is named stepperknopser.ino and is written in the Arduino IDE with the AccelStepper library. The stepper object is configured as FULL4WIRE on pins 8 through 11, the joystick reads on A0 with a center value of 504 and a threshold of 200, maximum speed is 400 with acceleration at 200, and serial runs at 9600 baud. A push forward or back commands a 10000 step move from the current position, and the compiled sketch uses only 7170 bytes, 22 percent of the 32256 available.



The behavior reads clean: deflecting the stick rotates the motor clockwise or counterclockwise, letting it return to center halts the motor, and the paper hand waves in the matching direction. The whole thing came together in about an hour. One open question remains: beyond showing the spinning, the maker has not stated any further purpose for the motor yet. For a first attempt, that seems completely fair.


The paper hand taped to the shaft is the choice I keep coming back to. It costs nothing, adds no wiring, and turns an abstract spinning shaft into something you read instantly as motion. The trade-off is that tape is not a precise coupling, and the cutout could slip or drift out of position over time. For a demo piece, that still seems like the right bargain.

One variation worth trying: scale the motor speed with how far the stick sits from center, rather than the fixed 10000 step command for each push. Small nudges would then creep the hand along while a full throw spins it fast, which feels more natural with a joystick. The existing acceleration setting of 200 would still smooth the starts and stops, so it looks like a small change to the sketch.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required