bdring / Grbl_Esp32

A port of Grbl CNC Firmware for ESP32
GNU General Public License v3.0
1.71k stars 531 forks source link

Recent new minor features #317

Open bdring opened 4 years ago

bdring commented 4 years ago

Trinamic Driver Status

At power on, all SPI drivers get a communication test. The results are sent to the serial port. If the test failed, possible issues are printed. Here are the three possible messages.

[MSG:X Trinamic driver test passed]
[MSG:Y Trinamic driver test failed. Check connection]
[MSG:Y Trinamic driver test failed. Check motor power]

Show Extended $$ Settings

These are $$ setting extended from regular Grbl. By default they do not display to prevent confusing GUI senders. To see them you had to #define SHOW_EXTENDED_SETTING. Now there is a $+ command.

The changes are on the Devt branch and will be moved to master soon.

shreeramlive commented 4 years ago

Hi @bdring, It would be nice to have some feature like $T to check the status of Trinamic drivers when required. Step Interpolation is also a nice feature of the new Trinamic drivers. Can this be implemented in Grbl_ESP32

Thanks a lot! @bdring

bdring commented 4 years ago

@shreeramlive The $T is a good idea, but the problem with Trinamic drivers is there are so many features, there is no easy way to make them all available. I think for now, I will implement advanced features in a machine specific file. All the features needed for a specific machine will be placed in a my_machine.cpp file.

I am doing this on the Wallbot project. Look at that file for reference. That even has a stall gaurd tuning mode.

$$Step Interpolation$$ I believe is a standard feature that is always on. It interpolates to 256 microstep from whatever rate you are currently using.