PiSupply / Ryanteck

Resources for Ryanteck products including RTk.GPIO, Traffic HAT & Motor controller
https://uk.pi-supply.com/search?type=product&q=ryanteck
25 stars 11 forks source link

Low frequency to control stepper motors #16

Open padmalcom opened 1 year ago

padmalcom commented 1 year ago

Hi, thanks for the board, very nice idea!

I'm facing the issue with a very slow moving stepper motor. If I follow your pwm example, the stepper (with an tb6600) moves very slow. I tested each setting from the tb6600 and changed frequencies. Only if I don't allow a delay at all between the pulse high and low, the stepper moves in a good speed. That is fine, but this does not allow me to slow it down.

I saw there is a pull request that enables PWM for your GPIO module. Maybe you can merge it?

ChristopherRush commented 1 year ago

@padmalcom I have merged the pull request.