problems with second extruder.
Hi Everybody,
I am having problems with most recent repetier firmware. I tried to find answers to my problem in forum but nothing came up. I upgrated my clone of TAZ to print using two heads. I configured firware online, make necessary changes in pins, uploaded to my MKS Gen V1.3 board.When I tested the new setup. it did not read the temperature of the second heater (which was on temp_2_pin and was connected to A15 pin) . I switched the connector to port temp_0_pin (pin A13) and it showed the correct temperature. I mention this to show that sensor and connections are Ok, something wrong with my Configuration or pins files. Also it does not turn off the second print cooler fan. Initially it was connected to aux1 pin D2. Then I moved it to aux2 pin A9, but nothing changed. The fan spines all the time. I would be very thankful if somebody can help me to figure out the problem.I tried to attach my Configuration and pins files but could not do it. The attach button complains that file is not allowed. I will copy here parts that are related to my problem.
and from pins.h file
I am having problems with most recent repetier firmware. I tried to find answers to my problem in forum but nothing came up. I upgrated my clone of TAZ to print using two heads. I configured firware online, make necessary changes in pins, uploaded to my MKS Gen V1.3 board.When I tested the new setup. it did not read the temperature of the second heater (which was on temp_2_pin and was connected to A15 pin) . I switched the connector to port temp_0_pin (pin A13) and it showed the correct temperature. I mention this to show that sensor and connections are Ok, something wrong with my Configuration or pins files. Also it does not turn off the second print cooler fan. Initially it was connected to aux1 pin D2. Then I moved it to aux2 pin A9, but nothing changed. The fan spines all the time. I would be very thankful if somebody can help me to figure out the problem.I tried to attach my Configuration and pins files but could not do it. The attach button complains that file is not allowed. I will copy here parts that are related to my problem.
#define EXT1_X_OFFSET 30
#define EXT1_Y_OFFSET 0
#define EXT1_Z_OFFSET 0
#define EXT1_STEPS_PER_MM 700
#define EXT1_TEMPSENSOR_TYPE 97
#define EXT1_TEMPSENSOR_PIN TEMP_2_PIN
#define EXT1_HEATER_PIN HEATER_2_PIN
#define EXT1_STEP_PIN ORIG_E1_STEP_PIN
#define EXT1_DIR_PIN ORIG_E1_DIR_PIN
#define EXT1_INVERSE 0
#define EXT1_ENABLE_PIN ORIG_E1_ENABLE_PIN
#define EXT1_ENABLE_ON 0
#define EXT1_MIRROR_STEPPER 0
#define EXT1_STEP2_PIN ORIG_E1_STEP_PIN
#define EXT1_DIR2_PIN ORIG_E1_DIR_PIN
#define EXT1_INVERSE2 0
#define EXT1_ENABLE2_PIN ORIG_E1_ENABLE_PIN
#define EXT1_MAX_FEEDRATE 50
#define EXT1_MAX_START_FEEDRATE 20
#define EXT1_MAX_ACCELERATION 5000
#define EXT1_HEAT_MANAGER 3
#define EXT1_PREHEAT_TEMP 190
#define EXT1_WATCHPERIOD 1
#define EXT1_PID_INTEGRAL_DRIVE_MAX 230
#define EXT1_PID_INTEGRAL_DRIVE_MIN 40
#define EXT1_PID_PGAIN_OR_DEAD_TIME 7
#define EXT1_PID_I 2
#define EXT1_PID_D 40
#define EXT1_PID_MAX 255
#define EXT1_ADVANCE_K 0
#define EXT1_ADVANCE_L 0
#define EXT1_ADVANCE_BACKLASH_STEPS 0
#define EXT1_WAIT_RETRACT_TEMP 150
#define EXT1_WAIT_RETRACT_UNITS 0
#define EXT1_SELECT_COMMANDS ""
#define EXT1_DESELECT_COMMANDS ""
#define EXT1_EXTRUDER_COOLER_PIN 57
#define EXT1_EXTRUDER_COOLER_SPEED 255
#define EXT1_DECOUPLE_TEST_PERIOD 12000
#define EXT1_JAM_PIN -1
#define EXT1_JAM_PULLUP 0
and from pins.h file
#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 39 || MOTHERBOARD == 38
#define KNOWN_BOARD 1
#if !(defined (__AVR_ATmega1280__ ) || defined (__AVR_ATmega2560__ ))
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
// 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 ORIG_X_STEP_PIN 54
#define ORIG_X_DIR_PIN 55
#define ORIG_X_ENABLE_PIN 38
#define ORIG_X_MIN_PIN 3
#define ORIG_X_MAX_PIN 2
#define ORIG_Y_STEP_PIN 60
#define ORIG_Y_DIR_PIN 61
#define ORIG_Y_ENABLE_PIN 56
#define ORIG_Y_MIN_PIN 14
#define ORIG_Y_MAX_PIN 18
#define ORIG_Z_STEP_PIN 46
#define ORIG_Z_DIR_PIN 48
#define ORIG_Z_ENABLE_PIN 62
#define ORIG_Z_MIN_PIN 15
#define ORIG_Z_MAX_PIN 19
#define ORIG_E0_STEP_PIN 26
#define ORIG_E0_DIR_PIN 28
#define ORIG_E0_ENABLE_PIN 24
#define ORIG_E1_STEP_PIN 36
#define ORIG_E1_DIR_PIN 34
#define ORIG_E1_ENABLE_PIN 30
#define SDPOWER -1
#define SDSS 53
#define ORIG_SDCARDDETECT 49
#define LED_PIN 13
#define ORIG_FAN_PIN 10
#define ORIG_FAN2_PIN 9
#define ORIG_PS_ON_PIN 12
#define HEATER_0_PIN 9
#define HEATER_1_PIN 8
#define HEATER_2_PIN 7
// ANALOG NUMBERING
#define TEMP_0_PIN 13
#define TEMP_1_PIN 14
#define TEMP_2_PIN 15
#define E0_PINS ORIG_E0_STEP_PIN,ORIG_E0_DIR_PIN,ORIG_E0_ENABLE_PIN,
#define E1_PINS ORIG_E1_STEP_PIN,ORIG_E1_DIR_PIN,ORIG_E1_ENABLE_PIN,
Thanks , Simon
Comments
If you have no heated bed you can try TEMP_1_PIN for second extruder temperature. If not I can not say if pin number is wrong or pin is defect or you set it to digital by using the digital pin number somewhere.
Other analog pins will not work as this is not just a analog pin, but also a voltage divider with 4.7K resistor. If you have such a resistor you can of course make the same schematic for any analog pin by hand.
Thanks Simon