Please note this repository is not intended for developmental purposes and contains the most stable xPro-V5 specific source code based off of the magnificent BDring porting of the original GRBL to an ESP32 platform
Steppers | ||
---|---|---|
GPIO_NUM_12 | X-Axis | Step |
GPIO_NUM_14 | Direction | |
GPIO_NUM_27 | Y-Axis | Step |
GPIO_NUM_26 | Direction | |
GPIO_NUM_33 | A-Axis | Step |
GPIO_NUM_32 | Direction |
Outputs | ||
---|---|---|
GPIO_NUM_25 | Spindle PWM or VFD RS 485 TX | Default: Spindle PWM |
GPIO_NUM_04 | Spindle Enable or VFD RS 485 RX | Default: Spindle Enable |
GPIO_NUM_21 | Coolant Mist |
Inputs | ||
---|---|---|
GPIO_NUM_35 | X-Axis Limit | |
GPIO_NUM_34 | Y-Axis Limit | |
GPIO_NUM_36 | A-Axis Limit | Default: "A-Axis Limit" defined as GPIO_NUM_34 for XYYZ machine config |
GPIO_NUM_39 | Z-Axis Limit | |
GPIO_NUM_22 | Probe | |
GPIO_NUM_16 | Door | |
GPIO_NUM_13 | Macro 1 | Default: Undefined |
GPIO_NUM_00 | Macro 2 | Default: Undefined; GPIO also used for the bootloader (Pulled High on Startup) |
USB Serial | |
---|---|
GPIO_NUM_01 | UART TX |
GPIO_NUM_03 | UART RX |
SPI Bus | |
---|---|
GPIO_NUM_19 | MISO |
GPIO_NUM_23 | MOSI |
GPIO_NUM_18 | SCK |
GPIO_NUM_05 | µSD Reader SPI Card Select |
GPIO_NUM_17 | TMC5160 Stepper SPI Card Select |
Pre-Compiled xPro-V5 firmware has been fully tested and verified
The most up-to-date precompiled xPro-V5 firmware can be found here: https://github.com/Spark-Concepts/xPro-V5/tree/main/Firmware
Important compiling instructions are in the wiki
The code should be compiled using the latest Arduino IDE. Follow instructions here on how to setup ESP32 in the IDE. The choice was made to use the Arduino IDE over the ESP-IDF to make the code a little more accessible to novices trying to compile the code.
For basic instructions on using Grbl use the gnea/grbl wiki. That is the Arduino version of Grbl.
The CNC xPRO V5 firmware is based on the awesome work of BDring porting the original GRBL to an ESP32 platform. The original Grbl is an awesome project by Sungeon (Sonny) Jeon. The core engine design is virtually unchanged.
The Wifi and WebUI is based on this project.