Difference between revisions of "GRBL"
From Robert-Depot
(Created page with "*<code>AVRPATH=/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr</code> *<code>export DEVPATH=/dev/tty.usbmodem1411</code> *<code>export GRBLHEX=grbl.hex</code...") |
|||
Line 4: | Line 4: | ||
*From grbl directory, run <code>$AVRPATH/bin/avrdude -C$AVRPATH/etc/avrdude.conf -pm328p -carduino -P$DEVPATH -D -Uflash:w:$GRBLHEX</code> | *From grbl directory, run <code>$AVRPATH/bin/avrdude -C$AVRPATH/etc/avrdude.conf -pm328p -carduino -P$DEVPATH -D -Uflash:w:$GRBLHEX</code> | ||
**from https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino | **from https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino | ||
+ | |||
+ | |||
+ | == My GRBL defaults == | ||
+ | <code> | ||
+ | $0=28.175 (x, step/mm) | ||
+ | $1=28.175 (y, step/mm) | ||
+ | $2=250.000 (z, step/mm) | ||
+ | $3=10 (step pulse, usec) | ||
+ | $4=17780.000 (default feed, mm/min) | ||
+ | $5=17780.000 (default seek, mm/min) | ||
+ | $6=56 (step port invert mask, int:00111000) | ||
+ | $7=25 (step idle delay, msec) | ||
+ | $8=500.000 (acceleration, mm/sec^2) | ||
+ | $9=0.050 (junction deviation, mm) | ||
+ | $10=0.100 (arc, mm/segment) | ||
+ | $11=25 (n-arc correction, int) | ||
+ | $12=3 (n-decimals, int) | ||
+ | $13=0 (report inches, bool) | ||
+ | $14=1 (auto start, bool) | ||
+ | $15=0 (invert step enable, bool) | ||
+ | $16=0 (hard limits, bool) | ||
+ | $17=0 (homing cycle, bool) | ||
+ | $18=0 (homing dir invert mask, int:00000000) | ||
+ | $19=25.000 (homing feed, mm/min) | ||
+ | $20=250.000 (homing seek, mm/min) | ||
+ | $21=100 (homing debounce, msec) | ||
+ | $22=1.000 (homing pull-off, mm) | ||
+ | ok | ||
+ | ok | ||
+ | </code> |
Revision as of 12:07, 23 February 2013
AVRPATH=/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr
export DEVPATH=/dev/tty.usbmodem1411
export GRBLHEX=grbl.hex
- From grbl directory, run
$AVRPATH/bin/avrdude -C$AVRPATH/etc/avrdude.conf -pm328p -carduino -P$DEVPATH -D -Uflash:w:$GRBLHEX
My GRBL defaults
$0=28.175 (x, step/mm)
$1=28.175 (y, step/mm)
$2=250.000 (z, step/mm)
$3=10 (step pulse, usec)
$4=17780.000 (default feed, mm/min)
$5=17780.000 (default seek, mm/min)
$6=56 (step port invert mask, int:00111000)
$7=25 (step idle delay, msec)
$8=500.000 (acceleration, mm/sec^2)
$9=0.050 (junction deviation, mm)
$10=0.100 (arc, mm/segment)
$11=25 (n-arc correction, int)
$12=3 (n-decimals, int)
$13=0 (report inches, bool)
$14=1 (auto start, bool)
$15=0 (invert step enable, bool)
$16=0 (hard limits, bool)
$17=0 (homing cycle, bool)
$18=0 (homing dir invert mask, int:00000000)
$19=25.000 (homing feed, mm/min)
$20=250.000 (homing seek, mm/min)
$21=100 (homing debounce, msec)
$22=1.000 (homing pull-off, mm)
ok
ok