/6-AXIS-USBCNC-GRBL

This repository is based on https://github.com/usbcnc/grbl which in turn is based on native grbl 1.1f https://github.com/gnea/grbl

Primary LanguageC

6-AXIS-USBCNC-GRBL

This repository is based on usbcnc grbl which in turn is based on native grbl 1.1f
With 6-AXIS-USBCNC-GRBL you can use 3,4,5 or 6 axis depend of definition in config.h stm32f103-usbcnc-pinout
Also there are some bugs (from usbcnc grbl) were fixed and some improvements were done. Some of them:

  • migrate from coIDE to Atollic truestudio
  • 4,5,6th axis were added
  • uint16_t probe_invert_mask
  • issue#36 from usbcnc
  • issue#38 from usbcnc
  • issue#41 from usbcnc
  • issue#46 from usbcnc
  • issue#40 from usbcnc
  • issue#49 from usbcnc
  • NEW: STP_DRIVERS_ENABLE_DELAY
  • issue#48 from usbcnc. STEP_PULSE_DELAY now works
  • GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE); // to enable PA15, PB3, PB4 pins
  • NEW: USE_RESET_BTN_AS_ESTOP
  • improved performance and stability in stepper.c issue#48 from usbcnc
  • issue#60 from usbcnc
  • issue#61 from usbcnc

Before homing "error:7" appears 2 times due to startup blocks are empty. It's ok. To eliminate this: set the startup blocks or comment definition in config.h

Get started

  • install Atollic truestudio
  • add this priject to Atollic
  • configure grbl in config.h (optional. 4axis by default)
  • compille it
  • use st-link v2 or China clones for downloading firmware to bluepill
  • configure grbl with $..= commands (optional)
  • use grbl controller with UGS, GcodeSender , OpenCNCPilot or other interfaces
  • you can also use UART (TX1, RX1) instead of USB to connect grbl controller via bluetooth and use with android app "Grbl Controller". Just #undef USEUSB in main.c after #include «grbl.h» or delete "USEUSB" in project properties -> C/C++ General -> Path and Symbols -> Symbols.