-
Notifications
You must be signed in to change notification settings - Fork 45
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
Crashing on NodeMCU #24
Comments
Hi there, I know this is late to the party, but in case anyone is going through this I wanted to post my experience. I have been successfully using the CheapStepper library with a nodeMCU board for a while now. Every so often I do get this soft reset issue, but for my use case it hasn't been an issue. If you're having issues getting the shaft to turn (I certainly did), I recommend you try using the moveDegrees() method rather than the move by steps version you've tried here. it's been more reliable for me. I've included a section of my working code below.
|
Thank you good sir! |
I am not entirely sure where the error lies here, but I am trying to use a NodeMCU v1 together with a ESP-12E Motor Shield and a 28BYJ stepper motor. According to this link, the pins shall be 5, 0, 4, 2 or D1, D3, D2, D4.
However, when I try to spin the motor, I get a crash loop while I can hear the motor, but the shaft is not spinning. This is how the crash looks:
This is the code:
Can someone help me out? Is the NodeMCU or the shield maybe not compatible with this library?
I do know that the motor works with that board, because I was using the LUA firmware before, but now want to use C++/Arduino IDE.
The text was updated successfully, but these errors were encountered: