Closed wbendick closed 2 years ago
Hello @wbendick,
By design, the Arduino is reset by opening the serial port (auto reset) and/or on power up. So, the stepper power lost is the normal behavior.
Solution to disable this can be found here:
https://playground.arduino.cc/Main/DisablingAutoResetOnSerialConnection/
But with disabled serial port connexion reset, you will probably need to modify your GCode sender because most of them are waiting for the Grbl's connexion/reset message when connecting to Grbl.
@++;
Gauthier.
I see. Would it be possible to have the motors immediately power up after reset to prevent drops?
Hi @wbendick,
Perhaps you ca try to add a call to st_wake_up();
in main.c...
Add this on line 525 (just before the report_init_message();
line.
I don't verify if this work, but if no, this might be complicated to do.
@++;
Gauthier.
When I disconnect from serial and then reconnect, my steppers lose power and my gantry crashed into my table or workpiece. I have $1 set to 255. Is there a workaround for this?