|
@@ -1,7 +1,7 @@
|
1
|
|
-// Example configuration file for Vellemann K8200
|
|
1
|
+// Sample configuration file for Vellemann K8200
|
2
|
2
|
// tested on K8200 with VM8201 (Display)
|
3
|
|
-// and Arduino 1.6.1 (Win) by @CONSULitAS, 2015-04-14
|
4
|
|
-// https://github.com/CONSULitAS/Marlin-K8200/archive/K8200_stable_2015-04-14.zip
|
|
3
|
+// and Arduino 1.6.8 (Mac) by @CONSULitAS, 2016-02-21
|
|
4
|
+// https://github.com/CONSULitAS/Marlin-K8200/archive/K8200_stable_2016-02-21.zip
|
5
|
5
|
|
6
|
6
|
#ifndef CONFIGURATION_H
|
7
|
7
|
#define CONFIGURATION_H
|
|
@@ -52,7 +52,7 @@ Here are some standard links for getting your machine calibrated:
|
52
|
52
|
// User-specified version info of this build to display in [Pronterface, etc] terminal window during
|
53
|
53
|
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
|
54
|
54
|
// build by the user have been successfully uploaded into firmware.
|
55
|
|
-#define STRING_CONFIG_H_AUTHOR "(K8200, CONSULitAS)" // Who made the changes.
|
|
55
|
+#define STRING_CONFIG_H_AUTHOR "(K8200, @CONSULitAS)" // Who made the changes.
|
56
|
56
|
#define SHOW_BOOTSCREEN
|
57
|
57
|
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
|
58
|
58
|
//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
|
@@ -80,11 +80,11 @@ Here are some standard links for getting your machine calibrated:
|
80
|
80
|
|
81
|
81
|
// Optional custom name for your RepStrap or other custom machine
|
82
|
82
|
// Displayed in the LCD "Ready" message
|
83
|
|
-//#define CUSTOM_MACHINE_NAME "3D Printer"
|
|
83
|
+#define CUSTOM_MACHINE_NAME "K8200"
|
84
|
84
|
|
85
|
85
|
// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
|
86
|
86
|
// You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
|
87
|
|
-//#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
|
|
87
|
+#define MACHINE_UUID "2b7dea3b-844e-4ab1-aa96-bb6406607d6e" // K8200 standard config with VM8201 (Display)
|
88
|
88
|
|
89
|
89
|
// This defines the number of extruders
|
90
|
90
|
// :[1,2,3,4]
|
|
@@ -207,11 +207,26 @@ Here are some standard links for getting your machine calibrated:
|
207
|
207
|
#define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term
|
208
|
208
|
#define K1 0.95 //smoothing factor within the PID
|
209
|
209
|
|
|
210
|
+ // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
211
|
+ // Ultimaker
|
|
212
|
+ //#define DEFAULT_Kp 22.2
|
|
213
|
+ //#define DEFAULT_Ki 1.08
|
|
214
|
+ //#define DEFAULT_Kd 114
|
|
215
|
+
|
|
216
|
+ // MakerGear
|
|
217
|
+ //#define DEFAULT_Kp 7.0
|
|
218
|
+ //#define DEFAULT_Ki 0.1
|
|
219
|
+ //#define DEFAULT_Kd 12
|
|
220
|
+
|
|
221
|
+ // Mendel Parts V9 on 12V
|
|
222
|
+ //#define DEFAULT_Kp 63.0
|
|
223
|
+ //#define DEFAULT_Ki 2.25
|
|
224
|
+ //#define DEFAULT_Kd 440
|
|
225
|
+
|
210
|
226
|
// Vellemann K8200 Extruder - calculated with PID Autotune and tested
|
211
|
227
|
#define DEFAULT_Kp 24.29
|
212
|
228
|
#define DEFAULT_Ki 1.58
|
213
|
229
|
#define DEFAULT_Kd 93.51
|
214
|
|
-
|
215
|
230
|
#endif // PIDTEMP
|
216
|
231
|
|
217
|
232
|
//===========================================================================
|
|
@@ -226,7 +241,7 @@ Here are some standard links for getting your machine calibrated:
|
226
|
241
|
// If your configuration is significantly different than this and you don't understand the issues involved, you probably
|
227
|
242
|
// shouldn't use bed PID until someone else verifies your hardware works.
|
228
|
243
|
// If this is enabled, find your own PID constants below.
|
229
|
|
-//#define PIDTEMPBED
|
|
244
|
+#define PIDTEMPBED
|
230
|
245
|
|
231
|
246
|
//#define BED_LIMIT_SWITCHING
|
232
|
247
|
|
|
@@ -242,13 +257,25 @@ Here are some standard links for getting your machine calibrated:
|
242
|
257
|
|
243
|
258
|
#define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
|
244
|
259
|
|
245
|
|
- //Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
|
260
|
+ //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
261
|
+ //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
262
|
+ //#define DEFAULT_bedKp 10.00
|
|
263
|
+ //#define DEFAULT_bedKi .023
|
|
264
|
+ //#define DEFAULT_bedKd 305.4
|
|
265
|
+
|
|
266
|
+ //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
246
|
267
|
//from pidautotune
|
|
268
|
+ //#define DEFAULT_bedKp 97.1
|
|
269
|
+ //#define DEFAULT_bedKi 1.41
|
|
270
|
+ //#define DEFAULT_bedKd 1675.16
|
|
271
|
+
|
|
272
|
+ // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
273
|
+
|
|
274
|
+ // Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
|
|
275
|
+ // from pidautotune
|
247
|
276
|
#define DEFAULT_bedKp 341.88
|
248
|
277
|
#define DEFAULT_bedKi 25.32
|
249
|
278
|
#define DEFAULT_bedKd 1153.89
|
250
|
|
-
|
251
|
|
- // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
252
|
279
|
#endif // PIDTEMPBED
|
253
|
280
|
|
254
|
281
|
// @section extruder
|
|
@@ -303,7 +330,7 @@ Here are some standard links for getting your machine calibrated:
|
303
|
330
|
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
304
|
331
|
|
305
|
332
|
#if DISABLED(ENDSTOPPULLUPS)
|
306
|
|
- // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
|
333
|
+ // define endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
307
|
334
|
//#define ENDSTOPPULLUP_XMAX
|
308
|
335
|
//#define ENDSTOPPULLUP_YMAX
|
309
|
336
|
//#define ENDSTOPPULLUP_ZMAX
|
|
@@ -341,7 +368,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
341
|
368
|
// WARNING: When motors turn off there is a chance of losing position accuracy!
|
342
|
369
|
#define DISABLE_X false
|
343
|
370
|
#define DISABLE_Y false
|
344
|
|
-#define DISABLE_Z true
|
|
371
|
+#define DISABLE_Z false // not for K8200 -> looses Steps
|
345
|
372
|
|
346
|
373
|
// @section extruder
|
347
|
374
|
|
|
@@ -352,7 +379,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
352
|
379
|
|
353
|
380
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
354
|
381
|
#define INVERT_X_DIR false
|
355
|
|
-#define INVERT_Y_DIR false
|
|
382
|
+#define INVERT_Y_DIR false // was true -> why for K8200?
|
356
|
383
|
#define INVERT_Z_DIR false
|
357
|
384
|
|
358
|
385
|
// @section extruder
|
|
@@ -453,7 +480,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
453
|
480
|
#define FRONT_PROBE_BED_POSITION 20
|
454
|
481
|
#define BACK_PROBE_BED_POSITION 170
|
455
|
482
|
|
456
|
|
- #define MIN_PROBE_EDGE 10 // The Z probe square sides can be no smaller than this.
|
|
483
|
+ #define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.
|
457
|
484
|
|
458
|
485
|
// Set the number of grid points per dimension.
|
459
|
486
|
// You probably don't need more than 3 (squared=9).
|
|
@@ -493,8 +520,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
493
|
520
|
//#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
|
494
|
521
|
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
|
495
|
522
|
|
496
|
|
- // If you have enabled the bed auto leveling and are using the same Z probe for Z homing,
|
497
|
|
- // it is highly recommended you let this Z_SAFE_HOMING enabled!!!
|
|
523
|
+
|
|
524
|
+ //If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
|
|
525
|
+ //it is highly recommended you let this Z_SAFE_HOMING enabled!!!
|
498
|
526
|
|
499
|
527
|
#define Z_SAFE_HOMING // This feature is meant to avoid Z homing with Z probe outside the bed area.
|
500
|
528
|
// When defined, it will:
|
|
@@ -574,7 +602,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
574
|
602
|
#define DEFAULT_MAX_ACCELERATION {9000,9000,100,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
|
575
|
603
|
|
576
|
604
|
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration in mm/s^2 for printing moves
|
577
|
|
-#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration in mm/s^2 for retracts
|
|
605
|
+#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration in mm/s^2 for retracts
|
578
|
606
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
|
579
|
607
|
|
580
|
608
|
// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
|
|
@@ -647,7 +675,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
647
|
675
|
|
648
|
676
|
//#define ULTRA_LCD //general LCD support, also 16x2
|
649
|
677
|
//#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
|
650
|
|
-//#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
|
678
|
+
|
|
679
|
+#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
651
|
680
|
// Changed behaviour! If you need SDSUPPORT uncomment it!
|
652
|
681
|
//#define SPI_SPEED SPI_HALF_SPEED // (also SPI_QUARTER_SPEED, SPI_EIGHTH_SPEED) Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
|
653
|
682
|
//#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
|