Closed manojjenago closed 4 years ago
My motor also goes forward and backward.
@manojjenago It's the motor wiring. You have to find the two pairs. One pair will be connected to A1 and A2 and the other pair will be connected to B1 and B2. The wiring schematic included isn't correct for every motor. This https://github.com/thehookup/Motorized_MQTT_Blinds/issues/15#issuecomment-569386423 @Justind-hub worked for me.
After I changed to new motor and driver, it is working fine for me. Thanks, Manoj
On Wed, May 13, 2020 at 7:55 AM echojjj notifications@github.com wrote:
My motor also goes forward and backward.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thehookup/Motorized_MQTT_Blinds/issues/21#issuecomment-627932994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2B5DDNNYN5CGNIZUHV32TRRKDC3ANCNFSM4KC4K4GA .
Hi,
I can see the blow pins are used in code for microstep , but I guess there is no wiring to nodemcu.. Please let me know how we can define pins for microstepping or it is only a number ?? Sorry if it is basic. I am pretty new
define STEPPER_MICROSTEP_1_PIN 14
define STEPPER_MICROSTEP_2_PIN 12
Also, my motor runs forward 4-5times and backword again. It is moving forward and backward in the same time ...
Thanks, Mj