Hello everyone, I just wanted to ask, is there a way to control stepper motor using WLED? I know WLED is mainly for LED control, but is there actually a way to control both using usermod? The stepper motor would be connected to TMC2209 with step/dir pins.To control stepper motor would be speed, direction and start/stop.
Thank you
OOTB WLED does give you “On/Off” LEDs that are basically relay type controls tied to the GPIOs you assign. You could create various presets that toggle those particular LEDs on or off as desired.
You might even be able to use something like the strobing pulsing effects to simulate something like motor speed (?) It will be highly dependant on your application.
If you want to get into finer controls integrated with motor controller, you’ll need to develop a usermod.
Thank you for your reply. I would like finer control to be able to adjust speed and direction of the stepper motor using WLED. If this is something doable, then I will start to look into it so as to be able to develop a usermod
maybe a DMX stepper motor controller?
I’m trying to control a stepper motor via A4988. I can’t figure out how it’s done using WLED. The idea is to have some kind of a ON/OFF switch via HomeAssistant that I can control the motor with. Not sure how to set this up using Wled.
As noted earlier in this thread, there’s no builtin stepper motor control for WLED.
With things like the A4988, you may be able to use analog PWM outputs to give you the Step input you need. There’s also a PWM Usermod that can give you finer control over a PWM output.
Much of this will depend on the actual details of what you’re trying to accomplish.
You might want to start your own thread topic if you want a more detailed discussion and resolution.