
Just for fun I converted a 35 year old pen plotter to Grbl_ESP32. To get it to work I had to add a bunch of new features. They were all done in a generic way that could come in handy for other projects. All are optional and add no overhead or compile size if you don’t use them.
Machine initialization: If your machine needs to configure some custom I/O or define and start some RTOS tasks, your function will be called.
User defined homing: If the normal homing isn’t right for your machine you can define a custom version
Unipolar stepper motor support: These are super cheap (<$1) stepper motors that can be a controlled with a few transistors. Custom Tool Changer Support: You can define all the moves, actions and calculations required for automatic tool changers.
Custom M30 (end of job) support: You can have the machine to always do something when a job completes, even stuff that gcode can’t do.
#1 – bdring 于 2019-10-23
Changes are currently on the devt branch. They will be merged to master soon.