|
@@ -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.
|
|
@@ -274,7 +287,7 @@
|
274
|
287
|
#define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
|
275
|
288
|
|
276
|
289
|
// Bed temperature must be close to target for this long before M190 returns success
|
277
|
|
-#define TEMP_BED_RESIDENCY_TIME 0 // (seconds)
|
|
290
|
+#define TEMP_BED_RESIDENCY_TIME 10 // (seconds)
|
278
|
291
|
#define TEMP_BED_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
|
279
|
292
|
#define TEMP_BED_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.
|
280
|
293
|
|
|
@@ -378,11 +391,11 @@
|
378
|
391
|
|
379
|
392
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
380
|
393
|
|
381
|
|
- // Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
382
|
|
- // from pidautotune
|
383
|
|
- #define DEFAULT_bedKp 341.88
|
384
|
|
- #define DEFAULT_bedKi 25.32
|
385
|
|
- #define DEFAULT_bedKd 1153.89
|
|
394
|
+ // Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
|
395
|
+ // from pidautotune
|
|
396
|
+ #define DEFAULT_bedKp 341.88
|
|
397
|
+ #define DEFAULT_bedKi 25.32
|
|
398
|
+ #define DEFAULT_bedKd 1153.89
|
386
|
399
|
#endif // PIDTEMPBED
|
387
|
400
|
|
388
|
401
|
// @section extruder
|
|
@@ -466,9 +479,9 @@
|
466
|
479
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
467
|
480
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
468
|
481
|
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
469
|
|
-#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
470
|
|
-#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
471
|
|
-#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
482
|
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
483
|
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
484
|
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
472
|
485
|
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
473
|
486
|
|
474
|
487
|
// Enable this feature if all enabled endstop pins are interrupt-capable.
|
|
@@ -492,13 +505,12 @@
|
492
|
505
|
* Default Axis Steps Per Unit (steps/mm)
|
493
|
506
|
* Override with M92
|
494
|
507
|
*/
|
495
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, 2560, 600 } // default steps per unit for K8200
|
496
|
|
-
|
|
508
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, 2560, 600} // for K8200
|
497
|
509
|
/**
|
498
|
510
|
* Default Max Feed Rate (mm/s)
|
499
|
511
|
* Override with M203
|
500
|
512
|
*/
|
501
|
|
-#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 500 }
|
|
513
|
+#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 }
|
502
|
514
|
|
503
|
515
|
/**
|
504
|
516
|
* Default Max Acceleration (change/s) change = mm/s
|
|
@@ -583,9 +595,9 @@
|
583
|
595
|
// | |
|
584
|
596
|
// O-- FRONT --+
|
585
|
597
|
// (0,0)
|
586
|
|
-#define X_PROBE_OFFSET_FROM_EXTRUDER -25 // X offset: -left +right [of the nozzle]
|
587
|
|
-#define Y_PROBE_OFFSET_FROM_EXTRUDER -29 // Y offset: -front +behind [the nozzle]
|
588
|
|
-#define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35 // Z offset: -below +above [the nozzle]
|
|
598
|
+#define X_PROBE_OFFSET_FROM_EXTRUDER 10 // X offset: -left +right [of the nozzle]
|
|
599
|
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 // Y offset: -front +behind [the nozzle]
|
|
600
|
+#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
589
|
601
|
|
590
|
602
|
// X and Y axis travel speed (mm/m) between probes
|
591
|
603
|
#define XY_PROBE_SPEED 8000
|
|
@@ -660,7 +672,7 @@
|
660
|
672
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
|
661
|
673
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
|
662
|
674
|
*/
|
663
|
|
-#define Z_CLEARANCE_DEPLOY_PROBE 15 // Z Clearance for Deploy/Stow
|
|
675
|
+#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
664
|
676
|
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
665
|
677
|
|
666
|
678
|
//
|
|
@@ -680,7 +692,7 @@
|
680
|
692
|
// WARNING: When motors turn off there is a chance of losing position accuracy!
|
681
|
693
|
#define DISABLE_X false
|
682
|
694
|
#define DISABLE_Y false
|
683
|
|
-#define DISABLE_Z false // not for K8200 -> looses Steps
|
|
695
|
+#define DISABLE_Z false
|
684
|
696
|
// Warn on display about possibly reduced accuracy
|
685
|
697
|
//#define DISABLE_REDUCED_ACCURACY_WARNING
|
686
|
698
|
|
|
@@ -693,7 +705,7 @@
|
693
|
705
|
|
694
|
706
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
695
|
707
|
#define INVERT_X_DIR false
|
696
|
|
-#define INVERT_Y_DIR false // was true -> why for K8200?
|
|
708
|
+#define INVERT_Y_DIR false // K8200: false
|
697
|
709
|
#define INVERT_Z_DIR false
|
698
|
710
|
|
699
|
711
|
// @section extruder
|
|
@@ -705,9 +717,9 @@
|
705
|
717
|
#define INVERT_E3_DIR true
|
706
|
718
|
|
707
|
719
|
// @section homing
|
708
|
|
-
|
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.
|
|
720
|
+// K8200: it is usual to have clamps for the glass plate on the heatbed
|
|
721
|
+#define Z_HOMING_HEIGHT 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
|
|
722
|
+ // Be sure you have this distance over your Z_MAX_POS in case.
|
711
|
723
|
|
712
|
724
|
// ENDSTOP SETTINGS:
|
713
|
725
|
// Sets direction of endstops when homing; 1=MAX, -1=MIN
|
|
@@ -883,7 +895,7 @@
|
883
|
895
|
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
|
884
|
896
|
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
885
|
897
|
//define this to enable EEPROM support
|
886
|
|
-#define EEPROM_SETTINGS
|
|
898
|
+#define EEPROM_SETTINGS // K8200: uses EEPROM by default
|
887
|
899
|
|
888
|
900
|
#if ENABLED(EEPROM_SETTINGS)
|
889
|
901
|
// To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
|
|
@@ -917,12 +929,12 @@
|
917
|
929
|
// @section temperature
|
918
|
930
|
|
919
|
931
|
// Preheat Constants
|
920
|
|
-#define PREHEAT_1_TEMP_HOTEND 190
|
921
|
|
-#define PREHEAT_1_TEMP_BED 50 // K8200: set back to 70 if you have an upgraded heatbed power supply
|
|
932
|
+#define PREHEAT_1_TEMP_HOTEND 180
|
|
933
|
+#define PREHEAT_1_TEMP_BED 50 // K8200: PLA / set back to 70 if you have an upgraded heatbed power supply
|
922
|
934
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
923
|
935
|
|
924
|
936
|
#define PREHEAT_2_TEMP_HOTEND 240
|
925
|
|
-#define PREHEAT_2_TEMP_BED 60 // K8200: set back to 110 if you have an upgraded heatbed power supply
|
|
937
|
+#define PREHEAT_2_TEMP_BED 60 // K8200: ABS / set back to 110 if you have an upgraded heatbed power supply
|
926
|
938
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
927
|
939
|
|
928
|
940
|
//
|
|
@@ -1024,7 +1036,7 @@
|
1024
|
1036
|
// - Total time printing
|
1025
|
1037
|
//
|
1026
|
1038
|
// This information can be viewed by the M78 command.
|
1027
|
|
-//#define PRINTCOUNTER
|
|
1039
|
+#define PRINTCOUNTER
|
1028
|
1040
|
|
1029
|
1041
|
//=============================================================================
|
1030
|
1042
|
//============================= LCD and SD support ============================
|
|
@@ -1032,6 +1044,9 @@
|
1032
|
1044
|
|
1033
|
1045
|
// @section lcd
|
1034
|
1046
|
|
|
1047
|
+// K8200: for Display VM8201 with SD slot
|
|
1048
|
+#if ENABLED(K8200_VM8201)
|
|
1049
|
+
|
1035
|
1050
|
//
|
1036
|
1051
|
// LCD LANGUAGE
|
1037
|
1052
|
//
|
|
@@ -1066,7 +1081,7 @@
|
1066
|
1081
|
//
|
1067
|
1082
|
// :['JAPANESE', 'WESTERN', 'CYRILLIC']
|
1068
|
1083
|
//
|
1069
|
|
-#define DISPLAY_CHARSET_HD44780 JAPANESE // K8200: for Display VM8201
|
|
1084
|
+#define DISPLAY_CHARSET_HD44780 JAPANESE // K8200: for Display VM8201 // this is the most common hardware
|
1070
|
1085
|
|
1071
|
1086
|
//
|
1072
|
1087
|
// LCD TYPE
|
|
@@ -1104,7 +1119,7 @@
|
1104
|
1119
|
//
|
1105
|
1120
|
// Use CRC checks and retries on the SD communication.
|
1106
|
1121
|
//
|
1107
|
|
-//#define SD_CHECK_AND_RETRY
|
|
1122
|
+#define SD_CHECK_AND_RETRY
|
1108
|
1123
|
|
1109
|
1124
|
//
|
1110
|
1125
|
// ENCODER SETTINGS
|
|
@@ -1112,13 +1127,13 @@
|
1112
|
1127
|
// This option overrides the default number of encoder pulses needed to
|
1113
|
1128
|
// produce one step. Should be increased for high-resolution encoders.
|
1114
|
1129
|
//
|
1115
|
|
-//#define ENCODER_PULSES_PER_STEP 1
|
|
1130
|
+#define ENCODER_PULSES_PER_STEP 4 // K8200_VM8201: four steps per encoder step
|
1116
|
1131
|
|
1117
|
1132
|
//
|
1118
|
1133
|
// Use this option to override the number of step signals required to
|
1119
|
1134
|
// move between next/prev menu items.
|
1120
|
1135
|
//
|
1121
|
|
-//#define ENCODER_STEPS_PER_MENU_ITEM 5
|
|
1136
|
+#define ENCODER_STEPS_PER_MENU_ITEM 1 // K8200_VM8201: One step per menu item
|
1122
|
1137
|
|
1123
|
1138
|
/**
|
1124
|
1139
|
* Encoder Direction Options
|
|
@@ -1143,14 +1158,14 @@
|
1143
|
1158
|
// If CLOCKWISE normally moves DOWN this makes it go UP.
|
1144
|
1159
|
// If CLOCKWISE normally moves UP this makes it go DOWN.
|
1145
|
1160
|
//
|
1146
|
|
-//#define REVERSE_MENU_DIRECTION
|
|
1161
|
+#define REVERSE_MENU_DIRECTION // K8200: for Display VM8201 encoder on right side
|
1147
|
1162
|
|
1148
|
1163
|
//
|
1149
|
1164
|
// Individual Axis Homing
|
1150
|
1165
|
//
|
1151
|
1166
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
1152
|
1167
|
//
|
1153
|
|
-//#define INDIVIDUAL_AXIS_HOMING_MENU
|
|
1168
|
+#define INDIVIDUAL_AXIS_HOMING_MENU
|
1154
|
1169
|
|
1155
|
1170
|
//
|
1156
|
1171
|
// SPEAKER/BUZZER
|
|
@@ -1180,7 +1195,7 @@
|
1180
|
1195
|
//
|
1181
|
1196
|
// ULTIMAKER Controller.
|
1182
|
1197
|
//
|
1183
|
|
-//#define ULTIMAKERCONTROLLER
|
|
1198
|
+#define ULTIMAKERCONTROLLER // K8200: for Display VM8201
|
1184
|
1199
|
|
1185
|
1200
|
//
|
1186
|
1201
|
// ULTIPANEL as seen on Thingiverse.
|
|
@@ -1338,6 +1353,8 @@
|
1338
|
1353
|
//
|
1339
|
1354
|
//#define SAV_3DLCD
|
1340
|
1355
|
|
|
1356
|
+#endif // K8200_VM8201
|
|
1357
|
+
|
1341
|
1358
|
//=============================================================================
|
1342
|
1359
|
//=============================== Extra Features ==============================
|
1343
|
1360
|
//=============================================================================
|