grbl / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
5.42k stars 3.04k forks source link

H-Bridge adaption for GRBL #1868

Open TobiasLibera opened 4 months ago

TobiasLibera commented 4 months ago

[Info]

Hi, I wrote an Arduino sketch implementing a simple and cheap H-Bridge adaption for GRBL. The original idea was to flash it to an ATTiny85 but it should run on any controller or development board adapted to the Arduino Core.

It offers soft start, soft stop and soft transition for the spindle motor by dragging changes of the PWM duty of the Spindle Enable pin. It also offers seperated pins for spindle direction control.

GRBL_HBridge on GitHub

I hope you find this useful.

Thanks for your work on GRBL Tobias