Skip to content

ayushTNM/Tag_Comparison

Repository files navigation

CNC setup

The following setup was used:
https://osoyoo.com/2017/04/07/arduino-uno-cnc-shield-v3-0-a4988/

GRBL setup

Install arduino IDE

Install GRBL 1.1 onto arduino:

  1. Download zip file from https://github.com/grbl/grbl.
  2. Install library by either:
    a) Opening grbl folder (in extracted zip) in the zip library method for Arduino IDE 1.
    b) Manually installing using grbl folder for Arduino IDE 2.
  3. Since we're not going to be using the z-axis, we need to change a few lines in the config.h file in the grbl folder (which is in the arduino libraries folder):
    Find these lines in config.h file:
    #define HOMING_CYCLE_0 (1<<Z_AXIS)                // REQUIRED: First move ...
    #define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS))  // OPTIONAL: Then move ...
    
    and replace with:
    #define HOMING_CYCLE_0 ((1<<X_AXIS)|(1<<Y_AXIS))  // OPTIONAL: Then move ...
    
  4. Upload grblUpload (found in Arduino IDE: file>Examples>grbl>grblUpload) to Arduino

Setup GRBL:

Use some grbl controller to calibrate xy-table, I recommend Universal Gcode Sender, since it has a setup wizard.

  1. Open ugs-platform.
  2. connect to arduino using correct baud-rate (usually 115200)
  3. access setup wizard in Machine>Setup Wizard
  4. Follow setup wizard

NOTE: (for linux-users)
If the interface is glitching, run the ugsplatform file (in bin folder) from the terminal using:
LIBGL_ALWAYS_SOFTWARE=true ./ugsplatform

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published