thehookup / Motorized_MQTT_Blinds

Motorized_MQTT_Blinds
299 stars 75 forks source link

Microstep pins configuration.. #21

Closed manojjenago closed 4 years ago

manojjenago commented 4 years ago

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

jenniferlee1818 commented 4 years ago

My motor also goes forward and backward.

jenniferlee1818 commented 4 years ago

@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.

manojjenago commented 4 years ago

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 .