Post by mikemaat on Aug 22, 2012 14:34:54 GMT -5
Have spent the last day or so messing with settings in Marlin to get it working right on the Sumpod Aluminum. I will post the changes needed to be made to the regular Sumpod Marlin firmware version. Once finished and running smooth, I will also upload a complete Aluminum-only Marlin version.
So far, the endstops are not set up in Marlin correctly. Because the aluminum only has an X minimum, Y Maximum and Z Maximum, a few settings need to be made. Also, the aluminum comes with normally closed end switches (meaning the circuit is broken when they are pushed). The following assumes you set your machine up like mine (CNC standard) with the back of the machine being X+ the front of the machine being X-, the left of the machine being Y- the right of the machine being Y+, the top of the machine being Z- and the bottom being Z+. The Z configuration may not seem like standard CNC, but rest assure it is, this is because the build platform is moving rather than the CNC head (in a typical CNC machine).
So first of all, make sure that your endstops are plugged in to the RAMPS board across the ground (-) and signal (S) pins (same as the wiki). And plug them in the following slots : X-, Y+, Z+
Then, in Marlin, make the following changes:
- On the configuration.h tab change :
const bool X_ENDSTOPS_INVERTING = true;
const bool Y_ENDSTOPS_INVERTING = true;
const bool Z_ENDSTOPS_INVERTING = true;
TO
const bool X_ENDSTOPS_INVERTING = false;
const bool Y_ENDSTOPS_INVERTING = false;
const bool Z_ENDSTOPS_INVERTING = false;
- On the same tab, add two // in front of #define BAUDRATE 250000 and remove the two // from #define BAUDRATE 115200. This will allow us to use the Sumpod in ReplicatorG with the "Klimentkip" machine type.
- On the Pins.h tab scroll down to "Arduino Mega pin assignment" (Search it) and change the value for:
#define X_MAX_PIN -> -1
#define Y_MIN_PIN -1
#define Z_MIN_PIN -1
This will disable the endstops at those ends of the axis (since they dont exist!)
- Scroll down from the above changes until you see #define BTN_EN1. These are the settings for the encoder. The Marlin firmware as is has the rotary encoder turning in the opposite direction to what I think is normal for going through the menus. We are going to swap the values for BTN_EN1 and BTN_2. Change the values to :
#define BTN_EN1 44
#defin BTN_EN2 42
So far, the endstops are not set up in Marlin correctly. Because the aluminum only has an X minimum, Y Maximum and Z Maximum, a few settings need to be made. Also, the aluminum comes with normally closed end switches (meaning the circuit is broken when they are pushed). The following assumes you set your machine up like mine (CNC standard) with the back of the machine being X+ the front of the machine being X-, the left of the machine being Y- the right of the machine being Y+, the top of the machine being Z- and the bottom being Z+. The Z configuration may not seem like standard CNC, but rest assure it is, this is because the build platform is moving rather than the CNC head (in a typical CNC machine).
So first of all, make sure that your endstops are plugged in to the RAMPS board across the ground (-) and signal (S) pins (same as the wiki). And plug them in the following slots : X-, Y+, Z+
Then, in Marlin, make the following changes:
- On the configuration.h tab change :
const bool X_ENDSTOPS_INVERTING = true;
const bool Y_ENDSTOPS_INVERTING = true;
const bool Z_ENDSTOPS_INVERTING = true;
TO
const bool X_ENDSTOPS_INVERTING = false;
const bool Y_ENDSTOPS_INVERTING = false;
const bool Z_ENDSTOPS_INVERTING = false;
- On the same tab, add two // in front of #define BAUDRATE 250000 and remove the two // from #define BAUDRATE 115200. This will allow us to use the Sumpod in ReplicatorG with the "Klimentkip" machine type.
- On the Pins.h tab scroll down to "Arduino Mega pin assignment" (Search it) and change the value for:
#define X_MAX_PIN -> -1
#define Y_MIN_PIN -1
#define Z_MIN_PIN -1
This will disable the endstops at those ends of the axis (since they dont exist!)
- Scroll down from the above changes until you see #define BTN_EN1. These are the settings for the encoder. The Marlin firmware as is has the rotary encoder turning in the opposite direction to what I think is normal for going through the menus. We are going to swap the values for BTN_EN1 and BTN_2. Change the values to :
#define BTN_EN1 44
#defin BTN_EN2 42