# \[Solved\] Problem with wiring GRBL and Gecko G540 - Homing Solution in 1st post

**URL:** <https://community.inventables.com/t/solved-problem-with-wiring-grbl-and-gecko-g540-homing-solution-in-1st-post/27677>\
**Category:** Troubleshooting\
**Created:** [September 7, 2016, 11:54pm UTC](https://community.inventables.com/t/solved-problem-with-wiring-grbl-and-gecko-g540-homing-solution-in-1st-post/27677 "2016-09-07T23:54:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [September 8, 2016, 12:17am UTC](https://community.inventables.com/t/solved-problem-with-wiring-grbl-and-gecko-g540-homing-solution-in-1st-post/27677/4 "2016-09-08T00:17:26Z")

</div>

First thing I would recommend is loading grbl from the Inventables fork. That version has the initial parameters that work best with the X-carve.

Alternatively, you can change the parameters to the default values one by one.

Look here:  
If you have the 1000mm unit change $130 and $131 to 790.000 If you have the “new” version of the X-carve I think the default for X is 740.000

> [@X-carve Grbl Default Settings - 500mm](https://community.inventables.com/t/x-carve-grbl-default-settings-500mm/13824):
>
> I’ve been helping folks get their X-carve machines up and running. I’ve learned a lot. One of the things that I have noticed is that the grbl parameters seem to be inconsistent, especially when the Arduino has to be re-flashed. Long story short I wanted to find out exactly what the defaults should be. I took a new Arduino and used the EEPROM clear example program to clear the contents of the EEPROM (1024 locations), compiled the source code for Grbl 0.9j, downloaded to the Arduino, then ask fo…

Then check this:

> [@\[Guide\] Using Grbl to debug your homing switches](https://community.inventables.com/t/guide-using-grbl-to-debug-your-homing-switches/16588):
>
> If you are having difficulties with your homing switches you can do a quick test with Grbl to see what the state of the homing switches is from Grbl’s point of view. NOTE: In order to use this procedure you need to have grbl Version 0.9j or later installed on your Arduino. To do so, you use the Grbl status immediate command ? (question mark). This command asks Grbl for its current value of some of its state information. For the purpose of this article we are interested in the homing switch stat…

---

_[View the full topic](https://community.inventables.com/t/solved-problem-with-wiring-grbl-and-gecko-g540-homing-solution-in-1st-post/27677)._
