Browse Source

Example Configuration for K8200 back in sync

example_configurations\K8200\Configuration.h:
* merge upstream changes from default Configuration.h manually
* add some machine specific comments
CONSULitAS 9 years ago
parent
commit
a40c274310
1 changed files with 71 additions and 19 deletions
  1. 71
    19
      Marlin/example_configurations/K8200/Configuration.h

+ 71
- 19
Marlin/example_configurations/K8200/Configuration.h View File

@@ -31,10 +31,12 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
38 40
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 41
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 42
 // build by the user have been successfully uploaded into firmware.
@@ -45,12 +47,16 @@ Here are some standard links for getting your machine calibrated:
45 47
 #define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
46 48
 //#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
47 49
 
50
+// @section machine
51
+
48 52
 // SERIAL_PORT selects which serial port should be used for communication with the host.
49 53
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
50 54
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
55
+// :[0,1,2,3,4,5,6,7]
51 56
 #define SERIAL_PORT 0
52 57
 
53 58
 // This determines the communication speed of the printer
59
+// :[2400,9600,19200,38400,57600,115200,250000]
54 60
 #define BAUDRATE 250000
55 61
 
56 62
 // This enables the serial port associated to the Bluetooth interface
@@ -71,17 +77,27 @@ Here are some standard links for getting your machine calibrated:
71 77
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
72 78
 
73 79
 // This defines the number of extruders
80
+// :[1,2,3,4]
74 81
 #define EXTRUDERS 1
75 82
 
83
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
84
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
85
+// For the other hotends it is their distance from the extruder 0 hotend.
86
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
87
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
88
+
76 89
 //// The following define selects which power supply you have. Please choose the one that matches your setup
77 90
 // 1 = ATX
78 91
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
92
+// :{1:'ATX',2:'X-Box 360'}
79 93
 
80 94
 #define POWER_SUPPLY 1
81 95
 
82 96
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
83 97
 // #define PS_DEFAULT_OFF
84 98
 
99
+// @section temperature
100
+
85 101
 //===========================================================================
86 102
 //============================= Thermal Settings ============================
87 103
 //===========================================================================
@@ -245,7 +261,7 @@ Here are some standard links for getting your machine calibrated:
245 261
 //    #define  DEFAULT_bedKi 1.41
246 262
 //    #define  DEFAULT_bedKd 1675.16
247 263
 
248
-//Vellemann K8200 PCB heatbed with standard PCU - calculated with PID Autotune and tested
264
+//Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
249 265
 //from pidautotune
250 266
    #define  DEFAULT_bedKp 341.88
251 267
    #define  DEFAULT_bedKi 25.32
@@ -254,6 +270,7 @@ Here are some standard links for getting your machine calibrated:
254 270
    // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
255 271
 #endif // PIDTEMPBED
256 272
 
273
+// @section extruder
257 274
 
258 275
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
259 276
 //can be software-disabled for whatever purposes by
@@ -308,12 +325,16 @@ your extruder heater takes 2 minutes to hit the target on heating.
308 325
 //============================= Mechanical Settings =========================
309 326
 //===========================================================================
310 327
 
328
+// @section machine
329
+
311 330
 // Uncomment this option to enable CoreXY kinematics
312 331
 // #define COREXY
313 332
 
314 333
 // Enable this option for Toshiba steppers
315 334
 // #define CONFIG_STEPPERS_TOSHIBA
316 335
 
336
+// @section homing
337
+
317 338
 // coarse Endstop Settings
318 339
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
319 340
 
@@ -325,6 +346,7 @@ your extruder heater takes 2 minutes to hit the target on heating.
325 346
   #define ENDSTOPPULLUP_XMIN
326 347
   #define ENDSTOPPULLUP_YMIN
327 348
   #define ENDSTOPPULLUP_ZMIN
349
+  // #define ENDSTOPPULLUP_ZPROBE
328 350
 #endif
329 351
 
330 352
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -338,7 +360,15 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
338 360
 #define DISABLE_MAX_ENDSTOPS
339 361
 //#define DISABLE_MIN_ENDSTOPS
340 362
 
363
+// @section machine
364
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
365
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
366
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
367
+// this has no effect.
368
+//#define DISABLE_Z_PROBE_ENDSTOP
369
+
341 370
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
371
+// :{0:'Low',1:'High'}
342 372
 #define X_ENABLE_ON 0
343 373
 #define Y_ENABLE_ON 0
344 374
 #define Z_ENABLE_ON 0
@@ -348,20 +378,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
348 378
 #define DISABLE_X false
349 379
 #define DISABLE_Y false
350 380
 #define DISABLE_Z true
381
+
382
+// @section extruder
383
+
351 384
 #define DISABLE_E false // For all extruders
352 385
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
353 386
 
387
+// @section machine
388
+
354 389
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
355 390
 #define INVERT_X_DIR false
356 391
 #define INVERT_Y_DIR false
357 392
 #define INVERT_Z_DIR false
358
-#define INVERT_E0_DIR true
393
+
394
+// @section extruder
395
+
396
+// For direct drive extruder v9 set to true, for geared extruder set to false.
397
+#define INVERT_E0_DIR true // K8200: true for geared default extruder!
359 398
 #define INVERT_E1_DIR true
360 399
 #define INVERT_E2_DIR true
361 400
 #define INVERT_E3_DIR true
362 401
 
402
+// @section homing
403
+
363 404
 // ENDSTOP SETTINGS:
364 405
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
406
+// :[-1,1]
365 407
 #define X_HOME_DIR -1
366 408
 #define Y_HOME_DIR -1
367 409
 #define Z_HOME_DIR -1
@@ -369,6 +411,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
369 411
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
370 412
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
371 413
 
414
+// @section machine
415
+
372 416
 // Travel limits after homing (units are in mm)
373 417
 #define X_MIN_POS 0
374 418
 #define Y_MIN_POS 0
@@ -388,14 +432,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
388 432
 //#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
389 433
 
390 434
 //===========================================================================
391
-//============================ Manual Bed Leveling ==========================
435
+//============================ Mesh Bed Leveling ============================
392 436
 //===========================================================================
393 437
 
394 438
 // #define MANUAL_BED_LEVELING  // Add display menu option for bed leveling
395 439
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
396 440
 
397 441
 #ifdef MANUAL_BED_LEVELING
398
-  #define MBL_Z_STEP 0.025
442
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
399 443
 #endif  // MANUAL_BED_LEVELING
400 444
 
401 445
 #ifdef MESH_BED_LEVELING
@@ -412,6 +456,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
412 456
 //============================= Bed Auto Leveling ===========================
413 457
 //===========================================================================
414 458
 
459
+// @section bedlevel
460
+
415 461
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
416 462
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
417 463
 
@@ -520,6 +566,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
520 566
 #endif // ENABLE_AUTO_BED_LEVELING
521 567
 
522 568
 
569
+// @section homing
570
+
523 571
 // The position of the homing switches
524 572
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
525 573
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -533,6 +581,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
533 581
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
534 582
 #endif
535 583
 
584
+// @section movement
585
+
536 586
 /**
537 587
  * MOVEMENT SETTINGS
538 588
  */
@@ -549,13 +599,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
549 599
 #define DEFAULT_RETRACT_ACCELERATION  1000   // E acceleration in mm/s^2 for retracts
550 600
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
551 601
 
552
-
553
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
554
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
555
-// For the other hotends it is their distance from the extruder 0 hotend.
556
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
557
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
558
-
559 602
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
560 603
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
561 604
 #define DEFAULT_ZJERK                 0.4     // (mm/sec)
@@ -566,6 +609,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
566 609
 //============================= Additional Features ===========================
567 610
 //=============================================================================
568 611
 
612
+// @section more
613
+
569 614
 // Custom M code points
570 615
 #define CUSTOM_M_CODES
571 616
 #ifdef CUSTOM_M_CODES
@@ -576,6 +621,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
576 621
   #endif
577 622
 #endif
578 623
 
624
+// @section extras
579 625
 
580 626
 // EEPROM
581 627
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -590,26 +636,30 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
590 636
   #define EEPROM_CHITCHAT // please keep turned on if you can.
591 637
 #endif
592 638
 
639
+
640
+// @section temperature
641
+
593 642
 // Preheat Constants
594 643
 #define PLA_PREHEAT_HOTEND_TEMP 190
595
-#define PLA_PREHEAT_HPB_TEMP 50
644
+#define PLA_PREHEAT_HPB_TEMP 50 // K8200: set back to 70 if you have an upgraded heatbed power supply
596 645
 #define PLA_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
597 646
 
598 647
 #define ABS_PREHEAT_HOTEND_TEMP 240
599
-#define ABS_PREHEAT_HPB_TEMP 60
648
+#define ABS_PREHEAT_HPB_TEMP 60 // K8200: set back to 110 if you have an upgraded heatbed power supply
600 649
 #define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
601 650
 
602 651
 //==============================LCD and SD support=============================
652
+// @section lcd
603 653
 
604 654
 // Define your display language below. Replace (en) with your language code and uncomment.
605 655
 // en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
606 656
 // See also language.h
607
-//#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
657
+#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
608 658
 
609 659
 // Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
610 660
 // To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
611 661
 // See also documentation/LCDLanguageFont.md
612
-  #define DISPLAY_CHARSET_HD44780_JAPAN        // this is the most common hardware
662
+  #define DISPLAY_CHARSET_HD44780_JAPAN        // K8200: for Display VM8201 // this is the most common hardware
613 663
   //#define DISPLAY_CHARSET_HD44780_WESTERN
614 664
   //#define DISPLAY_CHARSET_HD44780_CYRILLIC
615 665
 
@@ -620,7 +670,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
620 670
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
621 671
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
622 672
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
623
-#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
673
+#define ULTIMAKERCONTROLLER // K8200: for Display VM8201 // as available from the Ultimaker online store.
624 674
 //#define ULTIPANEL  //the UltiPanel as on Thingiverse
625 675
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000	// this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
626 676
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
@@ -683,6 +733,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
683 733
 
684 734
 //#define SAV_3DLCD
685 735
 
736
+// @section extras
737
+
686 738
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
687 739
 //#define FAST_PWM_FAN
688 740
 
@@ -706,7 +758,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
706 758
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
707 759
 // #define PHOTOGRAPH_PIN     23
708 760
 
709
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
761
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
710 762
 //#define SF_ARC_FIX
711 763
 
712 764
 // Support for the BariCUDA Paste Extruder.
@@ -760,7 +812,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
760 812
 #define MAX_MEASUREMENT_DELAY			20  //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM)
761 813
 
762 814
 //defines used in the code
763
-#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially 
815
+#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially
764 816
 
765 817
 //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec.
766 818
 //#define FILAMENT_LCD_DISPLAY

Loading…
Cancel
Save