Arduino Nano + Easydriver + GRBL 9 + DVD Laser

Desactivar o PWM:

http://marco-difeo.de/2015/10/13/grbl-0-9j-running-your-laser-with-spindle-pin-on-off/

//#define VARIABLE_SPINDLE // Default enabled. Comment to disable.

Ligar o laser no pin12


Para o Homing funcionar é necessário:

  1. $20=1 (soft limits, bool)
  2. $21=1 (hard limits, bool)
  3. $22=1 (homing cycle, bool)
  4. $23=3 (homing dir invert mask:00000011) Porque os switchs não estão no ponto mais longe
  5. Desactivar o Homing do Z:
    // #define HOMING_CYCLE_0 (1<<Z_AXIS)
    #define HOMING_CYCLE_0 ((1<<X_AXIS)|(1<<Y_AXIS))
    // #define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS))

Parametros do GRBL

$0=10 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=0 (dir port invert mask:00000000)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.010 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=1 (soft limits, bool)
$21=1 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=3 (homing dir invert mask:00000011)
$24=25.000 (homing feed, mm/min)
$25=500.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=53.333 (x, step/mm)
$101=53.333 (y, step/mm)
$102=250.000 (z, step/mm)
$110=500.000 (x max rate, mm/min)
$111=500.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=10.000 (x accel, mm/sec^2)
$121=10.000 (y accel, mm/sec^2)
$122=10.000 (z accel, mm/sec^2)
$130=37.000 (x max travel, mm)
$131=37.000 (y max travel, mm)
$132=200.000 (z max travel, mm)


Outros

É necessário definir o ZERO (neste caso é na mesma posição que o homing)

Instalar a extensão no Inkscape: https://jtechphotonics.com/?page_id=2012

Os switch’s são ligados ao GND e ao pin correspondente e não necessita de resistencias.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s