Welcome! Log In Create A New Profile

Advanced

How to insert pin assignments for ramps 1.4 and repetier configuration h

Posted by plane captain 
How to insert pin assignments for ramps 1.4 and repetier configuration h
April 14, 2012 02:35PM
Where do you type the pin assignments in config h? Below I have typed in where I thik they would go.





// 101 is MAX6675
#define EXT0_TEMPSENSOR_TYPE 5
// Position in analog input table below for reading temperatures or pin enabling SS for MAX6675
#define EXT0_TEMPSENSOR_PIN 0
// WHich pin enables the heater
#define EXT0_HEATER_PIN HEATER_0_PIN
#define EXT0_STEP_PIN E_STEP_PIN
#define EXT0_DIR_PIN E_DIR_PIN 28 {--------------------------------------------- a space then the pin number 28?????
// set to 0/1 for normal / inverse direction
#define EXT0_INVERSE false
#define EXT0_ENABLE_PIN E_ENABLE_PIN
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define EXT0_ENABLE_ON false
// The following speed settings are for skeinforge 40+ where e is the
// length of filament pulled inside the heater. For repsnap or older
// skeinforge use hiher values.
// Overridden if EEPROM activated.
#define EXT0_MAX_FEEDRATE 1200 /////////////////////////////////////////////////////////////////// This is from config. h pde.
// Feedrate from halted extruder in mm/s
// Overridden if EEPROM activated.
#define EXT0_MAX_START_FEEDRATE 10
// Acceleration in mm/s^2
// Overridden if EEPROM activated.
#define EXT0_MAX_ACCELERATION 10000// For RAMPS 1.4




#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 //////////////////////////////////////////////////This is a list of pins.
#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

Edited 2 time(s). Last edit at 04/14/2012 02:39PM by plane captain.
Sorry, only registered users may post in this forum.

Click here to login