GRBL 3d wire bender, Part 3 – Embedded software

Being a software programmer, I always want to reuse code, so GRBL makes it easy to do motor control programming, which I’ll cover later.

For our application, we need to rework the PWM pin on the arduino UNO we are using to output the stuff the servo needs to see. Standard GRBL uses this pin for the Z limit switch, so let’s liberate it.

Fortunately someone else has the same issue that we have had, when they were making a pen plotter. Their solution was to create MIGRBL.

Here’s the installation instructions onto our Arduino UNO

  1. download a copy of MIGRBL
  2. Add the library using Sketch -> Include Library -> Add .ZIP Libary
  3. run File->Examples>MIGRBL->grblUpload
  4. compile and upload the code to arduino.

Now we can test it.