Close

First Assembly & Debugging Surprises

A project log for Accesible Motion with Steppers

A plug-and-play unipolar stepper motor controller built around the ultra-low-cost CH32V003 MCU, designed for makers, educators, and designer

rupin-chhedaRupin Chheda 07/02/2025 at 03:031 Comment

The PCBs finally arrived from Lioncircuits, and I kicked off the initial hardware bring-up!

Assembly Progress

All components passed individual tests — switches and LEDs functioned correctly.




Debugging the Stepper Motor

I encountered a strange issue — the stepper motor wouldn’t move.

To isolate the problem, I connected an LED in place of the motor to observe the pin sequences. Strangely, the LED connected to PD7 wasn’t toggling. I checked the MOSFET for shorts — no issues there.

After digging into the datasheet, I realized the root cause:
PD7 is also the NRST (reset) pin, which is pulled high at startup, unintentionally turning the MOSFET on and grounding the connected pin. 

Solution?

I used the WCH-Link Utility to reconfigure PD7 as a general I/O pin. Once that was done, the sequence worked — and the stepper motor spun beautifully.


Power Concerns

While testing the motor, I noticed the power LED dims significantly when the stepper coil energizes. Measuring current draw showed around 200mA, which is expected.

The issue appears to be a voltage dip when coils energize. I’ve switched to an external power supply for now, but will be adding a beefy capacitor across 5V and GND to buffer the current surges and stabilize power delivery.

🧪 What’s Next?

More to come — but for now, I’m thrilled the first spin of the motor is live!

Discussions

BastelBaus wrote 07/02/2025 at 17:12 point

Very nice Idea ! I was looking for a very small I2C to 28BYJ-48 board (small uC & Driver with external I2C interface)  and thought this could be a very nice basis :-)

  Are you sure? yes | no