-
Notifications
You must be signed in to change notification settings - Fork 229
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
esp8266 reset issue on this driver #4
Comments
Does this happen with the examples ? |
yes, i use example as is , the name of example is 'clock stepper' but its works on Arduino Uno, |
both setRPM and setMicrostep calculate timings but only microstep is initialized to 1 by default minor optimization (exit loop early)
add yield() in wait function. still need to investigate the impact at high speeds and slow Mhz.
Try the branch bugfix/esp8266-reset |
add yield() in wait function. still need to investigate the impact at high speeds and slow Mhz.
STEP_PULSE needs both rpm and microstep to avoid division by zero (this happened in ESP8266 but not on Arduino)
the fix use in bugfix/esp8266-reset doesn't give enough pulse to step the motor, |
Can you clarify that ? Are you referring to timing or something else ? The fix should not have altered the pulse timing, but it maybe there's a logic level mismatch ? the ESP is 3.3V logic. Also make sure that you are using the pin macros (i.e. D8, D9 etc), not integers like 8, 9... |
hello, on including this driver, esp8266 will repeatedly reset, it seems to take long time on execution, is any one use in their yield(); or delay(); function in files where its stuck for a while to prevent further execution so it may not rest on watch dog
The text was updated successfully, but these errors were encountered: