diff options
author | kliment <kliment.yanev@gmail.com> | 2011-06-14 09:38:33 +0200 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-06-14 09:38:33 +0200 |
commit | da9e4c7914d17b323d7273ee66718fa26e4a0ff7 (patch) | |
tree | 9b01888b60340e62f1838072f98f10310e3039cd /Tonokip_Firmware | |
parent | 38cb99420a4463e0de3423b7998b6e6372a12153 (diff) | |
parent | d4a7e0218ab30d9810d5c537d1708da79dd2c836 (diff) |
Merge branch 'master' of github.com:kliment/Sprinter
Diffstat (limited to 'Tonokip_Firmware')
-rw-r--r-- | Tonokip_Firmware/configuration.h | 1 | ||||
-rw-r--r-- | Tonokip_Firmware/pins.h | 57 |
2 files changed, 50 insertions, 8 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h index a658412..2bd4e6a 100644 --- a/Tonokip_Firmware/configuration.h +++ b/Tonokip_Firmware/configuration.h @@ -93,6 +93,7 @@ float e_steps_per_unit = 16; float max_feedrate = 200000; //mmm, acceleration! float max_z_feedrate = 120; +//For SAE Prusa mendeel float z_steps_per_unit = should be 3200/1.411 for 5/16-18 rod and 3200/1.058 for 5/16-24 //float x_steps_per_unit = 10.047; //float y_steps_per_unit = 10.047; //float z_steps_per_unit = 833.398; diff --git a/Tonokip_Firmware/pins.h b/Tonokip_Firmware/pins.h index fe5f1f7..79adaaa 100644 --- a/Tonokip_Firmware/pins.h +++ b/Tonokip_Firmware/pins.h @@ -206,11 +206,55 @@ #endif #endif +// uncomment one of the following lines for RAMPS v1.3 or v1.0, comment both for v1.2 or 1.1 +// #define RAMPS_V_1_3 +// #define RAMPS_V_1_0 + + +#ifdef RAMPS_V_1_3 + +#define X_STEP_PIN 54 +#define X_DIR_PIN 55 +#define X_ENABLE_PIN 38 +#define X_MIN_PIN 3 +#define X_MAX_PIN 2 + +#define Y_STEP_PIN 60 +#define Y_DIR_PIN 61 +#define Y_ENABLE_PIN 56 +#define Y_MIN_PIN 14 +#define Y_MAX_PIN 15 + +#define Z_STEP_PIN 46 +#define Z_DIR_PIN 48 +#define Z_ENABLE_PIN 62 +#define Z_MIN_PIN 18 +#define Z_MAX_PIN 19 + +#define E_STEP_PIN 26 +#define E_DIR_PIN 28 +#define E_ENABLE_PIN 24 + +#define SDPOWER -1 +#define SDSS 53 +#define LED_PIN 13 +#define FAN_PIN 9 +#define PS_ON_PIN 12 +#define KILL_PIN -1 + +#define HEATER_0_PIN 10 +#define HEATER_1_PIN 8 +#define TEMP_0_PIN 13 // ANALOG NUMBERING +#define TEMP_1_PIN 14 // ANALOG NUMBERING + + +#else // RAMPS_V_1_1 or RAMPS_V_1_2 as default + #define X_STEP_PIN 26 #define X_DIR_PIN 28 #define X_ENABLE_PIN 24 #define X_MIN_PIN 3 -#define X_MAX_PIN -2 //2 +#define X_MAX_PIN -1 //2 #define Y_STEP_PIN 38 #define Y_DIR_PIN 40 @@ -231,28 +275,25 @@ #define SDPOWER 48 #define SDSS 53 #define LED_PIN 13 - #define PS_ON_PIN -1 #define KILL_PIN -1 -// uncomment the following line for RAMPS V1.0 -// #define RAMPS_V_1_0 -#ifdef RAMPS_V_1_0 + +#ifdef RAMPS_V_1_0 // RAMPS_V_1_0 #define HEATER_0_PIN 12 // RAMPS 1.0 #define HEATER_1_PIN -1 // RAMPS 1.0 - #define FAN_PIN 11 // RAMPS 1.0 -#else // RAMPS_V_1_1 as default +#else // RAMPS_V_1_1 or RAMPS_V_1_2 #define HEATER_0_PIN 10 // RAMPS 1.1 #define HEATER_1_PIN 8 // RAMPS 1.1 - #define FAN_PIN 9 // RAMPS 1.1 #endif #define TEMP_0_PIN 2 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_1_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! +#endif // SPI for Max6675 Thermocouple |