thehookup / Motorized_MQTT_Blinds

Motorized_MQTT_Blinds
299 stars 75 forks source link

Hot motors, won't sleep #24

Closed jtblunt closed 4 years ago

jtblunt commented 4 years ago

I'm running 5 blinds inline as opposed to your setup with 3. Everything works fine and I have triple checked my wiring but it seems my motors do not sleep, when powered up the motors will not rotate freely and get very hot after a few minutes!

I'm using Alexa to control the blinds and I have also tried to comment out the line below in the file "Blinds_CONFIGURE_Portal_Alexa.ino":

define DRIVER_INVERTED_SLEEP 1 //Defines sleep while pin high. If your motor will not rotate freely when on boot, comment this line out.

Is there anything I can do to fix this? or a way to test the sleep function is working?

jtblunt commented 4 years ago

SOLVED With a bit of trial and error I think i've solved it. I moved the wire going from D5 - EN on the Node MCU (Green wire on your Schematic) on to the sleep pin on the Stepper Driver that I had soldered previously to the reset pin as discussed on your Video. All seem to work fine now! I've also setup a Routine within the Alexa app to auto open and close the blinds at a specific time every day.