-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integer Position #40
Comments
I am having this same problem. I have all of the connection correct and flashed my 8266 with the needed information. Downloaded the MQTT Explorer and everything seems to be sending and receiving correctly. but no motor movement. Any ideas? |
I am having the same issue |
@T00LF00L This did the trick for me, thanks! |
@webxl Awesome, glad I could help someone! I’ve since done a little more research and learned this driver was updated at one point and the pin out changed. The driver pictured in the wiring diagram is the new version, but the wiring as shown is in fact correct for the old driver version. |
@T00LF00L this new wiring diagram fixed it for me as well., so thank you! However, I may have a new issue. Every time the nodeMCU loses power and restarts after power is back, the motors won't move until I unplug them and plug them back in. It's as if the nodeMCU can't handle the motors being connected at start-up. Any ideas on how to remediate this? |
@reinervl strange problem.. I’d start by first probing the three logic pins going to the stepper driver. Send open & close commands and see if the logic is outputting low/high correctly. DIR should switch low or high depending on open or close, EN should go momentarily high, and STEP should pulse high your number of steps. This way you’ll know if the nodeMCU is actually working correctly on power up or not. |
@T00LF00L thanks for your help. I should also mention that I have 4 stepper motors and drivers (1 driver per motor) connected to one nodeMCU. When I leave them all connected and I plug in power, all 3 pins (EN, STEP, DIR) read 1.54V so floating? When I disconnect all motors/drivers and then plug in power everything works and STEP and DIR read low (0V) and EN reads HIGH (3.3V). |
@reinervl To be perfectly honest with you.. this is the first circuit I've built in 30 years, the last time I wrote code was on a Commodore 64 and this project took me 4 days of troubleshooting to finally get working with Home Assistant and HomeKit. Coincidentally I just had one blind do the exact same thing you described, but it's only happened that one time. I did some Google.. it says these three pins have a 'weak' high during boot, but they can be high or low and it won't affect boot. So the only other thing I could find is maybe it's a power delivery issue during boot? Sorry I can't really be much more help as electronics were very different in the 80s, you may want to open a new discussion? I'm still trying to figure out why mine occasionally open back back up at night.. |
I'm having trouble running the motor for the first time. It won't move. Not sure if I'm sending the topic the right way?
The text was updated successfully, but these errors were encountered: