Skip to content

Extruder Configuration

Jaco Theron edited this page Nov 22, 2016 · 2 revisions

The following settings, found in the Configuration.h file allows you to change a few things on the way the Extruder works (including temperatures).

Settings with 'EEPROM' in their descriotion can be updated by Repetier Host, in stead of flashing a slightly modified firmware file.

  • EXT0_TEMPSENSOR_TYPE
    • Current value: 1
    • Description: In order for the firmware to read the temperature sensor correctly, it needs to know what type of sensor it is.
      • 1 is a Thermistor (as the recommended upgrade).
      • 100 is the thermocouple the D5 comes with.
  • EXT0_STEPS_PER_MM
    • Current Value: 320
    • Description: The number of steps the extruder stepper motor should move to push 1mm of filament through the pipe. EEPROM.
  • EXT0_MAX_FEEDRATE
    • Current Value: 50
    • Description: The maximum speed that filament can be pushed into the extruder. EEPROM
  • EXT0_MAX_START_FEEDRATE
    • Current value: 20
    • Description: Feedrate from halted extruder in mm/s. EEPROM
  • EXT0_MAX_ACCELERATION
    • Current Value: 3000
    • Description: Acceleration in mm/s^2. EEPROM
  • EXT0_HEAT_MANAGER
    • Current Value: 1
    • Description: How should temperature control be enforced: 0 = on/off; 1 = PID Temperature control (please perform a PID Tune); 3 = Dead-Time control. EEPROM
  • PID_CONTROL_RANGE
    • Current Value: 20
    • Description: PID control only when temperature difference between sensor and target is less than this value (on/off if outside).
  • MAX_TEMP
    • Current Value: 275
    • Above this value you may get Thermal Runaway errors; this will try to switch off the heaters
  • MIN_DEFECT_TEMPERATURE & MAX_DEFECT_TEMPERATURE
    • Current Values: -10 & 290
    • Description: When a temperature outside of these values are read, the sensor will be marked as DEF, and heaters will be disabled (power cycle to reset).
  • MIN_EXTRUDER_TEMP
    • Current Value: 150
    • Description: The minimum extruder temperature allowed to extrude filament. Lower this if you use special filament requiring cooler extruders.
  • UI_SET_PRESET_EXTRUDER_TEMP_PLA
    • Current Value: 200
    • Description: If you set the Preheat PLA, the temperature it should heat to. This is usually a lower temperature
  • UI_SET_PRESET_EXTRUDER_TEMP_ABS
    • Current Value: 240
    • Description: The higher temperature setting, for the preheat options (called PETG in the menu).
  • UI_SET_MIN_EXTRUDER_TEMP & UI_SET_MAX_EXTRUDER_TEMP
    • Current Values: 170 & 260
    • Description: Minimum and Maximum temperatures you can set via the Menu.

Decoupling settings

The reason for decoupling settings are simple: to detect if the temperature sensor is no longer thermally connected to the heater - since this will result in an uncontrollable heater.

  • DECOUPLING_TEST_MAX_HOLD_VARIANCE
    • Current Value: 20
    • Description: The firmware checks if the heater and sensor got decoupled, which is dangerous. Since it will never reach target temperature, the heater will stay on for every which can burn your printer or house. As an additional barrier to your smoke detectors (I hope you have one above your printer) we now do some more checks to detect if something got wrong. If the temperature is on hold target, it may not sway more then this degrees in celsius, or we mark the sensor as defect (DEC).
  • DECOUPLING_TEST_MIN_TEMP_RISE
    • Current Value: 1
    • Description: Minimum temp. rise we expect after the set duration of full heating is over. Always keep a good safety margin to get no false positives. If your period is e.g. 10 seconds because at startup you already need 7 seconds until heater starts to rise temp. for sensor then you have 3 seconds of increased heating to reach 1°C.
  • EXT0_DECOUPLE_TEST_PERIOD
    • Current Value: 30000
    • Description: Time in ms between a heater action and test of success. Must be more than time between turning heater on and first temperature rise (DECOUPLING_TEST_MIN_TEMP_RISE)! 0 will disable decoupling test.

For support on this firmware, you can create an Issue (if you believe it is a bug), or post on the Wanhao Google Group.

You should always ensure to include that you are using this firmware on your printer, for us or other experts to help you get what you need faster.

Clone this wiki locally