|
@@ -21,13 +21,6 @@
|
21
|
21
|
*/
|
22
|
22
|
|
23
|
23
|
/**
|
24
|
|
- * Sample configuration file for Vellemann K8200
|
25
|
|
- * tested on K8200 with VM8201 (Display)
|
26
|
|
- * and Arduino 1.6.8 (Mac) by @CONSULitAS, 2016-02-21
|
27
|
|
- * https://github.com/CONSULitAS/Marlin-K8200/archive/K8200_stable_2016-02-21.zip
|
28
|
|
- */
|
29
|
|
-
|
30
|
|
-/**
|
31
|
24
|
* Configuration.h
|
32
|
25
|
*
|
33
|
26
|
* Basic settings such as:
|
|
@@ -58,6 +51,22 @@
|
58
|
51
|
*/
|
59
|
52
|
#define CONFIGURATION_H_VERSION 010100
|
60
|
53
|
|
|
54
|
+/**
|
|
55
|
+ * Sample configuration file for Vellemann K8200
|
|
56
|
+ * tested on K8200 with VM8201 (Display)
|
|
57
|
+ * and Arduino 1.6.12 (Mac OS X) by @CONSULitAS, 2016-11-18
|
|
58
|
+ * https://github.com/CONSULitAS/Marlin-K8200/archive/K8200_stable_2016-11-18.zip
|
|
59
|
+ *
|
|
60
|
+ * Please choose your hardware options for the K8200:
|
|
61
|
+ */
|
|
62
|
+
|
|
63
|
+// VM8201 Display unit
|
|
64
|
+#define K8200_VM8201
|
|
65
|
+// K8204 Z axis upgrade rod and coupler -> TODO
|
|
66
|
+// #define K8200_K8204
|
|
67
|
+// K8203 direct drive extruder -> TODO
|
|
68
|
+// #define K8200_K8203
|
|
69
|
+
|
61
|
70
|
//===========================================================================
|
62
|
71
|
//============================= Getting Started =============================
|
63
|
72
|
//===========================================================================
|
|
@@ -146,7 +155,11 @@
|
146
|
155
|
|
147
|
156
|
// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
|
148
|
157
|
// You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
|
149
|
|
-#define MACHINE_UUID "2b7dea3b-844e-4ab1-aa96-bb6406607d6e" // K8200 standard config with VM8201 (Display)
|
|
158
|
+#if ENABLED(K8200_VM8201)
|
|
159
|
+ #define MACHINE_UUID "2b7dea3b-844e-4ab1-aa96-bb6406607d6e" // K8200 standard config with VM8201 (Display)
|
|
160
|
+#else
|
|
161
|
+ #define MACHINE_UUID "92f72de1-c211-452e-9f2b-61ef88a4751e" // K8200 standard config without VM8201 (Display)
|
|
162
|
+#endif
|
150
|
163
|
|
151
|
164
|
// This defines the number of extruders
|
152
|
165
|
// :[1, 2, 3, 4]
|
|
@@ -194,7 +207,7 @@
|
194
|
207
|
*
|
195
|
208
|
* :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
|
196
|
209
|
*/
|
197
|
|
-#define POWER_SUPPLY 1
|
|
210
|
+#define POWER_SUPPLY 0
|
198
|
211
|
|
199
|
212
|
#if POWER_SUPPLY > 0
|
200
|
213
|
// Enable this option to leave the PSU off at startup.
|
|
@@ -265,7 +278,7 @@
|
265
|
278
|
#define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
|
266
|
279
|
|
267
|
280
|
// Bed temperature must be close to target for this long before M190 returns success
|
268
|
|
-#define TEMP_BED_RESIDENCY_TIME 0 // (seconds)
|
|
281
|
+#define TEMP_BED_RESIDENCY_TIME 10 // (seconds)
|
269
|
282
|
#define TEMP_BED_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
|
270
|
283
|
#define TEMP_BED_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
|
271
|
284
|
|
|
@@ -369,11 +382,11 @@
|
369
|
382
|
|
370
|
383
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
371
|
384
|
|
372
|
|
- // Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
373
|
|
- // from pidautotune
|
374
|
|
- #define DEFAULT_bedKp 341.88
|
375
|
|
- #define DEFAULT_bedKi 25.32
|
376
|
|
- #define DEFAULT_bedKd 1153.89
|
|
385
|
+ // Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
|
386
|
+ // from pidautotune
|
|
387
|
+ #define DEFAULT_bedKp 341.88
|
|
388
|
+ #define DEFAULT_bedKi 25.32
|
|
389
|
+ #define DEFAULT_bedKd 1153.89
|
377
|
390
|
#endif // PIDTEMPBED
|
378
|
391
|
|
379
|
392
|
// @section extruder
|
|
@@ -457,9 +470,9 @@
|
457
|
470
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
458
|
471
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
459
|
472
|
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
460
|
|
-#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
461
|
|
-#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
462
|
|
-#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
473
|
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
474
|
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
475
|
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
463
|
476
|
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
464
|
477
|
|
465
|
478
|
|
|
@@ -480,13 +493,12 @@
|
480
|
493
|
* Default Axis Steps Per Unit (steps/mm)
|
481
|
494
|
* Override with M92
|
482
|
495
|
*/
|
483
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, 2560, 600 } // default steps per unit for K8200
|
484
|
|
-
|
|
496
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, 2560, 600} // for K8200
|
485
|
497
|
/**
|
486
|
498
|
* Default Max Feed Rate (mm/s)
|
487
|
499
|
* Override with M203
|
488
|
500
|
*/
|
489
|
|
-#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 500 }
|
|
501
|
+#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 }
|
490
|
502
|
|
491
|
503
|
/**
|
492
|
504
|
* Default Max Acceleration (change/s) change = mm/s
|
|
@@ -571,9 +583,9 @@
|
571
|
583
|
// | |
|
572
|
584
|
// O-- FRONT --+
|
573
|
585
|
// (0,0)
|
574
|
|
-#define X_PROBE_OFFSET_FROM_EXTRUDER -25 // X offset: -left +right [of the nozzle]
|
575
|
|
-#define Y_PROBE_OFFSET_FROM_EXTRUDER -29 // Y offset: -front +behind [the nozzle]
|
576
|
|
-#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35 // Z offset: -below +above [the nozzle]
|
|
586
|
+#define X_PROBE_OFFSET_FROM_EXTRUDER 10 // X offset: -left +right [of the nozzle]
|
|
587
|
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 // Y offset: -front +behind [the nozzle]
|
|
588
|
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
577
|
589
|
|
578
|
590
|
// X and Y axis travel speed (mm/m) between probes
|
579
|
591
|
#define XY_PROBE_SPEED 8000
|
|
@@ -648,7 +660,7 @@
|
648
|
660
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
|
649
|
661
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
|
650
|
662
|
*/
|
651
|
|
-#define Z_CLEARANCE_DEPLOY_PROBE 15 // Z Clearance for Deploy/Stow
|
|
663
|
+#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
652
|
664
|
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
653
|
665
|
|
654
|
666
|
//
|
|
@@ -668,7 +680,7 @@
|
668
|
680
|
// WARNING: When motors turn off there is a chance of losing position accuracy!
|
669
|
681
|
#define DISABLE_X false
|
670
|
682
|
#define DISABLE_Y false
|
671
|
|
-#define DISABLE_Z false // not for K8200 -> looses Steps
|
|
683
|
+#define DISABLE_Z false
|
672
|
684
|
// Warn on display about possibly reduced accuracy
|
673
|
685
|
//#define DISABLE_REDUCED_ACCURACY_WARNING
|
674
|
686
|
|
|
@@ -681,7 +693,7 @@
|
681
|
693
|
|
682
|
694
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
683
|
695
|
#define INVERT_X_DIR false
|
684
|
|
-#define INVERT_Y_DIR false // was true -> why for K8200?
|
|
696
|
+#define INVERT_Y_DIR false // K8200: false
|
685
|
697
|
#define INVERT_Z_DIR false
|
686
|
698
|
|
687
|
699
|
// @section extruder
|
|
@@ -693,9 +705,9 @@
|
693
|
705
|
#define INVERT_E3_DIR true
|
694
|
706
|
|
695
|
707
|
// @section homing
|
696
|
|
-
|
697
|
|
-//#define Z_HOMING_HEIGHT 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
|
698
|
|
- // Be sure you have this distance over your Z_MAX_POS in case.
|
|
708
|
+// K8200: it is usual to have clamps for the glass plate on the heatbed
|
|
709
|
+#define Z_HOMING_HEIGHT 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
|
|
710
|
+ // Be sure you have this distance over your Z_MAX_POS in case.
|
699
|
711
|
|
700
|
712
|
// ENDSTOP SETTINGS:
|
701
|
713
|
// Sets direction of endstops when homing; 1=MAX, -1=MIN
|
|
@@ -871,7 +883,7 @@
|
871
|
883
|
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
|
872
|
884
|
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
873
|
885
|
//define this to enable EEPROM support
|
874
|
|
-#define EEPROM_SETTINGS
|
|
886
|
+#define EEPROM_SETTINGS // K8200: uses EEPROM by default
|
875
|
887
|
|
876
|
888
|
#if ENABLED(EEPROM_SETTINGS)
|
877
|
889
|
// To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
|
|
@@ -905,12 +917,12 @@
|
905
|
917
|
// @section temperature
|
906
|
918
|
|
907
|
919
|
// Preheat Constants
|
908
|
|
-#define PREHEAT_1_TEMP_HOTEND 190
|
909
|
|
-#define PREHEAT_1_TEMP_BED 50 // K8200: set back to 70 if you have an upgraded heatbed power supply
|
|
920
|
+#define PREHEAT_1_TEMP_HOTEND 180
|
|
921
|
+#define PREHEAT_1_TEMP_BED 50 // K8200: PLA / set back to 70 if you have an upgraded heatbed power supply
|
910
|
922
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
911
|
923
|
|
912
|
924
|
#define PREHEAT_2_TEMP_HOTEND 240
|
913
|
|
-#define PREHEAT_2_TEMP_BED 60 // K8200: set back to 110 if you have an upgraded heatbed power supply
|
|
925
|
+#define PREHEAT_2_TEMP_BED 60 // K8200: ABS / set back to 110 if you have an upgraded heatbed power supply
|
914
|
926
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
915
|
927
|
|
916
|
928
|
//
|
|
@@ -1012,7 +1024,7 @@
|
1012
|
1024
|
// - Total time printing
|
1013
|
1025
|
//
|
1014
|
1026
|
// This information can be viewed by the M78 command.
|
1015
|
|
-//#define PRINTCOUNTER
|
|
1027
|
+#define PRINTCOUNTER
|
1016
|
1028
|
|
1017
|
1029
|
//=============================================================================
|
1018
|
1030
|
//============================= LCD and SD support ============================
|
|
@@ -1020,6 +1032,9 @@
|
1020
|
1032
|
|
1021
|
1033
|
// @section lcd
|
1022
|
1034
|
|
|
1035
|
+// K8200: for Display VM8201 with SD slot
|
|
1036
|
+#if ENABLED(K8200_VM8201)
|
|
1037
|
+
|
1023
|
1038
|
//
|
1024
|
1039
|
// LCD LANGUAGE
|
1025
|
1040
|
//
|
|
@@ -1054,7 +1069,7 @@
|
1054
|
1069
|
//
|
1055
|
1070
|
// :['JAPANESE', 'WESTERN', 'CYRILLIC']
|
1056
|
1071
|
//
|
1057
|
|
-#define DISPLAY_CHARSET_HD44780 JAPANESE // K8200: for Display VM8201
|
|
1072
|
+#define DISPLAY_CHARSET_HD44780 JAPANESE // K8200: for Display VM8201 // this is the most common hardware
|
1058
|
1073
|
|
1059
|
1074
|
//
|
1060
|
1075
|
// LCD TYPE
|
|
@@ -1092,7 +1107,7 @@
|
1092
|
1107
|
//
|
1093
|
1108
|
// Use CRC checks and retries on the SD communication.
|
1094
|
1109
|
//
|
1095
|
|
-//#define SD_CHECK_AND_RETRY
|
|
1110
|
+#define SD_CHECK_AND_RETRY
|
1096
|
1111
|
|
1097
|
1112
|
//
|
1098
|
1113
|
// ENCODER SETTINGS
|
|
@@ -1100,13 +1115,13 @@
|
1100
|
1115
|
// This option overrides the default number of encoder pulses needed to
|
1101
|
1116
|
// produce one step. Should be increased for high-resolution encoders.
|
1102
|
1117
|
//
|
1103
|
|
-//#define ENCODER_PULSES_PER_STEP 1
|
|
1118
|
+#define ENCODER_PULSES_PER_STEP 4 // K8200_VM8201: four steps per encoder step
|
1104
|
1119
|
|
1105
|
1120
|
//
|
1106
|
1121
|
// Use this option to override the number of step signals required to
|
1107
|
1122
|
// move between next/prev menu items.
|
1108
|
1123
|
//
|
1109
|
|
-//#define ENCODER_STEPS_PER_MENU_ITEM 5
|
|
1124
|
+#define ENCODER_STEPS_PER_MENU_ITEM 1 // K8200_VM8201: One step per menu item
|
1110
|
1125
|
|
1111
|
1126
|
/**
|
1112
|
1127
|
* Encoder Direction Options
|
|
@@ -1131,14 +1146,14 @@
|
1131
|
1146
|
// If CLOCKWISE normally moves DOWN this makes it go UP.
|
1132
|
1147
|
// If CLOCKWISE normally moves UP this makes it go DOWN.
|
1133
|
1148
|
//
|
1134
|
|
-//#define REVERSE_MENU_DIRECTION
|
|
1149
|
+#define REVERSE_MENU_DIRECTION // K8200: for Display VM8201 encoder on right side
|
1135
|
1150
|
|
1136
|
1151
|
//
|
1137
|
1152
|
// Individual Axis Homing
|
1138
|
1153
|
//
|
1139
|
1154
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
1140
|
1155
|
//
|
1141
|
|
-//#define INDIVIDUAL_AXIS_HOMING_MENU
|
|
1156
|
+#define INDIVIDUAL_AXIS_HOMING_MENU
|
1142
|
1157
|
|
1143
|
1158
|
//
|
1144
|
1159
|
// SPEAKER/BUZZER
|
|
@@ -1168,7 +1183,7 @@
|
1168
|
1183
|
//
|
1169
|
1184
|
// ULTIMAKER Controller.
|
1170
|
1185
|
//
|
1171
|
|
-//#define ULTIMAKERCONTROLLER
|
|
1186
|
+#define ULTIMAKERCONTROLLER // K8200: for Display VM8201
|
1172
|
1187
|
|
1173
|
1188
|
//
|
1174
|
1189
|
// ULTIPANEL as seen on Thingiverse.
|
|
@@ -1326,6 +1341,8 @@
|
1326
|
1341
|
//
|
1327
|
1342
|
//#define SAV_3DLCD
|
1328
|
1343
|
|
|
1344
|
+#endif // K8200_VM8201
|
|
1345
|
+
|
1329
|
1346
|
//=============================================================================
|
1330
|
1347
|
//=============================== Extra Features ==============================
|
1331
|
1348
|
//=============================================================================
|