Open cxandy opened 5 years ago
This board used to require a fork of Grbl_ESP32 and a fork of TMCStepper.
The original TMCStepper has been updated to support daisy chained SPI and Grbl_ESP32 now uses that version. The old fork of Grbl_ESP32 was removed.
Support for daisy chained SPI can now be added to the master branch, but it has not been done yet. It is on my todo list, but behind a few other priorities. I hope to have it done by the end of the month.
Hi, I am planning to replace the Arduino Grbl with your 4_Axis_SPI_CNC board to support TMC5160 drivers and add a 4th axis to my CNC. Initially I thought of using an SKR v1,3 with Smoothieware before seeing your project. Thanks for your work, You have also documented every project very well.
In the schematic I noticed that the Step/Dir pins are physically connected to the ESP32 board. Do we need them for SPI connection, if they are not needed we can add some switches like Hold, Resume. And the connection to the limit switches are without any filter capacitors unlike the Grbl_ESP32 development board, are they necessary for the ESP32 boards?
Step/Dir They are required. SPI primarily sets the features of the driver. It does have the ability to run motion profiles, but not step and direction. You could eliminate the driver enable pin. All the drivers share this one pin, but support would need to be added to Grbl for it.
R/C filters on inputs It is not typically required for smaller machines. Grbl also has debouncing that can be used. If you are using a larger machine with a high current spindle or laser, you might want to use them.
Hi, I have created a schematic with a slightly different pin map. RC filters are added for limit switches to be able to use with large machines.
Schematic_esp32 grblcnc bk_Sheet_1 edit copy_20191109121537.pdf
A TXS0104 level shifter is also added to provide four 5V output pins to drive servo axes and spindle.
When spindle enable and coolant is not needed, can we use the level shifter
pins as inputs for other functions like hold, resume?
I'm trying to create a prototype with this design, Do I have change any pin configuration? Thanks
As drawn, those are not R/C filters. There is no "R".
I suggest grounding the CLK pin on the drivers to make it compatible with TMC5160
thanks.