|
@ -20,24 +20,23 @@ |
|
|
* |
|
|
* |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#ifndef CONFIGURATION_H |
|
|
|
|
|
#define CONFIGURATION_H |
|
|
|
|
|
#define CONFIGURATION_H_VERSION 010100 |
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
//================================= README ==================================
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Configuration.h |
|
|
* BQ Hephestos 2 Configuration |
|
|
* |
|
|
|
|
|
* Basic settings such as: |
|
|
|
|
|
* |
|
|
|
|
|
* - Type of electronics |
|
|
|
|
|
* - Type of temperature sensor |
|
|
|
|
|
* - Printer geometry |
|
|
|
|
|
* - Endstop configuration |
|
|
|
|
|
* - LCD controller |
|
|
|
|
|
* - Extra features |
|
|
|
|
|
* |
|
|
* |
|
|
* Advanced settings can be found in Configuration_adv.h |
|
|
* This configuration supports the standard Hephestos 2 with or without the |
|
|
|
|
|
* heated bed kit featured at https://store.bq.com/en/heated-bed-kit-hephestos2
|
|
|
* |
|
|
* |
|
|
|
|
|
* Enable the following option to activate all functionality related to the heated bed. |
|
|
*/ |
|
|
*/ |
|
|
#ifndef CONFIGURATION_H |
|
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
|
|
#define CONFIGURATION_H |
|
|
|
|
|
#define CONFIGURATION_H_VERSION 010100 |
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= Getting Started =============================
|
|
|
//============================= Getting Started =============================
|
|
@ -269,7 +268,13 @@ |
|
|
#define TEMP_SENSOR_2 0 |
|
|
#define TEMP_SENSOR_2 0 |
|
|
#define TEMP_SENSOR_3 0 |
|
|
#define TEMP_SENSOR_3 0 |
|
|
#define TEMP_SENSOR_4 0 |
|
|
#define TEMP_SENSOR_4 0 |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT) |
|
|
|
|
|
#define TEMP_SENSOR_BED 70 |
|
|
|
|
|
#define HEATER_BED_INVERTING true |
|
|
|
|
|
#else |
|
|
#define TEMP_SENSOR_BED 0 |
|
|
#define TEMP_SENSOR_BED 0 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
|
#define DUMMY_THERMISTOR_998_VALUE 25 |
|
|
#define DUMMY_THERMISTOR_998_VALUE 25 |
|
@ -293,7 +298,7 @@ |
|
|
// The minimal temperature defines the temperature below which the heater will not be enabled It is used
|
|
|
// The minimal temperature defines the temperature below which the heater will not be enabled It is used
|
|
|
// to check that the wiring to the thermistor is not broken.
|
|
|
// to check that the wiring to the thermistor is not broken.
|
|
|
// Otherwise this would lead to the heater being powered on all the time.
|
|
|
// Otherwise this would lead to the heater being powered on all the time.
|
|
|
#define HEATER_0_MINTEMP 15 |
|
|
#define HEATER_0_MINTEMP 5 |
|
|
#define HEATER_1_MINTEMP 5 |
|
|
#define HEATER_1_MINTEMP 5 |
|
|
#define HEATER_2_MINTEMP 5 |
|
|
#define HEATER_2_MINTEMP 5 |
|
|
#define HEATER_3_MINTEMP 5 |
|
|
#define HEATER_3_MINTEMP 5 |
|
@ -303,12 +308,12 @@ |
|
|
// When temperature exceeds max temp, your heater will be switched off.
|
|
|
// When temperature exceeds max temp, your heater will be switched off.
|
|
|
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
|
|
|
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
|
|
|
// You should use MINTEMP for thermistor short/failure protection.
|
|
|
// You should use MINTEMP for thermistor short/failure protection.
|
|
|
#define HEATER_0_MAXTEMP 250 |
|
|
#define HEATER_0_MAXTEMP 275 |
|
|
#define HEATER_1_MAXTEMP 275 |
|
|
#define HEATER_1_MAXTEMP 275 |
|
|
#define HEATER_2_MAXTEMP 275 |
|
|
#define HEATER_2_MAXTEMP 275 |
|
|
#define HEATER_3_MAXTEMP 275 |
|
|
#define HEATER_3_MAXTEMP 275 |
|
|
#define HEATER_4_MAXTEMP 275 |
|
|
#define HEATER_4_MAXTEMP 275 |
|
|
#define BED_MAXTEMP 150 |
|
|
#define BED_MAXTEMP 110 |
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= PID Settings ================================
|
|
|
//============================= PID Settings ================================
|
|
@ -362,7 +367,10 @@ |
|
|
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
|
|
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
|
|
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
|
|
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
|
|
// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
|
|
// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
|
|
//#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
|
|
|
|
|
|
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT) |
|
|
|
|
|
#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(PIDTEMPBED) |
|
|
#if ENABLED(PIDTEMPBED) |
|
|
|
|
|
|
|
@ -414,7 +422,7 @@ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
|
|
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
|
|
//#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
|
#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= Mechanical Settings =========================
|
|
|
//============================= Mechanical Settings =========================
|
|
@ -499,14 +507,14 @@ |
|
|
* Override with M92 |
|
|
* Override with M92 |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 8000, 204 } |
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 8000, 210.02 } |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Default Max Feed Rate (mm/s) |
|
|
* Default Max Feed Rate (mm/s) |
|
|
* Override with M203 |
|
|
* Override with M203 |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_MAX_FEEDRATE { 250, 250, 2, 200 } |
|
|
#define DEFAULT_MAX_FEEDRATE { 167, 167, 3.3, 167 } |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Default Max Acceleration (change/s) change = mm/s |
|
|
* Default Max Acceleration (change/s) change = mm/s |
|
@ -514,7 +522,7 @@ |
|
|
* Override with M201 |
|
|
* Override with M201 |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_MAX_ACCELERATION { 800, 800, 20, 1000 } |
|
|
#define DEFAULT_MAX_ACCELERATION { 1000, 1000, 100, 3000 } |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Default Acceleration (change/s) change = mm/s |
|
|
* Default Acceleration (change/s) change = mm/s |
|
@ -524,8 +532,8 @@ |
|
|
* M204 R Retract Acceleration |
|
|
* M204 R Retract Acceleration |
|
|
* M204 T Travel Acceleration |
|
|
* M204 T Travel Acceleration |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_ACCELERATION 800 // X, Y, Z and E acceleration for printing moves
|
|
|
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
@ -536,8 +544,8 @@ |
|
|
* When changing speed and direction, if the difference is less than the |
|
|
* When changing speed and direction, if the difference is less than the |
|
|
* value set here, it may happen instantaneously. |
|
|
* value set here, it may happen instantaneously. |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_XJERK 10.0 |
|
|
#define DEFAULT_XJERK 20.0 |
|
|
#define DEFAULT_YJERK 10.0 |
|
|
#define DEFAULT_YJERK 20.0 |
|
|
#define DEFAULT_ZJERK 0.4 |
|
|
#define DEFAULT_ZJERK 0.4 |
|
|
#define DEFAULT_EJERK 1.0 |
|
|
#define DEFAULT_EJERK 1.0 |
|
|
|
|
|
|
|
@ -690,7 +698,7 @@ |
|
|
#define Z_PROBE_OFFSET_RANGE_MAX 0 |
|
|
#define Z_PROBE_OFFSET_RANGE_MAX 0 |
|
|
|
|
|
|
|
|
// Enable the M48 repeatability test to test probe accuracy
|
|
|
// Enable the M48 repeatability test to test probe accuracy
|
|
|
//#define Z_MIN_PROBE_REPEATABILITY_TEST
|
|
|
#define Z_MIN_PROBE_REPEATABILITY_TEST |
|
|
|
|
|
|
|
|
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
|
|
|
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
|
|
|
// :{ 0:'Low', 1:'High' }
|
|
|
// :{ 0:'Low', 1:'High' }
|
|
@ -817,7 +825,7 @@ |
|
|
*/ |
|
|
*/ |
|
|
//#define AUTO_BED_LEVELING_3POINT
|
|
|
//#define AUTO_BED_LEVELING_3POINT
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
#define AUTO_BED_LEVELING_BILINEAR |
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
//#define MESH_BED_LEVELING
|
|
|
//#define MESH_BED_LEVELING
|
|
|
|
|
|
|
|
@ -839,12 +847,12 @@ |
|
|
|
|
|
|
|
|
// Set the number of grid points per dimension.
|
|
|
// Set the number of grid points per dimension.
|
|
|
#define GRID_MAX_POINTS_X 3 |
|
|
#define GRID_MAX_POINTS_X 3 |
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
#define GRID_MAX_POINTS_Y 4 |
|
|
|
|
|
|
|
|
// Set the boundaries for probing (where the probe can reach).
|
|
|
// Set the boundaries for probing (where the probe can reach).
|
|
|
#define LEFT_PROBE_BED_POSITION X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER |
|
|
#define LEFT_PROBE_BED_POSITION X_MIN_POS + (X_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
#define RIGHT_PROBE_BED_POSITION X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
#define RIGHT_PROBE_BED_POSITION X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
#define FRONT_PROBE_BED_POSITION Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER |
|
|
#define FRONT_PROBE_BED_POSITION Y_MIN_POS + (Y_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
#define BACK_PROBE_BED_POSITION Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
#define BACK_PROBE_BED_POSITION Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER) |
|
|
|
|
|
|
|
|
// The Z probe minimum outer margin (to validate G29 parameters).
|
|
|
// The Z probe minimum outer margin (to validate G29 parameters).
|
|
@ -1011,12 +1019,12 @@ |
|
|
// @section temperature
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
|
// Preheat Constants
|
|
|
// Preheat Constants
|
|
|
#define PREHEAT_1_TEMP_HOTEND 210 |
|
|
#define PREHEAT_1_TEMP_HOTEND 205 |
|
|
#define PREHEAT_1_TEMP_BED 70 |
|
|
#define PREHEAT_1_TEMP_BED 50 |
|
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
|
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
|
#define PREHEAT_2_TEMP_HOTEND 240 |
|
|
#define PREHEAT_2_TEMP_HOTEND 245 |
|
|
#define PREHEAT_2_TEMP_BED 110 |
|
|
#define PREHEAT_2_TEMP_BED 50 |
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|