|
@@ -20,24 +20,23 @@
|
20
|
20
|
*
|
21
|
21
|
*/
|
22
|
22
|
|
|
23
|
+#ifndef CONFIGURATION_H
|
|
24
|
+#define CONFIGURATION_H
|
|
25
|
+#define CONFIGURATION_H_VERSION 010100
|
|
26
|
+
|
|
27
|
+//===========================================================================
|
|
28
|
+//================================= README ==================================
|
|
29
|
+//===========================================================================
|
|
30
|
+
|
23
|
31
|
/**
|
24
|
|
- * Configuration.h
|
25
|
|
- *
|
26
|
|
- * Basic settings such as:
|
27
|
|
- *
|
28
|
|
- * - Type of electronics
|
29
|
|
- * - Type of temperature sensor
|
30
|
|
- * - Printer geometry
|
31
|
|
- * - Endstop configuration
|
32
|
|
- * - LCD controller
|
33
|
|
- * - Extra features
|
|
32
|
+ * BQ Hephestos 2 Configuration
|
34
|
33
|
*
|
35
|
|
- * Advanced settings can be found in Configuration_adv.h
|
|
34
|
+ * This configuration supports the standard Hephestos 2 with or without the
|
|
35
|
+ * heated bed kit featured at https://store.bq.com/en/heated-bed-kit-hephestos2
|
36
|
36
|
*
|
|
37
|
+ * Enable the following option to activate all functionality related to the heated bed.
|
37
|
38
|
*/
|
38
|
|
-#ifndef CONFIGURATION_H
|
39
|
|
-#define CONFIGURATION_H
|
40
|
|
-#define CONFIGURATION_H_VERSION 010100
|
|
39
|
+//#define HEPHESTOS2_HEATED_BED_KIT
|
41
|
40
|
|
42
|
41
|
//===========================================================================
|
43
|
42
|
//============================= Getting Started =============================
|
|
@@ -269,7 +268,13 @@
|
269
|
268
|
#define TEMP_SENSOR_2 0
|
270
|
269
|
#define TEMP_SENSOR_3 0
|
271
|
270
|
#define TEMP_SENSOR_4 0
|
272
|
|
-#define TEMP_SENSOR_BED 0
|
|
271
|
+
|
|
272
|
+#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
|
273
|
+ #define TEMP_SENSOR_BED 70
|
|
274
|
+ #define HEATER_BED_INVERTING true
|
|
275
|
+#else
|
|
276
|
+ #define TEMP_SENSOR_BED 0
|
|
277
|
+#endif
|
273
|
278
|
|
274
|
279
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
275
|
280
|
#define DUMMY_THERMISTOR_998_VALUE 25
|
|
@@ -293,7 +298,7 @@
|
293
|
298
|
// The minimal temperature defines the temperature below which the heater will not be enabled It is used
|
294
|
299
|
// to check that the wiring to the thermistor is not broken.
|
295
|
300
|
// Otherwise this would lead to the heater being powered on all the time.
|
296
|
|
-#define HEATER_0_MINTEMP 15
|
|
301
|
+#define HEATER_0_MINTEMP 5
|
297
|
302
|
#define HEATER_1_MINTEMP 5
|
298
|
303
|
#define HEATER_2_MINTEMP 5
|
299
|
304
|
#define HEATER_3_MINTEMP 5
|
|
@@ -303,12 +308,12 @@
|
303
|
308
|
// When temperature exceeds max temp, your heater will be switched off.
|
304
|
309
|
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
|
305
|
310
|
// You should use MINTEMP for thermistor short/failure protection.
|
306
|
|
-#define HEATER_0_MAXTEMP 250
|
|
311
|
+#define HEATER_0_MAXTEMP 275
|
307
|
312
|
#define HEATER_1_MAXTEMP 275
|
308
|
313
|
#define HEATER_2_MAXTEMP 275
|
309
|
314
|
#define HEATER_3_MAXTEMP 275
|
310
|
315
|
#define HEATER_4_MAXTEMP 275
|
311
|
|
-#define BED_MAXTEMP 150
|
|
316
|
+#define BED_MAXTEMP 110
|
312
|
317
|
|
313
|
318
|
//===========================================================================
|
314
|
319
|
//============================= PID Settings ================================
|
|
@@ -362,7 +367,10 @@
|
362
|
367
|
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
363
|
368
|
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
364
|
369
|
// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
365
|
|
-//#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
370
|
+
|
|
371
|
+#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
|
372
|
+ #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
373
|
+#endif
|
366
|
374
|
|
367
|
375
|
#if ENABLED(PIDTEMPBED)
|
368
|
376
|
|
|
@@ -414,7 +422,7 @@
|
414
|
422
|
*/
|
415
|
423
|
|
416
|
424
|
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
417
|
|
-//#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
425
|
+#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
418
|
426
|
|
419
|
427
|
//===========================================================================
|
420
|
428
|
//============================= Mechanical Settings =========================
|
|
@@ -499,14 +507,14 @@
|
499
|
507
|
* Override with M92
|
500
|
508
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
501
|
509
|
*/
|
502
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 8000, 204 }
|
|
510
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 8000, 210.02 }
|
503
|
511
|
|
504
|
512
|
/**
|
505
|
513
|
* Default Max Feed Rate (mm/s)
|
506
|
514
|
* Override with M203
|
507
|
515
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
508
|
516
|
*/
|
509
|
|
-#define DEFAULT_MAX_FEEDRATE { 250, 250, 2, 200 }
|
|
517
|
+#define DEFAULT_MAX_FEEDRATE { 167, 167, 3.3, 167 }
|
510
|
518
|
|
511
|
519
|
/**
|
512
|
520
|
* Default Max Acceleration (change/s) change = mm/s
|
|
@@ -514,7 +522,7 @@
|
514
|
522
|
* Override with M201
|
515
|
523
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
516
|
524
|
*/
|
517
|
|
-#define DEFAULT_MAX_ACCELERATION { 800, 800, 20, 1000 }
|
|
525
|
+#define DEFAULT_MAX_ACCELERATION { 1000, 1000, 100, 3000 }
|
518
|
526
|
|
519
|
527
|
/**
|
520
|
528
|
* Default Acceleration (change/s) change = mm/s
|
|
@@ -524,8 +532,8 @@
|
524
|
532
|
* M204 R Retract Acceleration
|
525
|
533
|
* M204 T Travel Acceleration
|
526
|
534
|
*/
|
527
|
|
-#define DEFAULT_ACCELERATION 800 // X, Y, Z and E acceleration for printing moves
|
528
|
|
-#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
|
535
|
+#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
|
536
|
+#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
529
|
537
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
530
|
538
|
|
531
|
539
|
/**
|
|
@@ -536,8 +544,8 @@
|
536
|
544
|
* When changing speed and direction, if the difference is less than the
|
537
|
545
|
* value set here, it may happen instantaneously.
|
538
|
546
|
*/
|
539
|
|
-#define DEFAULT_XJERK 10.0
|
540
|
|
-#define DEFAULT_YJERK 10.0
|
|
547
|
+#define DEFAULT_XJERK 20.0
|
|
548
|
+#define DEFAULT_YJERK 20.0
|
541
|
549
|
#define DEFAULT_ZJERK 0.4
|
542
|
550
|
#define DEFAULT_EJERK 1.0
|
543
|
551
|
|
|
@@ -654,7 +662,7 @@
|
654
|
662
|
*/
|
655
|
663
|
#define X_PROBE_OFFSET_FROM_EXTRUDER 34 // X offset: -left +right [of the nozzle]
|
656
|
664
|
#define Y_PROBE_OFFSET_FROM_EXTRUDER 15 // Y offset: -front +behind [the nozzle]
|
657
|
|
-#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
|
665
|
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
658
|
666
|
|
659
|
667
|
// X and Y axis travel speed (mm/m) between probes
|
660
|
668
|
#define XY_PROBE_SPEED 8000
|
|
@@ -690,7 +698,7 @@
|
690
|
698
|
#define Z_PROBE_OFFSET_RANGE_MAX 0
|
691
|
699
|
|
692
|
700
|
// Enable the M48 repeatability test to test probe accuracy
|
693
|
|
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
|
|
701
|
+#define Z_MIN_PROBE_REPEATABILITY_TEST
|
694
|
702
|
|
695
|
703
|
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
|
696
|
704
|
// :{ 0:'Low', 1:'High' }
|
|
@@ -817,7 +825,7 @@
|
817
|
825
|
*/
|
818
|
826
|
//#define AUTO_BED_LEVELING_3POINT
|
819
|
827
|
//#define AUTO_BED_LEVELING_LINEAR
|
820
|
|
-//#define AUTO_BED_LEVELING_BILINEAR
|
|
828
|
+#define AUTO_BED_LEVELING_BILINEAR
|
821
|
829
|
//#define AUTO_BED_LEVELING_UBL
|
822
|
830
|
//#define MESH_BED_LEVELING
|
823
|
831
|
|
|
@@ -839,12 +847,12 @@
|
839
|
847
|
|
840
|
848
|
// Set the number of grid points per dimension.
|
841
|
849
|
#define GRID_MAX_POINTS_X 3
|
842
|
|
- #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
|
850
|
+ #define GRID_MAX_POINTS_Y 4
|
843
|
851
|
|
844
|
852
|
// Set the boundaries for probing (where the probe can reach).
|
845
|
|
- #define LEFT_PROBE_BED_POSITION X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER
|
|
853
|
+ #define LEFT_PROBE_BED_POSITION X_MIN_POS + (X_PROBE_OFFSET_FROM_EXTRUDER)
|
846
|
854
|
#define RIGHT_PROBE_BED_POSITION X_MAX_POS - (X_PROBE_OFFSET_FROM_EXTRUDER)
|
847
|
|
- #define FRONT_PROBE_BED_POSITION Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER
|
|
855
|
+ #define FRONT_PROBE_BED_POSITION Y_MIN_POS + (Y_PROBE_OFFSET_FROM_EXTRUDER)
|
848
|
856
|
#define BACK_PROBE_BED_POSITION Y_MAX_POS - (Y_PROBE_OFFSET_FROM_EXTRUDER)
|
849
|
857
|
|
850
|
858
|
// The Z probe minimum outer margin (to validate G29 parameters).
|
|
@@ -1011,12 +1019,12 @@
|
1011
|
1019
|
// @section temperature
|
1012
|
1020
|
|
1013
|
1021
|
// Preheat Constants
|
1014
|
|
-#define PREHEAT_1_TEMP_HOTEND 210
|
1015
|
|
-#define PREHEAT_1_TEMP_BED 70
|
|
1022
|
+#define PREHEAT_1_TEMP_HOTEND 205
|
|
1023
|
+#define PREHEAT_1_TEMP_BED 50
|
1016
|
1024
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
1017
|
1025
|
|
1018
|
|
-#define PREHEAT_2_TEMP_HOTEND 240
|
1019
|
|
-#define PREHEAT_2_TEMP_BED 110
|
|
1026
|
+#define PREHEAT_2_TEMP_HOTEND 245
|
|
1027
|
+#define PREHEAT_2_TEMP_BED 50
|
1020
|
1028
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
1021
|
1029
|
|
1022
|
1030
|
/**
|