Accelstepper not working on GIGA?

41 views
Skip to first unread message

Andrew Hunter

unread,
May 1, 2025, 7:30:23 AMMay 1
to accelstepper
Has anyone tried Accelstepper on GIGA? The steps don't drive a motor, but the direction works. Looks like a timing issue, the pulse duration is too short perhaps?

Geoff Smith

unread,
May 1, 2025, 9:37:02 AMMay 1
to accels...@googlegroups.com
Exactly. Like faster mcus such as the ESP32 sometimes controlling the pulse width is required using stepper.setMinPulseWidth(20) in the setup. Many digital drivers will work with pulse widths down to 5 us so if your MCU Is delivering pulses below that then stepping the motor is not going to work, in which case setting the minPulseWidth to something greater is needed. In my experience this function is fairly benign and I’ve never had any issues with setting it over a large range of values. This is dependent on the driver/MCU combination of course. 

Sent from my iPhone

On 1 May 2025, at 9:30 pm, Andrew Hunter <andrew.h...@gmail.com> wrote:

Has anyone tried Accelstepper on GIGA? The steps don't drive a motor, but the direction works. Looks like a timing issue, the pulse duration is too short perhaps?

--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/accelstepper/f63f8224-5568-47e9-8a65-333d4f467d56n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages