![grbl controller 3.5 grbl controller 3.5](https://www.dhresource.com/0x0/f2/albu/g10/M00/10/28/rBVaVl1lK12AZ5fgAAQxsY2qbX4780.jpg)
The machine should move each axis to the limit-switches twice. For better homing behaviour you can also adjust the homing feed rates.Īfter the configuration is done, enter $H in the command-field to start the homing-cycle for the machine. In my case I just had to adjust the steps per mm for both axis ($100 and $101).
![grbl controller 3.5 grbl controller 3.5](https://user-images.githubusercontent.com/62027242/76664921-8bad4e00-65b8-11ea-99ba-2f5f9d3d2534.png)
Now adjust all the other settings for your needs. We have to enable the hard-limit-switches. Todo so, enter the command $$, in the Command input field in the grbl-controller, to get a list of the possible settings. We have to adjust the steps per mm for our axis, if we want to use limit-switches and so on. But it works for sending G-Code and moving the axis.īefore the first use, we have to configure our Arduino with the machine-specific data. To change the settings you have to use the $ commands because the grbl-library changed and the controller is really old. Some of the functions do not work properly. To send G-Code to the Arduino I use the old Grbl-Controller. (So you just have includes in your sketch)
#Grbl controller 3.5 code
Download all the code from github/grbl.I use the grbl library to control the Arduino with simple G-Code. That means your limit-switch signal is slower (you can not recognise without oscilloscope), but you do not read the distortion. So just low frequencies can pass through. This RC-Low-Pass-Filter filters our the signals with high frequency.
#Grbl controller 3.5 plus
These small capacitors a polarised, so watch out to connect the GND part to GND, and plus to the limit-switch and the input pin. 47uF (50V) for the Y-axis and a 1uF (50V) for the X-axis. This capacitor should be something between 10uF and 0.47uF depending on the distortion. That means, the switches do not forward +5V, they forward GND and the pins are pulled down from 5V to GND by triggering the switches. Grbl is using pull-up-pin-mode because this causes less distortion for the switches. Because I use grl, I can use the pull-up-pin-mode to get the resistor, so I just needed a capacitor. This sounds way more complicated than it is. This was done by using aluminum foil around the wires and to insert an RC-Low-Pass-Filter between my limit switches and the input pins of the Arduino. The hardest part was to shield the wires from the motors. For the wiring I use 0.125mm (5V) and 1.5mm (12V 6A) cooper braid. For the power supply, I use an old PC-Power-Supply with 16A.