Atmega328P Bootloader for use with GRBL using spindle Direction as Spindle Enable.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
328p-grbl-Optiboot.zip
README.md

README.md

Optiboot-for-grbl

Atmega328P bootloader for use with GRBL using the spindle direction as spindle enable option.

*Optiboot bootloader github: https://github.com/Optiboot/optiboot

*GRBL github: https://github.com/gnea/grbl

Running grbl V0.9 and above you can use a compile time option " USE_SPINDLE_DIR_AS_ENABLE_PIN " to turn your router / spindle on or off via a relay using G-code ( M3 / M5 ) over the Arduino pin D13 while leaving variable spindle pwm on Arduino pin D11.

This can have the effect of our router / spindle relay being triggered every time the atmega starts up or resets due to Optiboot flashing the led that resides on arduino pin D13. Not a behavior we want in our cnc. To fix this we can run without a bootloader and burn grbl over icsp or update Optiboot to change this behavior.

This is a repository for Optiboot 6.2 compiled using the following command to disable the flashing led on Arduino pin D13. “make LED_START_FLASHES=0 atmega328”