/** * Configuration_Overall.h * Here you can define all your custom settings and they will overwrite configurations in the main configuration files. */ /*********************** * Configuration_Basic * ***********************/ #define SERIAL_PORT 0 #define BAUDRATE 250000 //#define BLUETOOTH #define BLUETOOTH_PORT 0 #define BLUETOOTH_BAUD 115200 #define STRING_CONFIG_H_AUTHOR "(none, Prusa R2 EVO)" #define MACHINE_UUID "00000000-0000-0000-0000-000000000000" #define KILL_METHOD 0 //#define FIRMWARE_TEST //#define NO_TIMEOUTS 1000 // Milliseconds //#define ADVANCED_OK #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113. #define MOTHERBOARD BOARD_RAMPS_13_HFF #define MECHANISM MECH_CARTESIAN //#define MECHANISM MECH_COREXY //#define MECHANISM MECH_COREYX //#define MECHANISM MECH_COREXZ //#define MECHANISM MECH_COREZX //#define MECHANISM MECH_DELTA //#define MECHANISM MECH_SCARA #define POWER_SUPPLY 1 //#define PS_DEFAULT_OFF #define EXTRUDERS 2 #define DRIVER_EXTRUDERS 2 /***************************** * Configuration_Temperature * *****************************/ #define CONFIGURATION_TEMPERATURE_H //#define TEMPERATURE_UNITS_SUPPORT #define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_3 0 #define TEMP_SENSOR_BED 1 #define TEMP_SENSOR_CHAMBER 0 #define TEMP_SENSOR_COOLER 0 #define TEMP_SENSOR_AD595_OFFSET 0 #define TEMP_SENSOR_AD595_GAIN 1 #define DUMMY_THERMISTOR_998_VALUE 25 #define DUMMY_THERMISTOR_999_VALUE 25 //#define SHOW_TEMP_ADC_VALUES #define TEMP_RESIDENCY_TIME 10 // (seconds) #define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one #define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early. #define TEMP_BED_RESIDENCY_TIME 0 // (seconds) #define TEMP_BED_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one #define TEMP_BED_WINDOW 1 // (degC) Window around target to start the residency timer x degC early. #define TEMP_CHAMBER_RESIDENCY_TIME 0 // (seconds) #define TEMP_CHAMBER_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one #define TEMP_CHAMBER_WINDOW 1 // (degC) Window around target to start the residency timer x degC early. #define TEMP_COOLER_RESIDENCY_TIME 0 // (seconds) #define TEMP_COOLER_HYSTERESIS 1 // (degC) range of +/- temperatures considered "close" to the target one #define TEMP_COOLER_WINDOW 1 // (degC) Window around target to start the residency timer x degC early. #define HEATER_0_MAXTEMP 280 #define HEATER_1_MAXTEMP 275 #define HEATER_2_MAXTEMP 275 #define HEATER_3_MAXTEMP 275 #define BED_MAXTEMP 120 #define CHAMBER_MAXTEMP 150 #define COOLER_MAXTEMP 150 #define HEATER_0_MINTEMP 5 #define HEATER_1_MINTEMP 5 #define HEATER_2_MINTEMP 5 #define HEATER_3_MINTEMP 5 #define BED_MINTEMP 5 #define CHAMBER_MINTEMP 5 #define COOLER_MINTEMP 5 #define PLA_PREHEAT_HOTEND_TEMP 200 #define PLA_PREHEAT_HPB_TEMP 20 #define PLA_PREHEAT_FAN_SPEED 255 #define ABS_PREHEAT_HOTEND_TEMP 250 #define ABS_PREHEAT_HPB_TEMP 90 #define ABS_PREHEAT_FAN_SPEED 0 #define GUM_PREHEAT_HOTEND_TEMP 230 #define GUM_PREHEAT_HPB_TEMP 60 #define GUM_PREHEAT_FAN_SPEED 255 #define AUTOTEMP #define AUTOTEMP_OLDWEIGHT 0.98 //#define HOTEND_WATTS (12.0*12.0/6.7) // P=I^2/R //#define BED_WATTS (12.0*12.0/1.1) // P=I^2/R //#define HEATERS_PARALLEL //#define TEMP_SENSOR_1_AS_REDUNDANT #define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10 // (degC) //#define TEMP_STAT_LEDS #define BANG_MAX 255 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current #define K1 0.95 // Smoothing factor within the PID #define MAX_OVERSHOOT_PID_AUTOTUNE 20 // Max valor for overshoot autotune #define PIDTEMP //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result. //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay #define PID_FUNCTIONAL_RANGE 10 // degC #define PID_INTEGRAL_DRIVE_MAX PID_MAX // Limit for the integral term //#define PID_ADD_EXTRUSION_RATE #define LPQ_MAX_LEN 50 #define DEFAULT_Kp {39.78,41.51,41.51,41.51} #define DEFAULT_Ki {7.08,7.28,7.28,7.28} #define DEFAULT_Kd {55.88,59.17,59.17,59.17} #define DEFAULT_Kc {100,100,100,100} //#define PIDTEMPBED //#define BED_LIMIT_SWITCHING #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS (works only if BED_LIMIT_SWITCHING is enabled) #define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control #define MAX_BED_POWER 255 #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER // limit for the integral term #define DEFAULT_bedKp 10 #define DEFAULT_bedKi 1 #define DEFAULT_bedKd 305 //#define PID_BED_DEBUG // Sends debug data to the serial port. //#define PIDTEMPCHAMBER //#define CHAMBER_LIMIT_SWITCHING #define CHAMBER_HYSTERESIS 2 //only disable heating if T>target+CHAMBER_HYSTERESIS and enable heating if T>target-CHAMBER_HYSTERESIS (works only if CHAMBER_LIMIT_SWITCHING is enabled) #define CHAMBER_CHECK_INTERVAL 5000 //ms between checks in bang-bang control #define MAX_CHAMBER_POWER 255 #define PID_CHAMBER_INTEGRAL_DRIVE_MAX MAX_CHAMBER_POWER // limit for the integral term #define DEFAULT_chamberKp 10 #define DEFAULT_chamberKi 1 #define DEFAULT_chamberKd 305 //#define PID_CHAMBER_DEBUG // Sends debug data to the serial port. //#define PIDTEMPCOOLER //#define FAST_PWM_COOLER //#define COOLER_LIMIT_SWITCHING #define COOLER_HYSTERESIS 2 //only disable heating if T