# \[Resolved\] Boned my Arduino - Need help setting up Grbl

**URL:** https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505
**Category:** Troubleshooting
**Created:** [June 18, 2015, 12:08am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505 "2015-06-18T00:08:55Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:08am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/1 "2015-06-18T00:08:55Z")

</div>

So i was playing with Estlcam software, anyway… it re-flashed my arudino and now it won’t work. I followed the grbl 0.9i re-install, got it back and loaded but the X-axis is reversed… and not sure what else isn’t configured.

Is there a grbl script or something i can run to configure all the settings I need? Or is the defaults fine.

I’m running the acme z-axis, with endstops. Thanks in advance…

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:34am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/2 "2015-06-18T00:34:05Z")

</div>

Ok this is what i got so far  
$3=3 (correct inversion of the x/y/z)  
$23=3 (homing inversion as well)

anything else i should set?

---

<div class="post-metadata">

### Author: ![TonyNo](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/tonyno/32/3291_2.png) [@TonyNo](https://community.inventables.com/u/TonyNo)
#### Post date: [June 18, 2015, 12:36am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/3 "2015-06-18T00:36:27Z")

</div>

Would going to [Easel](http://easel.inventables.com/setup) fix that?

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:40am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/4 "2015-06-18T00:40:06Z")

</div>

I just went through it several times. The first time i selected “no” on the X and Y axis, and chose the “axis moved in wrong direction”. It said it’d change the axis, it never did. I had to do it manually.

Right now i got the axis’ correct, but the steps are off. One inch moves like 8 inches…

So after several passes at setup, i haven’t been able to get it working.

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:42am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/5 "2015-06-18T00:42:19Z")

</div>

Could someone fire up their “Arduino software” if they have it, run a serial monitor on the X-Carve Com port, connected at 115k baud.

Once you see the terminal, can you hit enter “$$” and submit that (with newline at end). It should spit out a bunch of values, could someone post those values?

Thanks!

---

<div class="post-metadata">

### Author: ![AlanDavis](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/alandavis/32/4710_2.png) [@AlanDavis](https://community.inventables.com/u/AlanDavis)
#### Post date: [June 18, 2015, 12:51am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/6 "2015-06-18T00:51:45Z")

</div>

I think you’re going trough same problem i’ve been battling. If you didn’t  
Try yet;  
Start Arduino,  
Go to File - Examples - EEPROM - eeprom\_clear  
Click it,

Find this line,

for ( int i = 0 ; i \< EEPROM.length() ; i++ )

MUST BE CHANGED TO

for ( int i = 0 ; i \< 1024; i++ )

After upload finish, close Arduino IDE, open XLoader , Make sure all your settings are correct  
Device = Uno(ATmega328)  
Baud rate 115200  
Load HEX file name = grbl0\_9i\_X\_Carve\_500mm\_ACME.hex

Close XLoader and start Easel, run machine setup.

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:52am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/7 "2015-06-18T00:52:09Z")

</div>

Ok got the answer, don’t flash with the default grbl 0.9i, you have to flash the inventables one here

> **[GitHub - inventables/grbl: Inventables X-Carve specific Grbl versions:](https://github.com/inventables/grbl)**
>
> Inventables X-Carve specific Grbl versions:. Contribute to inventables/grbl development by creating an account on GitHub.

Here are the default values of the inventables version

Grbl 0.9i [‘$’ for help]  
[‘$H’|‘$X’ to unlock]  
$0=10 (step pulse, usec)  
$1=25 (step idle delay, msec)  
$2=0 (step port invert mask:00000000)  
$3=3 (dir port invert mask:00000011)  
$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=0 (soft limits, bool)  
$21=0 (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=250.000 (x, step/mm)  
$101=250.000 (y, step/mm)  
$102=188.976 (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=290.000 (x max travel, mm)  
$131=290.000 (y max travel, mm)  
$132=200.000 (z max travel, mm)

---

<div class="post-metadata">

### Author: ![DennisEnglish](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@DennisEnglish](https://community.inventables.com/u/DennisEnglish)
#### Post date: [June 18, 2015, 12:55am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/8 "2015-06-18T00:55:32Z")

</div>

Reverse the stepper motor leads that you checked for resistance when you initially setup the x-carve.

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 12:58am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/9 "2015-06-18T00:58:10Z")

</div>

Ok, still having issues.

Flashed with the inventables version and the step interval is still waaay of. I say move X or Y direction 1 inch and it moves 6-7.

Any ideas?

---

<div class="post-metadata">

### Author: ![AlanDavis](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/alandavis/32/4710_2.png) [@AlanDavis](https://community.inventables.com/u/AlanDavis)
#### Post date: [June 18, 2015, 1:03am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/10 "2015-06-18T01:03:43Z")

</div>

If my post didn’t help, go to this link and see what steps we go for exact same problem. If you don’t erase your eprom, doesn’t take anything else. When you upload correct hex file you don’t have to work on those numbers.

> [@\[Solved\] X-Carve enlarging image](https://community.inventables.com/t/solved-x-carve-enlarging-image/8972):
>
> My X-Carve acting bad, anything on the Easel drawing or VCarve pro drawing enlarging output 8 to 9 times bigger when its carving. Support sent me hex file, no help. All control fine, homing is good, machine setup is good. GRBL Controller, Universal Gcode sender and Easel doing same thing. Output image is huge, hitting side wall. Heeeelllpp.

---

<div class="post-metadata">

### Author: ![NicoDarrow](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@NicoDarrow](https://community.inventables.com/u/NicoDarrow)
#### Post date: [June 18, 2015, 1:13am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/11 "2015-06-18T01:13:58Z")

</div>

Resolved.

Run EEPROM-\>Clear, script from the arduino examples sketches. Wipe the EEPROM and then reflash with the inventables grbl version.

Thanks @AlanDavis, made my night!

---

<div class="post-metadata">

### Author: ![Tjen](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@Tjen](https://community.inventables.com/u/Tjen)
#### Post date: [June 19, 2015, 10:06am UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/12 "2015-06-19T10:06:04Z")

</div>

Hello everyone

Is this also the version for the X-carve 1000mm?  
 → [GitHub - inventables/grbl: Inventables X-Carve specific Grbl versions:](https://github.com/inventables/grbl)

---

<div class="post-metadata">

### Author: ![PJTX](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/pjtx/32/67651_2.png) [@PJTX](https://community.inventables.com/u/PJTX)
#### Post date: [June 19, 2015, 2:20pm UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/13 "2015-06-19T14:20:58Z")

</div>

I believe that they use the same one for 500/1000. When you go into Easel, it will ask you to specify your machine size.

---

<div class="post-metadata">

### Author: ![AlanDavis](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/alandavis/32/4710_2.png) [@AlanDavis](https://community.inventables.com/u/AlanDavis)
#### Post date: [June 19, 2015, 4:44pm UTC](https://community.inventables.com/t/resolved-boned-my-arduino-need-help-setting-up-grbl/9505/14 "2015-06-19T16:44:52Z")

</div>

That one didn’t work on mine.  
This is the correct one. Don’t worry about saying 500mm, as soon as machine setup on easel, it will be smooth riding.[grbl0\_9i\_X\_Carve\_500mm\_ACME (1).hex](https://community.inventables.com/uploads/inventables/40663d609f18fdba06c469750eeb57c24e8ffb37a574.hex) (80.3 KB)
