diff --git a/readme.md b/readme.md index be2eb3b..3a6b129 100644 --- a/readme.md +++ b/readme.md @@ -13,4 +13,86 @@ A GRBL compatible controller for use as a drop-in replacement for the SC100 USB - Some juper block for IO-config Alvast een leuk plaatje: -![PCB Render](images/render2_composit_web.png) \ No newline at end of file +![PCB Render](images/render2_composit_web.png) + + +# Stepcraft 420 CNC settings with GRBLizer + +Notes kindly provided by [Albin Stigö](https://github.com/ast) on getting [GRBL v1.1](https://github.com/gnea/grbl/wiki) working with the +[GRBLizer](https://github.com/eflukx/Stepcraft-GRBLizer) board. + +Tested on Stepcraft 420, but probably works with most other Stepcraft types. + +## Setup + +* Stepcraft 420 CNC +* Stepcraft drivers with GRBLizer board +* [GRBL v1.1](https://github.com/gnea/grbl/wiki) +* [Universal-G-Code-Sender](https://github.com/winder/Universal-G-Code-Sender) + +Install GRBL in the usual way. However you need to make some changes in config.h and cpu_map.h. + +```c +/* cpu_map.h */ + +// The Stepcraft has all limits on one pin. +#define X_LIMIT_BIT 1 // Uno Digital Pin 9 +#define Y_LIMIT_BIT 1 // Uno Digital Pin 9 +#define Z_LIMIT_BIT 1 // Uno Digital Pin 9 +``` + +```c +/* config.h */ + +// Since all limit switches end up being shared on one pin, +// we can only home one direction at a time. +#define HOMING_CYCLE_0 (1<