When i change the ‘step idle delay’ to 255. stepper motors locked. It’s ok. But when i change it back to 25. stepper motors still locked. The step singal allways high.
My firmware version is 1.3a
“C++
#define XSTEPPIN GPIONUM14
#define XDIRECTIONPIN GPIONUM27
#define YSTEPPIN GPIONUM26
#define YDIRECTIONPIN GPIONUM25
#define ZSTEPPIN GPIONUM33
#define ZDIRECTIONPIN GPIONUM32
#define XLIMITPIN GPIONUM16
#define YLIMITPIN GPIONUM4
#define ZLIMITPIN GPIONUM15
#define DEFAULTHOMINGCYCLE0 bit(ZAXIS)
#define DEFAULTHOMINGCYCLE1 bit(XAXIS)
// OK to comment out to use pin for other features
#define STEPPERSDISABLEPIN GPIONUM12
// Spindle Output Pin
#define SPINDLEOUTPUTPIN GPIONUM17
#define SPINDLE_TYPE SpindleType::LASER
#define USEMACHINEINIT
“
评论 (5)
#2 – MillerRen 于 2021-01-05
Thanks for your reply. I have tried many times but problem still even though erase full flash and reflash esp32. Maybe my board causing. I will check it. Thx.
#3 – bdring 于 2021-01-05
I would assume you have a hardware or machine definition problem. Nobody has reported an issues with stepper enable.
What hardware are you using. Are you 100% sure the pin is connected properly?
Try this.
Set $stepper/IdleTime=200
Reboot the ESP32
Check the voltage of GPIONUM12
Do a long move while checking the voltage of 12
#4 – sjonholle 于 2021-01-08
GPIO12 is a special pin https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection
Have you tried GPIO13 ? the examples use also this pin.
#5 – MillerRen 于 2021-02-06
resolved by latest code on devt branch.
#1 – bdring 于 2021-01-05
I think they will unlock after the next move.
If you want to unlock them temporarily use $MD
https://github.com/bdring/Grbl_Esp32/wiki/Settings#motordisable-or-md