talira

Embedded CNC g-code interpreter and motion-controller

open sourceGPL-3.0-or-laterfree

grblHAL is open source CNC controller firmware, a port and rewrite of Grbl 1.1f with a hardware abstraction layer, aimed at 32-bit processors with plenty of RAM and flash as a low cost alternative to parallel-port motion control for CNC milling. One core codebase runs through drivers for more than 15 processor families (STM32, i.MX RT, ESP32, RP2040, RP2350, SAM3X, SAMD21, LPC176x, MSP430, MSP432, TI Tiva C and PSoC 5), producing up to 300 kHz of jitter-free step pulses with look-ahead acceleration planning. Depending on the driver it adds networking (Telnet, WebSocket, HTTP, FTP and WebDAV to the SD card), a WebUI, Bluetooth streaming, ModBus and spindle sync, laser mode and tool changes, and plugins extend it without changing the core. It stays compatible with Grbl 1.1 g-code senders such as ioSender.

Problems it solves

  • upgrade my CNC router from an Arduino running Grbl to a faster 32-bit controller
  • control my CNC mill over Ethernet or Wi-Fi instead of USB
  • replace parallel-port LinuxCNC or Mach3 control with a cheap microcontroller board
  • run a CNC machine with more than three axes and ganged, auto-squared axes
  • run a lathe with spindle sync for threading
  • add a ModBus VFD spindle to my CNC controller
  • use a laser cutter mode with PPI control on my CNC firmware
  • extend my CNC controller's firmware with plugins for tool changers and extra outputs

Features

  • Grbl 1.1f-compatible g-code with arcs and helical motion
  • look-ahead acceleration planning, up to 300 kHz step pulses
  • drivers for more than 15 processor families sharing one core
  • networking: Telnet, WebSocket, HTTP, FTP and WebDAV to the SD card
  • WebUI support
  • Bluetooth and native USB streaming
  • ModBus spindles, spindle sync and closed loop features
  • laser PPI mode and manual tool change
  • auto-squared and ganged axes, up to 8 axes on some drivers
  • plugins that add M-codes, settings and events without changing the core
View 1 more
  • Web Builder for building firmware for some drivers

Capabilities

Takes pluginsplan not known

Alternatives

The same job

These do what grblHAL does.

  1. FluidNC The next generation of motion control firmware

Compare grblHAL with the top 3