Browse Source

Patch up more outdated config lines

Scott Lahteine 9 years ago
parent
commit
dc40a5f6e0

+ 31
- 29
Marlin/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -205,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
205 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
206 206
   #define K1 0.95 //smoothing factor within the PID
207 207
 
208
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
-// Ultimaker
210
-    #define  DEFAULT_Kp 22.2
211
-    #define  DEFAULT_Ki 1.08
212
-    #define  DEFAULT_Kd 114
213
-
214
-// MakerGear
215
-//    #define  DEFAULT_Kp 7.0
216
-//    #define  DEFAULT_Ki 0.1
217
-//    #define  DEFAULT_Kd 12
218
-
219
-// Mendel Parts V9 on 12V
220
-//    #define  DEFAULT_Kp 63.0
221
-//    #define  DEFAULT_Ki 2.25
222
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
223 224
 #endif // PIDTEMP
224 225
 
225 226
 //===========================================================================
@@ -247,21 +248,22 @@ Here are some standard links for getting your machine calibrated:
247 248
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 249
 
249 250
 #ifdef PIDTEMPBED
250
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
251 251
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
254
-    #define  DEFAULT_bedKp 10.00
255
-    #define  DEFAULT_bedKi .023
256
-    #define  DEFAULT_bedKd 305.4
252
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
253
+
254
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
256
+  #define  DEFAULT_bedKp 10.00
257
+  #define  DEFAULT_bedKi .023
258
+  #define  DEFAULT_bedKd 305.4
257 259
 
258
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
259
-//from pidautotune
260
-//    #define  DEFAULT_bedKp 97.1
261
-//    #define  DEFAULT_bedKi 1.41
262
-//    #define  DEFAULT_bedKd 1675.16
260
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
261
+  //from pidautotune
262
+  //#define  DEFAULT_bedKp 97.1
263
+  //#define  DEFAULT_bedKi 1.41
264
+  //#define  DEFAULT_bedKd 1675.16
263 265
 
264
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
266
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
265 267
 #endif // PIDTEMPBED
266 268
 
267 269
 // @section extruder
@@ -305,7 +307,7 @@ Here are some standard links for getting your machine calibrated:
305 307
 // #define COREXY
306 308
 
307 309
 // Enable this option for Toshiba steppers
308
-// #define CONFIG_STEPPERS_TOSHIBA
310
+//#define CONFIG_STEPPERS_TOSHIBA
309 311
 
310 312
 // @section homing
311 313
 

+ 19
- 12
Marlin/configurator/config/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -247,17 +247,20 @@ Here are some standard links for getting your machine calibrated:
247 247
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 248
 
249 249
 #ifdef PIDTEMPBED
250
+
251
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
252
+
250 253
 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
251 254
 //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
252
-    #define  DEFAULT_bedKp 10.00
253
-    #define  DEFAULT_bedKi .023
254
-    #define  DEFAULT_bedKd 305.4
255
+  #define  DEFAULT_bedKp 10.00
256
+  #define  DEFAULT_bedKi .023
257
+  #define  DEFAULT_bedKd 305.4
255 258
 
256 259
 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
257 260
 //from pidautotune
258
-//    #define  DEFAULT_bedKp 97.1
259
-//    #define  DEFAULT_bedKi 1.41
260
-//    #define  DEFAULT_bedKd 1675.16
261
+  //#define  DEFAULT_bedKp 97.1
262
+  //#define  DEFAULT_bedKi 1.41
263
+  //#define  DEFAULT_bedKd 1675.16
261 264
 
262 265
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
263 266
 #endif // PIDTEMPBED
@@ -303,7 +306,7 @@ Here are some standard links for getting your machine calibrated:
303 306
 // #define COREXY
304 307
 
305 308
 // Enable this option for Toshiba steppers
306
-// #define CONFIG_STEPPERS_TOSHIBA
309
+//#define CONFIG_STEPPERS_TOSHIBA
307 310
 
308 311
 // @section homing
309 312
 
@@ -496,7 +499,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
496 499
 
497 500
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
498 501
                                                                             //Useful to retract a deployable probe.
499
-                                                                           
502
+
500 503
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
501 504
   //#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.
502 505
 
@@ -571,7 +574,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
571 574
 #define DEFAULT_MAX_ACCELERATION      {3000,3000,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.
572 575
 
573 576
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
574
-#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
577
+#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration in mm/s^2 for retracts
575 578
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
576 579
 
577 580
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
@@ -626,7 +629,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
626 629
 // @section lcd
627 630
 
628 631
 // Define your display language below. Replace (en) with your language code and uncomment.
629
-
630 632
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
631 633
 // See also language.h
632 634
 #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
@@ -668,6 +670,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
668 670
 //
669 671
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
670 672
 //#define ELB_FULL_GRAPHIC_CONTROLLER
673
+//#define SDCARDDETECTINVERTED
671 674
 
672 675
 // The RepRapDiscount Smart Controller (white PCB)
673 676
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
@@ -704,12 +707,16 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
704 707
 
705 708
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
706 709
 //#define LCD_I2C_VIKI
710
+  
711
+// SSD1306 OLED generic display support
712
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
713
+//#define U8GLIB_SSD1306
707 714
 
708 715
 // Shift register panels
709 716
 // ---------------------
710 717
 // 2 wire Non-latching LCD SR from:
711 718
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
712
-
719
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
713 720
 //#define SAV_3DLCD
714 721
 
715 722
 // @section extras

+ 66
- 20
Marlin/example_configurations/Felix/Configuration.h View File

@@ -59,6 +59,7 @@ Here are some standard links for getting your machine calibrated:
59 59
 #define SERIAL_PORT 0
60 60
 
61 61
 // This determines the communication speed of the printer
62
+// :[2400,9600,19200,38400,57600,115200,250000]
62 63
 #define BAUDRATE 250000
63 64
 
64 65
 // This enables the serial port associated to the Bluetooth interface
@@ -79,17 +80,27 @@ Here are some standard links for getting your machine calibrated:
79 80
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
80 81
 
81 82
 // This defines the number of extruders
83
+// :[1,2,3,4]
82 84
 #define EXTRUDERS 1
83 85
 
86
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
87
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
88
+// For the other hotends it is their distance from the extruder 0 hotend.
89
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
90
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
91
+
84 92
 //// The following define selects which power supply you have. Please choose the one that matches your setup
85 93
 // 1 = ATX
86 94
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
95
+// :{1:'ATX',2:'X-Box 360'}
87 96
 
88 97
 #define POWER_SUPPLY 1
89 98
 
90 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
91 100
 #define PS_DEFAULT_OFF
92 101
 
102
+// @section temperature
103
+
93 104
 //===========================================================================
94 105
 //============================= Thermal Settings ============================
95 106
 //===========================================================================
@@ -226,16 +237,18 @@ Here are some standard links for getting your machine calibrated:
226 237
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
227 238
 
228 239
 #ifdef PIDTEMPBED
229
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
230 240
 
231
-// Felix Foil Heater
232
-   #define DEFAULT_bedKp 103.37
233
-   #define DEFAULT_bedKi 2.79
234
-   #define DEFAULT_bedKd 956.94
241
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
235 242
 
236
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
243
+  // Felix Foil Heater
244
+  #define DEFAULT_bedKp 103.37
245
+  #define DEFAULT_bedKi 2.79
246
+  #define DEFAULT_bedKd 956.94
247
+
248
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
237 249
 #endif // PIDTEMPBED
238 250
 
251
+// @section extruder
239 252
 
240 253
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
241 254
 //can be software-disabled for whatever purposes by
@@ -276,7 +289,7 @@ Here are some standard links for getting your machine calibrated:
276 289
 // #define COREXY
277 290
 
278 291
 // Enable this option for Toshiba steppers
279
-// #define CONFIG_STEPPERS_TOSHIBA
292
+//#define CONFIG_STEPPERS_TOSHIBA
280 293
 
281 294
 // @section homing
282 295
 
@@ -291,6 +304,7 @@ Here are some standard links for getting your machine calibrated:
291 304
   // #define ENDSTOPPULLUP_XMIN
292 305
   // #define ENDSTOPPULLUP_YMIN
293 306
   // #define ENDSTOPPULLUP_ZMIN
307
+  // #define ENDSTOPPULLUP_ZPROBE
294 308
 #endif
295 309
 
296 310
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -304,7 +318,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
304 318
 #define DISABLE_MAX_ENDSTOPS
305 319
 //#define DISABLE_MIN_ENDSTOPS
306 320
 
321
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
322
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
323
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
324
+// this has no effect.
325
+//#define DISABLE_Z_PROBE_ENDSTOP
326
+
307 327
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
328
+// :{0:'Low',1:'High'}
308 329
 #define X_ENABLE_ON 0
309 330
 #define Y_ENABLE_ON 0
310 331
 #define Z_ENABLE_ON 0
@@ -315,20 +336,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
315 336
 #define DISABLE_X false
316 337
 #define DISABLE_Y false
317 338
 #define DISABLE_Z false
339
+
340
+// @section extruder
341
+
318 342
 #define DISABLE_E false // For all extruders
319 343
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
320 344
 
345
+// @section machine
346
+
321 347
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
322 348
 #define INVERT_X_DIR true
323 349
 #define INVERT_Y_DIR true
324 350
 #define INVERT_Z_DIR true
351
+
352
+// @section extruder
353
+
354
+// For direct drive extruder v9 set to true, for geared extruder set to false.
325 355
 #define INVERT_E0_DIR false
326 356
 #define INVERT_E1_DIR false
327 357
 #define INVERT_E2_DIR false
328 358
 #define INVERT_E3_DIR false
329 359
 
360
+// @section homing
361
+
330 362
 // ENDSTOP SETTINGS:
331 363
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
364
+// :[-1,1]
332 365
 #define X_HOME_DIR -1
333 366
 #define Y_HOME_DIR -1
334 367
 #define Z_HOME_DIR -1
@@ -336,6 +369,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
336 369
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
337 370
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
338 371
 
372
+// @section machine
373
+
339 374
 // Travel limits after homing (units are in mm)
340 375
 #define X_MIN_POS 0
341 376
 #define Y_MIN_POS 0
@@ -356,7 +391,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
356 391
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
357 392
   #define FILAMENT_RUNOUT_SCRIPT "M600"
358 393
 #endif
359
-  
394
+
360 395
 //===========================================================================
361 396
 //=========================== Manual Bed Leveling ===========================
362 397
 //===========================================================================
@@ -365,7 +400,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
365 400
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
366 401
 
367 402
 #ifdef MANUAL_BED_LEVELING
368
-  #define MBL_Z_STEP 0.025
403
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
369 404
 #endif  // MANUAL_BED_LEVELING
370 405
 
371 406
 #ifdef MESH_BED_LEVELING
@@ -382,6 +417,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
382 417
 //============================ Bed Auto Leveling ============================
383 418
 //===========================================================================
384 419
 
420
+// @section bedlevel
421
+
385 422
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
386 423
 //#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
387 424
 
@@ -445,7 +482,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
445 482
 
446 483
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
447 484
                                                                             //Useful to retract a deployable probe.
448
-                                                                           
485
+
449 486
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
450 487
   //#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.
451 488
 
@@ -490,6 +527,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
490 527
 #endif // ENABLE_AUTO_BED_LEVELING
491 528
 
492 529
 
530
+// @section homing
531
+
493 532
 // The position of the homing switches
494 533
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
495 534
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -503,6 +542,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
503 542
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
504 543
 #endif
505 544
 
545
+// @section movement
546
+
506 547
 /**
507 548
  * MOVEMENT SETTINGS
508 549
  */
@@ -520,12 +561,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
520 561
 #define DEFAULT_RETRACT_ACCELERATION  5000 // X, Y, Z and E max acceleration in mm/s^2 for r retracts
521 562
 #define DEFAULT_TRAVEL_ACCELERATION   3000 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
522 563
 
523
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
524
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
525
-// For the other hotends it is their distance from the extruder 0 hotend.
526
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
527
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
528
-
529 564
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
530 565
 #define DEFAULT_XYJERK                10   // (mm/sec)
531 566
 #define DEFAULT_ZJERK                 0.3  //0.4   // (mm/sec)
@@ -536,6 +571,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
536 571
 //============================= Additional Features ===========================
537 572
 //=============================================================================
538 573
 
574
+// @section more
575
+
539 576
 // Custom M code points
540 577
 #define CUSTOM_M_CODES
541 578
 #ifdef CUSTOM_M_CODES
@@ -546,6 +583,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
546 583
   #endif
547 584
 #endif
548 585
 
586
+// @section extras
549 587
 
550 588
 // EEPROM
551 589
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -557,9 +595,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
557 595
 
558 596
 #ifdef EEPROM_SETTINGS
559 597
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
560
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
598
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
561 599
 #endif
562 600
 
601
+// @section temperature
602
+
563 603
 // Preheat Constants
564 604
 #define PLA_PREHEAT_HOTEND_TEMP 180
565 605
 #define PLA_PREHEAT_HPB_TEMP 70
@@ -570,6 +610,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
570 610
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
571 611
 
572 612
 //==============================LCD and SD support=============================
613
+// @section lcd
573 614
 
574 615
 // Define your display language below. Replace (en) with your language code and uncomment.
575 616
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
@@ -595,7 +636,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
595 636
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
596 637
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
597 638
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
598
-
599 639
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
600 640
 // http://reprap.org/wiki/PanelOne
601 641
 //#define PANEL_ONE
@@ -651,14 +691,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
651 691
 
652 692
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
653 693
 //#define LCD_I2C_VIKI
694
+  
695
+// SSD1306 OLED generic display support
696
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
697
+//#define U8GLIB_SSD1306
654 698
 
655 699
 // Shift register panels
656 700
 // ---------------------
657 701
 // 2 wire Non-latching LCD SR from:
658 702
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
659
-
703
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
660 704
 //#define SAV_3DLCD
661 705
 
706
+// @section extras
707
+
662 708
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
663 709
 #define FAST_PWM_FAN
664 710
 
@@ -682,7 +728,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
682 728
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
683 729
 // #define PHOTOGRAPH_PIN     23
684 730
 
685
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
731
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
686 732
 //#define SF_ARC_FIX
687 733
 
688 734
 // Support for the BariCUDA Paste Extruder.

+ 1
- 1
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -274,7 +274,7 @@ Here are some standard links for getting your machine calibrated:
274 274
 // #define COREXY
275 275
 
276 276
 // Enable this option for Toshiba steppers
277
-// #define CONFIG_STEPPERS_TOSHIBA
277
+//#define CONFIG_STEPPERS_TOSHIBA
278 278
 
279 279
 // @section homing
280 280
 

+ 93
- 45
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -59,6 +59,7 @@ Here are some standard links for getting your machine calibrated:
59 59
 #define SERIAL_PORT 0
60 60
 
61 61
 // This determines the communication speed of the printer
62
+// :[2400,9600,19200,38400,57600,115200,250000]
62 63
 #define BAUDRATE 115200
63 64
 
64 65
 // This enables the serial port associated to the Bluetooth interface
@@ -66,7 +67,9 @@ Here are some standard links for getting your machine calibrated:
66 67
 
67 68
 // The following define selects which electronics board you have.
68 69
 // Please choose the name from boards.h that matches your setup
69
-#define MOTHERBOARD BOARD_RAMPS_13_EFB
70
+#ifndef MOTHERBOARD
71
+  #define MOTHERBOARD BOARD_RAMPS_13_EFB
72
+#endif
70 73
 
71 74
 // Optional custom name for your RepStrap or other custom machine
72 75
 // Displayed in the LCD "Ready" message
@@ -80,16 +83,26 @@ Here are some standard links for getting your machine calibrated:
80 83
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
81 84
 
82 85
 // This defines the number of extruders
86
+// :[1,2,3,4]
83 87
 #define EXTRUDERS 1
84 88
 
89
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
90
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
91
+// For the other hotends it is their distance from the extruder 0 hotend.
92
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
93
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
94
+
85 95
 //// The following define selects which power supply you have. Please choose the one that matches your setup
86 96
 // 1 = ATX
87 97
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
98
+// :{1:'ATX',2:'X-Box 360'}
88 99
 
89 100
 #define POWER_SUPPLY 1
90 101
 
91 102
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
92
-// #define PS_DEFAULT_OFF
103
+//#define PS_DEFAULT_OFF
104
+
105
+// @section temperature
93 106
 
94 107
 //===========================================================================
95 108
 //============================= Thermal Settings ============================
@@ -195,26 +208,26 @@ Here are some standard links for getting your machine calibrated:
195 208
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
196 209
   #define K1 0.95 //smoothing factor within the PID
197 210
 
198
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
199
-// Ultimaker
200
-//  #define  DEFAULT_Kp 22.2
201
-//  #define  DEFAULT_Ki 1.08
202
-//  #define  DEFAULT_Kd 114
211
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
212
+  // Ultimaker
213
+  //#define  DEFAULT_Kp 22.2
214
+  //#define  DEFAULT_Ki 1.08
215
+  //#define  DEFAULT_Kd 114
203 216
 
204
-// MakerGear
205
-//    #define  DEFAULT_Kp 7.0
206
-//    #define  DEFAULT_Ki 0.1
207
-//    #define  DEFAULT_Kd 12
217
+  // MakerGear
218
+  //#define  DEFAULT_Kp 7.0
219
+  //#define  DEFAULT_Ki 0.1
220
+  //#define  DEFAULT_Kd 12
208 221
 
209
-// Mendel Parts V9 on 12V
210
-//    #define  DEFAULT_Kp 63.0
211
-//    #define  DEFAULT_Ki 2.25
212
-//    #define  DEFAULT_Kd 440
222
+  // Mendel Parts V9 on 12V
223
+  //#define  DEFAULT_Kp 63.0
224
+  //#define  DEFAULT_Ki 2.25
225
+  //#define  DEFAULT_Kd 440
213 226
 
214
-// Hephestos (i3)
215
-    #define  DEFAULT_Kp 23.05
216
-    #define  DEFAULT_Ki 2.00
217
-    #define  DEFAULT_Kd 66.47
227
+  // Hephestos (i3)
228
+  #define  DEFAULT_Kp 23.05
229
+  #define  DEFAULT_Ki 2.00
230
+  #define  DEFAULT_Kd 66.47
218 231
 
219 232
 #endif // PIDTEMP
220 233
 
@@ -243,23 +256,25 @@ Here are some standard links for getting your machine calibrated:
243 256
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
244 257
 
245 258
 #ifdef PIDTEMPBED
246
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
247 259
 
248
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
249
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
250
-    #define  DEFAULT_bedKp 10.00
251
-    #define  DEFAULT_bedKi .023
252
-    #define  DEFAULT_bedKd 305.4
260
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
261
+
262
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
263
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
264
+  #define  DEFAULT_bedKp 10.00
265
+  #define  DEFAULT_bedKi .023
266
+  #define  DEFAULT_bedKd 305.4
253 267
 
254
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
-//from pidautotune
256
-//    #define  DEFAULT_bedKp 97.1
257
-//    #define  DEFAULT_bedKi 1.41
258
-//    #define  DEFAULT_bedKd 1675.16
268
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
269
+  //from pidautotune
270
+  //#define  DEFAULT_bedKp 97.1
271
+  //#define  DEFAULT_bedKi 1.41
272
+  //#define  DEFAULT_bedKd 1675.16
259 273
 
260
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
274
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
261 275
 #endif // PIDTEMPBED
262 276
 
277
+// @section extruder
263 278
 
264 279
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
265 280
 //can be software-disabled for whatever purposes by
@@ -300,7 +315,7 @@ Here are some standard links for getting your machine calibrated:
300 315
 // #define COREXY
301 316
 
302 317
 // Enable this option for Toshiba steppers
303
-// #define CONFIG_STEPPERS_TOSHIBA
318
+//#define CONFIG_STEPPERS_TOSHIBA
304 319
 
305 320
 // @section homing
306 321
 
@@ -315,6 +330,7 @@ Here are some standard links for getting your machine calibrated:
315 330
   // #define ENDSTOPPULLUP_XMIN
316 331
   // #define ENDSTOPPULLUP_YMIN
317 332
   // #define ENDSTOPPULLUP_ZMIN
333
+  // #define ENDSTOPPULLUP_ZPROBE
318 334
 #endif
319 335
 
320 336
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -328,7 +344,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
328 344
 //#define DISABLE_MAX_ENDSTOPS
329 345
 //#define DISABLE_MIN_ENDSTOPS
330 346
 
347
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
348
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
349
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
350
+// this has no effect.
351
+//#define DISABLE_Z_PROBE_ENDSTOP
352
+
331 353
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
354
+// :{0:'Low',1:'High'}
332 355
 #define X_ENABLE_ON 0
333 356
 #define Y_ENABLE_ON 0
334 357
 #define Z_ENABLE_ON 0
@@ -339,20 +362,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
339 362
 #define DISABLE_X false
340 363
 #define DISABLE_Y false
341 364
 #define DISABLE_Z false
365
+
366
+// @section extruder
367
+
342 368
 #define DISABLE_E false // For all extruders
343 369
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
344 370
 
371
+// @section machine
372
+
345 373
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
346 374
 #define INVERT_X_DIR true
347 375
 #define INVERT_Y_DIR false
348 376
 #define INVERT_Z_DIR true
377
+
378
+// @section extruder
379
+
380
+// For direct drive extruder v9 set to true, for geared extruder set to false.
349 381
 #define INVERT_E0_DIR false
350 382
 #define INVERT_E1_DIR false
351 383
 #define INVERT_E2_DIR false
352 384
 #define INVERT_E3_DIR false
353 385
 
386
+// @section homing
387
+
354 388
 // ENDSTOP SETTINGS:
355 389
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
390
+// :[-1,1]
356 391
 #define X_HOME_DIR -1
357 392
 #define Y_HOME_DIR -1
358 393
 #define Z_HOME_DIR -1
@@ -360,6 +395,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
360 395
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
361 396
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
362 397
 
398
+// @section machine
399
+
363 400
 // Travel limits after homing (units are in mm)
364 401
 #define X_MIN_POS 0
365 402
 #define Y_MIN_POS 0
@@ -380,7 +417,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
380 417
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
381 418
   #define FILAMENT_RUNOUT_SCRIPT "M600"
382 419
 #endif
383
-  
420
+
384 421
 //===========================================================================
385 422
 //=========================== Manual Bed Leveling ===========================
386 423
 //===========================================================================
@@ -389,7 +426,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
389 426
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
390 427
 
391 428
 #ifdef MANUAL_BED_LEVELING
392
-  #define MBL_Z_STEP 0.025
429
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
393 430
 #endif  // MANUAL_BED_LEVELING
394 431
 
395 432
 #ifdef MESH_BED_LEVELING
@@ -406,6 +443,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
406 443
 //============================ Bed Auto Leveling ============================
407 444
 //===========================================================================
408 445
 
446
+// @section bedlevel
447
+
409 448
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
410 449
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
411 450
 
@@ -469,7 +508,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
469 508
 
470 509
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
471 510
                                                                             //Useful to retract a deployable probe.
472
-                                                                           
511
+
473 512
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
474 513
   //#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.
475 514
 
@@ -514,6 +553,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
514 553
 #endif // ENABLE_AUTO_BED_LEVELING
515 554
 
516 555
 
556
+// @section homing
557
+
517 558
 // The position of the homing switches
518 559
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
519 560
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -527,6 +568,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
527 568
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
528 569
 #endif
529 570
 
571
+// @section movement
572
+
530 573
 /**
531 574
  * MOVEMENT SETTINGS
532 575
  */
@@ -543,12 +586,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
543 586
 #define DEFAULT_RETRACT_ACCELERATION  1000   // E acceleration in mm/s^2 for retracts
544 587
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
545 588
 
546
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
547
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
548
-// For the other hotends it is their distance from the extruder 0 hotend.
549
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
550
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
551
-
552 589
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
553 590
 #define DEFAULT_XYJERK                10.0    // (mm/sec)
554 591
 #define DEFAULT_ZJERK                 0.4     // (mm/sec)
@@ -559,6 +596,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
559 596
 //============================= Additional Features ===========================
560 597
 //=============================================================================
561 598
 
599
+// @section more
600
+
562 601
 // Custom M code points
563 602
 #define CUSTOM_M_CODES
564 603
 #ifdef CUSTOM_M_CODES
@@ -569,6 +608,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
569 608
   #endif
570 609
 #endif
571 610
 
611
+// @section extras
572 612
 
573 613
 // EEPROM
574 614
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -580,9 +620,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
580 620
 
581 621
 #ifdef EEPROM_SETTINGS
582 622
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
583
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
623
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
584 624
 #endif
585 625
 
626
+// @section temperature
627
+
586 628
 // Preheat Constants
587 629
 #define PLA_PREHEAT_HOTEND_TEMP 200
588 630
 #define PLA_PREHEAT_HPB_TEMP 0
@@ -593,6 +635,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
593 635
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
594 636
 
595 637
 //==============================LCD and SD support=============================
638
+// @section lcd
596 639
 
597 640
 // Define your display language below. Replace (en) with your language code and uncomment.
598 641
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
@@ -618,7 +661,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
618 661
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
619 662
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
620 663
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
621
-
622 664
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
623 665
 // http://reprap.org/wiki/PanelOne
624 666
 //#define PANEL_ONE
@@ -674,14 +716,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
674 716
 
675 717
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
676 718
 //#define LCD_I2C_VIKI
719
+  
720
+// SSD1306 OLED generic display support
721
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
722
+//#define U8GLIB_SSD1306
677 723
 
678 724
 // Shift register panels
679 725
 // ---------------------
680 726
 // 2 wire Non-latching LCD SR from:
681 727
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
682
-
728
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
683 729
 //#define SAV_3DLCD
684 730
 
731
+// @section extras
732
+
685 733
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
686 734
 //#define FAST_PWM_FAN
687 735
 
@@ -705,7 +753,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
705 753
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
706 754
 // #define PHOTOGRAPH_PIN     23
707 755
 
708
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
756
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
709 757
 //#define SF_ARC_FIX
710 758
 
711 759
 // Support for the BariCUDA Paste Extruder.

+ 53
- 49
Marlin/example_configurations/K8200/Configuration.h View File

@@ -102,7 +102,7 @@ Here are some standard links for getting your machine calibrated:
102 102
 #define POWER_SUPPLY 1
103 103
 
104 104
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
105
-// #define PS_DEFAULT_OFF
105
+//#define PS_DEFAULT_OFF
106 106
 
107 107
 // @section temperature
108 108
 
@@ -210,26 +210,27 @@ Here are some standard links for getting your machine calibrated:
210 210
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
211 211
   #define K1 0.95 //smoothing factor within the PID
212 212
 
213
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
214
-// Ultimaker
215
-//    #define  DEFAULT_Kp 22.2
216
-//    #define  DEFAULT_Ki 1.08
217
-//    #define  DEFAULT_Kd 114
218
-
219
-// MakerGear
220
-//    #define  DEFAULT_Kp 7.0
221
-//    #define  DEFAULT_Ki 0.1
222
-//    #define  DEFAULT_Kd 12
223
-
224
-// Mendel Parts V9 on 12V
225
-//    #define  DEFAULT_Kp 63.0
226
-//    #define  DEFAULT_Ki 2.25
227
-//    #define  DEFAULT_Kd 440
228
-
229
-// Vellemann K8200 Extruder - calculated with PID Autotune and tested
230
-   #define  DEFAULT_Kp 24.29
231
-   #define  DEFAULT_Ki 1.58
232
-   #define  DEFAULT_Kd 93.51
213
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
214
+  // Ultimaker
215
+  //#define  DEFAULT_Kp 22.2
216
+  //#define  DEFAULT_Ki 1.08
217
+  //#define  DEFAULT_Kd 114
218
+
219
+  // MakerGear
220
+  //#define  DEFAULT_Kp 7.0
221
+  //#define  DEFAULT_Ki 0.1
222
+  //#define  DEFAULT_Kd 12
223
+
224
+  // Mendel Parts V9 on 12V
225
+  //#define  DEFAULT_Kp 63.0
226
+  //#define  DEFAULT_Ki 2.25
227
+  //#define  DEFAULT_Kd 440
228
+
229
+  // Vellemann K8200 Extruder - calculated with PID Autotune and tested
230
+  #define  DEFAULT_Kp 24.29
231
+  #define  DEFAULT_Ki 1.58
232
+  #define  DEFAULT_Kd 93.51
233
+
233 234
 #endif // PIDTEMP
234 235
 
235 236
 //===========================================================================
@@ -257,27 +258,28 @@ Here are some standard links for getting your machine calibrated:
257 258
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
258 259
 
259 260
 #ifdef PIDTEMPBED
260
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
261
-
262
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
263
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
264
-//    #define  DEFAULT_bedKp 10.00
265
-//    #define  DEFAULT_bedKi .023
266
-//    #define  DEFAULT_bedKd 305.4
267
-
268
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
269
-//from pidautotune
270
-//    #define  DEFAULT_bedKp 97.1
271
-//    #define  DEFAULT_bedKi 1.41
272
-//    #define  DEFAULT_bedKd 1675.16
273
-
274
-//Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
275
-//from pidautotune
276
-   #define  DEFAULT_bedKp 341.88
277
-   #define  DEFAULT_bedKi 25.32
278
-   #define  DEFAULT_bedKd 1153.89
279
-
280
-   // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
261
+
262
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
263
+
264
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
265
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
266
+  //#define  DEFAULT_bedKp 10.00
267
+  //#define  DEFAULT_bedKi .023
268
+  //#define  DEFAULT_bedKd 305.4
269
+
270
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
271
+  //from pidautotune
272
+  //#define  DEFAULT_bedKp 97.1
273
+  //#define  DEFAULT_bedKi 1.41
274
+  //#define  DEFAULT_bedKd 1675.16
275
+
276
+  //Vellemann K8200 PCB heatbed with standard PCU at 60 degreesC - calculated with PID Autotune and tested
277
+  //from pidautotune
278
+  #define  DEFAULT_bedKp 341.88
279
+  #define  DEFAULT_bedKi 25.32
280
+  #define  DEFAULT_bedKd 1153.89
281
+
282
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
281 283
 #endif // PIDTEMPBED
282 284
 
283 285
 // @section extruder
@@ -321,7 +323,7 @@ Here are some standard links for getting your machine calibrated:
321 323
 // #define COREXY
322 324
 
323 325
 // Enable this option for Toshiba steppers
324
-// #define CONFIG_STEPPERS_TOSHIBA
326
+//#define CONFIG_STEPPERS_TOSHIBA
325 327
 
326 328
 // @section homing
327 329
 
@@ -514,7 +516,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
514 516
 
515 517
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
516 518
                                                                             //Useful to retract a deployable probe.
517
-                                                                           
519
+
518 520
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
519 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.
520 522
 
@@ -589,7 +591,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
589 591
 #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.
590 592
 
591 593
 #define DEFAULT_ACCELERATION          1000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
592
-#define DEFAULT_RETRACT_ACCELERATION  1000   // E acceleration in mm/s^2 for retracts
594
+#define DEFAULT_RETRACT_ACCELERATION  1000    // E acceleration in mm/s^2 for retracts
593 595
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
594 596
 
595 597
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
@@ -626,10 +628,9 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
626 628
 
627 629
 #ifdef EEPROM_SETTINGS
628 630
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
629
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
631
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
630 632
 #endif
631 633
 
632
-
633 634
 // @section temperature
634 635
 
635 636
 // Preheat Constants
@@ -668,7 +669,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
668 669
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
669 670
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
670 671
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
671
-
672 672
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
673 673
 // http://reprap.org/wiki/PanelOne
674 674
 //#define PANEL_ONE
@@ -724,12 +724,16 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
724 724
 
725 725
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
726 726
 //#define LCD_I2C_VIKI
727
+  
728
+// SSD1306 OLED generic display support
729
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
730
+//#define U8GLIB_SSD1306
727 731
 
728 732
 // Shift register panels
729 733
 // ---------------------
730 734
 // 2 wire Non-latching LCD SR from:
731 735
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
732
-
736
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
733 737
 //#define SAV_3DLCD
734 738
 
735 739
 // @section extras

+ 40
- 35
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -205,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
205 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
206 206
   #define K1 0.95 //smoothing factor within the PID
207 207
 
208
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
-// Ultimaker
210
-    #define  DEFAULT_Kp 22.2
211
-    #define  DEFAULT_Ki 1.08
212
-    #define  DEFAULT_Kd 114
213
-
214
-// MakerGear
215
-//    #define  DEFAULT_Kp 7.0
216
-//    #define  DEFAULT_Ki 0.1
217
-//    #define  DEFAULT_Kd 12
218
-
219
-// Mendel Parts V9 on 12V
220
-//    #define  DEFAULT_Kp 63.0
221
-//    #define  DEFAULT_Ki 2.25
222
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
223 224
 #endif // PIDTEMP
224 225
 
225 226
 //===========================================================================
@@ -247,21 +248,22 @@ Here are some standard links for getting your machine calibrated:
247 248
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 249
 
249 250
 #ifdef PIDTEMPBED
250
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
251 251
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
254
-    #define  DEFAULT_bedKp 10.00
255
-    #define  DEFAULT_bedKi .023
256
-    #define  DEFAULT_bedKd 305.4
252
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
253
+
254
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
256
+  #define  DEFAULT_bedKp 10.00
257
+  #define  DEFAULT_bedKi .023
258
+  #define  DEFAULT_bedKd 305.4
257 259
 
258
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
259
-//from pidautotune
260
-//    #define  DEFAULT_bedKp 97.1
261
-//    #define  DEFAULT_bedKi 1.41
262
-//    #define  DEFAULT_bedKd 1675.16
260
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
261
+  //from pidautotune
262
+  //#define  DEFAULT_bedKp 97.1
263
+  //#define  DEFAULT_bedKi 1.41
264
+  //#define  DEFAULT_bedKd 1675.16
263 265
 
264
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
266
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
265 267
 #endif // PIDTEMPBED
266 268
 
267 269
 // @section extruder
@@ -305,7 +307,7 @@ Here are some standard links for getting your machine calibrated:
305 307
 // #define COREXY
306 308
 
307 309
 // Enable this option for Toshiba steppers
308
-// #define CONFIG_STEPPERS_TOSHIBA
310
+//#define CONFIG_STEPPERS_TOSHIBA
309 311
 
310 312
 // @section homing
311 313
 
@@ -498,7 +500,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
498 500
 
499 501
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
500 502
                                                                             //Useful to retract a deployable probe.
501
-                                                                           
503
+
502 504
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
503 505
   //#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.
504 506
 
@@ -573,7 +575,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
573 575
 #define DEFAULT_MAX_ACCELERATION      {3000,3000,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.
574 576
 
575 577
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
576
-#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
578
+#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration in mm/s^2 for retracts
577 579
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
578 580
 
579 581
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
@@ -610,10 +612,9 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
610 612
 
611 613
 #ifdef EEPROM_SETTINGS
612 614
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
613
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
615
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
614 616
 #endif
615 617
 
616
-
617 618
 // @section temperature
618 619
 
619 620
 // Preheat Constants
@@ -629,7 +630,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
629 630
 // @section lcd
630 631
 
631 632
 // Define your display language below. Replace (en) with your language code and uncomment.
632
-// en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
633
+// en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
633 634
 // See also language.h
634 635
 #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
635 636
 
@@ -707,12 +708,16 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
707 708
 
708 709
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
709 710
 //#define LCD_I2C_VIKI
711
+  
712
+// SSD1306 OLED generic display support
713
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
714
+//#define U8GLIB_SSD1306
710 715
 
711 716
 // Shift register panels
712 717
 // ---------------------
713 718
 // 2 wire Non-latching LCD SR from:
714 719
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
715
-
720
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
716 721
 //#define SAV_3DLCD
717 722
 
718 723
 // @section extras

+ 104
- 58
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -84,6 +84,7 @@ Here are some standard links for getting your machine calibrated:
84 84
 #define SERIAL_PORT 0
85 85
 
86 86
 // This determines the communication speed of the printer
87
+// :[2400,9600,19200,38400,57600,115200,250000]
87 88
 #define BAUDRATE 250000
88 89
 
89 90
 // This enables the serial port associated to the Bluetooth interface
@@ -104,16 +105,26 @@ Here are some standard links for getting your machine calibrated:
104 105
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
105 106
 
106 107
 // This defines the number of extruders
108
+// :[1,2,3,4]
107 109
 #define EXTRUDERS 1
108 110
 
111
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
112
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
113
+// For the other hotends it is their distance from the extruder 0 hotend.
114
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
115
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
116
+
109 117
 //// The following define selects which power supply you have. Please choose the one that matches your setup
110 118
 // 1 = ATX
111 119
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
120
+// :{1:'ATX',2:'X-Box 360'}
112 121
 
113 122
 #define POWER_SUPPLY 1
114 123
 
115 124
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
116
-// #define PS_DEFAULT_OFF
125
+//#define PS_DEFAULT_OFF
126
+
127
+// @section temperature
117 128
 
118 129
 //===========================================================================
119 130
 //============================= Thermal Settings ============================
@@ -219,31 +230,31 @@ Here are some standard links for getting your machine calibrated:
219 230
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
220 231
   #define K1 0.95 //smoothing factor within the PID
221 232
 
222
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
223
-// Ultimaker
224
-//    #define  DEFAULT_Kp 22.2
225
-//    #define  DEFAULT_Ki 1.08
226
-//    #define  DEFAULT_Kd 114
227
-
228
-// MakerGear
229
-//    #define  DEFAULT_Kp 7.0
230
-//    #define  DEFAULT_Ki 0.1
231
-//    #define  DEFAULT_Kd 12
232
-
233
-// Mendel Parts V9 on 12V
234
-//    #define  DEFAULT_Kp 63.0
235
-//    #define  DEFAULT_Ki 2.25
236
-//    #define  DEFAULT_Kd 440
233
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
234
+  // Ultimaker
235
+  //#define  DEFAULT_Kp 22.2
236
+  //#define  DEFAULT_Ki 1.08
237
+  //#define  DEFAULT_Kd 114
238
+
239
+  // MakerGear
240
+  //#define  DEFAULT_Kp 7.0
241
+  //#define  DEFAULT_Ki 0.1
242
+  //#define  DEFAULT_Kd 12
243
+
244
+  // Mendel Parts V9 on 12V
245
+  //#define  DEFAULT_Kp 63.0
246
+  //#define  DEFAULT_Ki 2.25
247
+  //#define  DEFAULT_Kd 440
237 248
   
238
-// Jhead MK5: From Autotune
239
-//    #define  DEFAULT_Kp 20.92
240
-//    #define  DEFAULT_Ki 1.51
241
-//    #define  DEFAULT_Kd 72.34
249
+  // Jhead MK5: From Autotune
250
+  //#define  DEFAULT_Kp 20.92
251
+  //#define  DEFAULT_Ki 1.51
252
+  //#define  DEFAULT_Kd 72.34
242 253
     
243
-// Merlin Hotend: From Autotune
244
-    #define  DEFAULT_Kp 24.5
245
-    #define  DEFAULT_Ki 1.72
246
-    #define  DEFAULT_Kd 87.73
254
+  // Merlin Hotend: From Autotune
255
+  #define  DEFAULT_Kp 24.5
256
+  #define  DEFAULT_Ki 1.72
257
+  #define  DEFAULT_Kd 87.73
247 258
 
248 259
 #endif // PIDTEMP
249 260
 
@@ -272,29 +283,31 @@ Here are some standard links for getting your machine calibrated:
272 283
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
273 284
 
274 285
 #ifdef PIDTEMPBED
275
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
276
-
277
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
278
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
279
-//    #define  DEFAULT_bedKp 10.00
280
-//    #define  DEFAULT_bedKi .023
281
-//    #define  DEFAULT_bedKd 305.4
282
-
283
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
284
-//from pidautotune
285
-//    #define  DEFAULT_bedKp 97.1
286
-//    #define  DEFAULT_bedKi 1.41
287
-//    #define  DEFAULT_bedKd 1675.16
288
-
289
-//12v Heatbed Mk3 12V in parallel
290
-//from pidautotune
291
-    #define  DEFAULT_bedKp 630.14
292
-    #define  DEFAULT_bedKi 121.71
293
-    #define  DEFAULT_bedKd 815.64
286
+
287
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
288
+
289
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
290
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
291
+  //#define  DEFAULT_bedKp 10.00
292
+  //#define  DEFAULT_bedKi .023
293
+  //#define  DEFAULT_bedKd 305.4
294
+
295
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
296
+  //from pidautotune
297
+  //#define  DEFAULT_bedKp 97.1
298
+  //#define  DEFAULT_bedKi 1.41
299
+  //#define  DEFAULT_bedKd 1675.16
300
+
301
+  //12v Heatbed Mk3 12V in parallel
302
+  //from pidautotune
303
+  #define  DEFAULT_bedKp 630.14
304
+  #define  DEFAULT_bedKi 121.71
305
+  #define  DEFAULT_bedKd 815.64
294 306
     
295
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
307
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
296 308
 #endif // PIDTEMPBED
297 309
 
310
+// @section extruder
298 311
 
299 312
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
300 313
 //can be software-disabled for whatever purposes by
@@ -335,7 +348,7 @@ Here are some standard links for getting your machine calibrated:
335 348
 // #define COREXY
336 349
 
337 350
 // Enable this option for Toshiba steppers
338
-// #define CONFIG_STEPPERS_TOSHIBA
351
+//#define CONFIG_STEPPERS_TOSHIBA
339 352
 
340 353
 // @section homing
341 354
 
@@ -350,6 +363,7 @@ Here are some standard links for getting your machine calibrated:
350 363
    #define ENDSTOPPULLUP_XMIN  // open pin, inverted
351 364
    #define ENDSTOPPULLUP_YMIN  // open pin, inverted
352 365
   // #define ENDSTOPPULLUP_ZMIN
366
+  // #define ENDSTOPPULLUP_ZPROBE
353 367
 #endif
354 368
 
355 369
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -363,7 +377,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
363 377
 //#define DISABLE_MAX_ENDSTOPS
364 378
 //#define DISABLE_MIN_ENDSTOPS
365 379
 
380
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
381
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
382
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
383
+// this has no effect.
384
+//#define DISABLE_Z_PROBE_ENDSTOP
385
+
366 386
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
387
+// :{0:'Low',1:'High'}
367 388
 #define X_ENABLE_ON 0
368 389
 #define Y_ENABLE_ON 0
369 390
 #define Z_ENABLE_ON 0
@@ -374,20 +395,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
374 395
 #define DISABLE_X false
375 396
 #define DISABLE_Y false
376 397
 #define DISABLE_Z false
398
+
399
+// @section extruder
400
+
377 401
 #define DISABLE_E false // For all extruders
378 402
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
379 403
 
404
+// @section machine
405
+
380 406
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
381 407
 #define INVERT_X_DIR false
382 408
 #define INVERT_Y_DIR false
383 409
 #define INVERT_Z_DIR true
410
+
411
+// @section extruder
412
+
413
+// For direct drive extruder v9 set to true, for geared extruder set to false.
384 414
 #define INVERT_E0_DIR false
385 415
 #define INVERT_E1_DIR false
386 416
 #define INVERT_E2_DIR false
387 417
 #define INVERT_E3_DIR false
388 418
 
419
+// @section homing
420
+
389 421
 // ENDSTOP SETTINGS:
390 422
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
423
+// :[-1,1]
391 424
 #define X_HOME_DIR 1
392 425
 #define Y_HOME_DIR 1
393 426
 #define Z_HOME_DIR -1
@@ -395,6 +428,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
395 428
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
396 429
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
397 430
 
431
+// @section machine
432
+
398 433
 // Travel limits after homing (units are in mm)
399 434
 #define X_MIN_POS 0
400 435
 #define Y_MIN_POS 0
@@ -415,7 +450,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
415 450
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
416 451
   #define FILAMENT_RUNOUT_SCRIPT "M600"
417 452
 #endif
418
-  
453
+
419 454
 //===========================================================================
420 455
 //=========================== Manual Bed Leveling ===========================
421 456
 //===========================================================================
@@ -424,7 +459,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
424 459
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
425 460
 
426 461
 #ifdef MANUAL_BED_LEVELING
427
-  #define MBL_Z_STEP 0.025
462
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
428 463
 #endif  // MANUAL_BED_LEVELING
429 464
 
430 465
 #ifdef MESH_BED_LEVELING
@@ -441,6 +476,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
441 476
 //============================ Bed Auto Leveling ============================
442 477
 //===========================================================================
443 478
 
479
+// @section bedlevel
480
+
444 481
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
445 482
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
446 483
 
@@ -504,7 +541,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
504 541
 
505 542
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
506 543
                                                                             //Useful to retract a deployable probe.
507
-                                                                           
544
+
508 545
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
509 546
   //#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.
510 547
 
@@ -549,6 +586,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
549 586
 #endif // ENABLE_AUTO_BED_LEVELING
550 587
 
551 588
 
589
+// @section homing
590
+
552 591
 // The position of the homing switches
553 592
 #define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
554 593
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -562,6 +601,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
562 601
   #define MANUAL_Z_HOME_POS 0.1  // Distance between nozzle and print surface after homing.
563 602
 #endif
564 603
 
604
+// @section movement
605
+
565 606
 /**
566 607
  * MOVEMENT SETTINGS
567 608
  */
@@ -578,12 +619,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
578 619
 #define DEFAULT_RETRACT_ACCELERATION  2000   // E acceleration in mm/s^2 for retracts
579 620
 #define DEFAULT_TRAVEL_ACCELERATION   400    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
580 621
 
581
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
582
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
583
-// For the other hotends it is their distance from the extruder 0 hotend.
584
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
585
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
586
-
587 622
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
588 623
 #define DEFAULT_XYJERK                5    // (mm/sec)
589 624
 #define DEFAULT_ZJERK                 0.4    // (mm/sec)
@@ -594,6 +629,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
594 629
 //============================= Additional Features ===========================
595 630
 //=============================================================================
596 631
 
632
+// @section more
633
+
597 634
 // Custom M code points
598 635
 //#define CUSTOM_M_CODES
599 636
 #ifdef CUSTOM_M_CODES
@@ -604,6 +641,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
604 641
   #endif
605 642
 #endif
606 643
 
644
+// @section extras
607 645
 
608 646
 // EEPROM
609 647
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -615,9 +653,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
615 653
 
616 654
 #ifdef EEPROM_SETTINGS
617 655
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
618
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
656
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
619 657
 #endif
620 658
 
659
+// @section temperature
660
+
621 661
 // Preheat Constants
622 662
 #define PLA_PREHEAT_HOTEND_TEMP 180
623 663
 #define PLA_PREHEAT_HPB_TEMP 70
@@ -628,6 +668,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
628 668
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
629 669
 
630 670
 //==============================LCD and SD support=============================
671
+// @section lcd
631 672
 
632 673
 // Define your display language below. Replace (en) with your language code and uncomment.
633 674
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
@@ -653,7 +694,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
653 694
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
654 695
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
655 696
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
656
-
657 697
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
658 698
 // http://reprap.org/wiki/PanelOne
659 699
 //#define PANEL_ONE
@@ -709,14 +749,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
709 749
 
710 750
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
711 751
 //#define LCD_I2C_VIKI
752
+  
753
+// SSD1306 OLED generic display support
754
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
755
+//#define U8GLIB_SSD1306
712 756
 
713 757
 // Shift register panels
714 758
 // ---------------------
715 759
 // 2 wire Non-latching LCD SR from:
716 760
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
717
-
761
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
718 762
 //#define SAV_3DLCD
719 763
 
764
+// @section extras
765
+
720 766
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
721 767
 //#define FAST_PWM_FAN
722 768
 
@@ -740,7 +786,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
740 786
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
741 787
 // #define PHOTOGRAPH_PIN     23
742 788
 
743
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
789
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
744 790
 //#define SF_ARC_FIX
745 791
 
746 792
 // Support for the BariCUDA Paste Extruder.

+ 99
- 50
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -59,6 +59,7 @@ Here are some standard links for getting your machine calibrated:
59 59
 #define SERIAL_PORT 0
60 60
 
61 61
 // This determines the communication speed of the printer
62
+// :[2400,9600,19200,38400,57600,115200,250000]
62 63
 #define BAUDRATE 115200
63 64
 
64 65
 // This enables the serial port associated to the Bluetooth interface
@@ -66,7 +67,9 @@ Here are some standard links for getting your machine calibrated:
66 67
 
67 68
 // The following define selects which electronics board you have.
68 69
 // Please choose the name from boards.h that matches your setup
69
-#define MOTHERBOARD BOARD_RAMPS_13_EFB
70
+#ifndef MOTHERBOARD
71
+  #define MOTHERBOARD BOARD_RAMPS_13_EFB
72
+#endif
70 73
 
71 74
 // Optional custom name for your RepStrap or other custom machine
72 75
 // Displayed in the LCD "Ready" message
@@ -80,16 +83,26 @@ Here are some standard links for getting your machine calibrated:
80 83
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
81 84
 
82 85
 // This defines the number of extruders
86
+// :[1,2,3,4]
83 87
 #define EXTRUDERS 1
84 88
 
89
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
90
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
91
+// For the other hotends it is their distance from the extruder 0 hotend.
92
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
93
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
94
+
85 95
 //// The following define selects which power supply you have. Please choose the one that matches your setup
86 96
 // 1 = ATX
87 97
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
98
+// :{1:'ATX',2:'X-Box 360'}
88 99
 
89 100
 #define POWER_SUPPLY 1
90 101
 
91 102
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
92
-// #define PS_DEFAULT_OFF
103
+//#define PS_DEFAULT_OFF
104
+
105
+// @section temperature
93 106
 
94 107
 //===========================================================================
95 108
 //============================= Thermal Settings ============================
@@ -195,26 +208,27 @@ Here are some standard links for getting your machine calibrated:
195 208
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
196 209
   #define K1 0.95 //smoothing factor within the PID
197 210
 
198
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
199
-// Ultimaker
200
-//  #define  DEFAULT_Kp 22.2
201
-//  #define  DEFAULT_Ki 1.08
202
-//  #define  DEFAULT_Kd 114
203
-
204
-// MakerGear
205
-//    #define  DEFAULT_Kp 7.0
206
-//    #define  DEFAULT_Ki 0.1
207
-//    #define  DEFAULT_Kd 12
208
-
209
-// Mendel Parts V9 on 12V
210
-//    #define  DEFAULT_Kp 63.0
211
-//    #define  DEFAULT_Ki 2.25
212
-//    #define  DEFAULT_Kd 440
213
-
214
-// Witbox
215
-      #define  DEFAULT_Kp 22.2
216
-      #define  DEFAULT_Ki 1.08
217
-      #define  DEFAULT_Kd 114
211
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
212
+  // Ultimaker
213
+  //#define  DEFAULT_Kp 22.2
214
+  //#define  DEFAULT_Ki 1.08
215
+  //#define  DEFAULT_Kd 114
216
+
217
+  // MakerGear
218
+  //#define  DEFAULT_Kp 7.0
219
+  //#define  DEFAULT_Ki 0.1
220
+  //#define  DEFAULT_Kd 12
221
+
222
+  // Mendel Parts V9 on 12V
223
+  //#define  DEFAULT_Kp 63.0
224
+  //#define  DEFAULT_Ki 2.25
225
+  //#define  DEFAULT_Kd 440
226
+
227
+  // Witbox
228
+  #define  DEFAULT_Kp 22.2
229
+  #define  DEFAULT_Ki 1.08
230
+  #define  DEFAULT_Kd 114
231
+
218 232
 #endif // PIDTEMP
219 233
 
220 234
 //===========================================================================
@@ -242,23 +256,25 @@ Here are some standard links for getting your machine calibrated:
242 256
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
243 257
 
244 258
 #ifdef PIDTEMPBED
245
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
246 259
 
247
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
248
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
249
-    #define  DEFAULT_bedKp 10.00
250
-    #define  DEFAULT_bedKi .023
251
-    #define  DEFAULT_bedKd 305.4
260
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
252 261
 
253
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
254
-//from pidautotune
255
-//    #define  DEFAULT_bedKp 97.1
256
-//    #define  DEFAULT_bedKi 1.41
257
-//    #define  DEFAULT_bedKd 1675.16
262
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
263
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
264
+  #define  DEFAULT_bedKp 10.00
265
+  #define  DEFAULT_bedKi .023
266
+  #define  DEFAULT_bedKd 305.4
258 267
 
259
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
268
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
269
+  //from pidautotune
270
+  //#define  DEFAULT_bedKp 97.1
271
+  //#define  DEFAULT_bedKi 1.41
272
+  //#define  DEFAULT_bedKd 1675.16
273
+
274
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
260 275
 #endif // PIDTEMPBED
261 276
 
277
+// @section extruder
262 278
 
263 279
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
264 280
 //can be software-disabled for whatever purposes by
@@ -299,7 +315,7 @@ Here are some standard links for getting your machine calibrated:
299 315
 // #define COREXY
300 316
 
301 317
 // Enable this option for Toshiba steppers
302
-// #define CONFIG_STEPPERS_TOSHIBA
318
+//#define CONFIG_STEPPERS_TOSHIBA
303 319
 
304 320
 // @section homing
305 321
 
@@ -314,6 +330,7 @@ Here are some standard links for getting your machine calibrated:
314 330
   // #define ENDSTOPPULLUP_XMIN
315 331
   // #define ENDSTOPPULLUP_YMIN
316 332
   // #define ENDSTOPPULLUP_ZMIN
333
+  // #define ENDSTOPPULLUP_ZPROBE
317 334
 #endif
318 335
 
319 336
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -327,7 +344,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
327 344
 //#define DISABLE_MAX_ENDSTOPS
328 345
 //#define DISABLE_MIN_ENDSTOPS
329 346
 
347
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
348
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
349
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
350
+// this has no effect.
351
+//#define DISABLE_Z_PROBE_ENDSTOP
352
+
330 353
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
354
+// :{0:'Low',1:'High'}
331 355
 #define X_ENABLE_ON 0
332 356
 #define Y_ENABLE_ON 0
333 357
 #define Z_ENABLE_ON 0
@@ -338,20 +362,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
338 362
 #define DISABLE_X false
339 363
 #define DISABLE_Y false
340 364
 #define DISABLE_Z true
365
+
366
+// @section extruder
367
+
341 368
 #define DISABLE_E false // For all extruders
342 369
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
343 370
 
371
+// @section machine
372
+
344 373
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
345 374
 #define INVERT_X_DIR true
346 375
 #define INVERT_Y_DIR false
347 376
 #define INVERT_Z_DIR true
377
+
378
+// @section extruder
379
+
380
+// For direct drive extruder v9 set to true, for geared extruder set to false.
348 381
 #define INVERT_E0_DIR false
349 382
 #define INVERT_E1_DIR false
350 383
 #define INVERT_E2_DIR false
351 384
 #define INVERT_E3_DIR false
352 385
 
386
+// @section homing
387
+
353 388
 // ENDSTOP SETTINGS:
354 389
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
390
+// :[-1,1]
355 391
 #define X_HOME_DIR 1
356 392
 #define Y_HOME_DIR 1
357 393
 #define Z_HOME_DIR -1
@@ -359,6 +395,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
359 395
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
360 396
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
361 397
 
398
+// @section machine
399
+
362 400
 // Travel limits after homing (units are in mm)
363 401
 #define X_MIN_POS 0
364 402
 #define Y_MIN_POS 0
@@ -379,7 +417,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
379 417
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
380 418
   #define FILAMENT_RUNOUT_SCRIPT "M600"
381 419
 #endif
382
-  
420
+
383 421
 //===========================================================================
384 422
 //=========================== Manual Bed Leveling ===========================
385 423
 //===========================================================================
@@ -388,7 +426,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
388 426
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
389 427
 
390 428
 #ifdef MANUAL_BED_LEVELING
391
-  #define MBL_Z_STEP 0.025
429
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
392 430
 #endif  // MANUAL_BED_LEVELING
393 431
 
394 432
 #ifdef MESH_BED_LEVELING
@@ -405,6 +443,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
405 443
 //============================ Bed Auto Leveling ============================
406 444
 //===========================================================================
407 445
 
446
+// @section bedlevel
447
+
408 448
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
409 449
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
410 450
 
@@ -468,7 +508,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
468 508
 
469 509
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
470 510
                                                                             //Useful to retract a deployable probe.
471
-                                                                           
511
+
472 512
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
473 513
   //#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.
474 514
 
@@ -513,6 +553,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
513 553
 #endif // ENABLE_AUTO_BED_LEVELING
514 554
 
515 555
 
556
+// @section homing
557
+
516 558
 // The position of the homing switches
517 559
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
518 560
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -526,6 +568,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
526 568
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
527 569
 #endif
528 570
 
571
+// @section movement
572
+
529 573
 /**
530 574
  * MOVEMENT SETTINGS
531 575
  */
@@ -539,15 +583,9 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
539 583
 #define DEFAULT_MAX_ACCELERATION      {1000,1000,10,1000}    // 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.
540 584
 
541 585
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
542
-#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
586
+#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration in mm/s^2 for retracts
543 587
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
544 588
 
545
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
546
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
547
-// For the other hotends it is their distance from the extruder 0 hotend.
548
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
549
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
550
-
551 589
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
552 590
 #define DEFAULT_XYJERK                10.0    // (mm/sec)
553 591
 #define DEFAULT_ZJERK                 0.4     // (mm/sec)
@@ -558,6 +596,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
558 596
 //============================= Additional Features ===========================
559 597
 //=============================================================================
560 598
 
599
+// @section more
600
+
561 601
 // Custom M code points
562 602
 #define CUSTOM_M_CODES
563 603
 #ifdef CUSTOM_M_CODES
@@ -568,6 +608,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
568 608
   #endif
569 609
 #endif
570 610
 
611
+// @section extras
571 612
 
572 613
 // EEPROM
573 614
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -579,9 +620,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
579 620
 
580 621
 #ifdef EEPROM_SETTINGS
581 622
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
582
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
623
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
583 624
 #endif
584 625
 
626
+// @section temperature
627
+
585 628
 // Preheat Constants
586 629
 #define PLA_PREHEAT_HOTEND_TEMP 200
587 630
 #define PLA_PREHEAT_HPB_TEMP 0
@@ -592,6 +635,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
592 635
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
593 636
 
594 637
 //==============================LCD and SD support=============================
638
+// @section lcd
595 639
 
596 640
 // Define your display language below. Replace (en) with your language code and uncomment.
597 641
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
@@ -617,7 +661,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
617 661
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
618 662
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
619 663
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
620
-
621 664
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
622 665
 // http://reprap.org/wiki/PanelOne
623 666
 //#define PANEL_ONE
@@ -673,14 +716,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
673 716
 
674 717
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
675 718
 //#define LCD_I2C_VIKI
719
+  
720
+// SSD1306 OLED generic display support
721
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
722
+//#define U8GLIB_SSD1306
676 723
 
677 724
 // Shift register panels
678 725
 // ---------------------
679 726
 // 2 wire Non-latching LCD SR from:
680 727
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
681
-
728
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
682 729
 //#define SAV_3DLCD
683 730
 
731
+// @section extras
732
+
684 733
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
685 734
 //#define FAST_PWM_FAN
686 735
 
@@ -704,7 +753,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
704 753
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
705 754
 // #define PHOTOGRAPH_PIN     23
706 755
 
707
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
756
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
708 757
 //#define SF_ARC_FIX
709 758
 
710 759
 // Support for the BariCUDA Paste Extruder.
@@ -758,7 +807,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
758 807
 #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)
759 808
 
760 809
 //defines used in the code
761
-#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially 
810
+#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially
762 811
 
763 812
 //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.
764 813
 //#define FILAMENT_LCD_DISPLAY

+ 19
- 11
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -247,17 +247,20 @@ Here are some standard links for getting your machine calibrated:
247 247
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 248
 
249 249
 #ifdef PIDTEMPBED
250
+
251
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
252
+
250 253
 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
251 254
 //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
252
-    #define  DEFAULT_bedKp 10.00
253
-    #define  DEFAULT_bedKi .023
254
-    #define  DEFAULT_bedKd 305.4
255
+  #define  DEFAULT_bedKp 10.00
256
+  #define  DEFAULT_bedKi .023
257
+  #define  DEFAULT_bedKd 305.4
255 258
 
256 259
 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
257 260
 //from pidautotune
258
-//    #define  DEFAULT_bedKp 97.1
259
-//    #define  DEFAULT_bedKi 1.41
260
-//    #define  DEFAULT_bedKd 1675.16
261
+  //#define  DEFAULT_bedKp 97.1
262
+  //#define  DEFAULT_bedKi 1.41
263
+  //#define  DEFAULT_bedKd 1675.16
261 264
 
262 265
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
263 266
 #endif // PIDTEMPBED
@@ -303,7 +306,7 @@ Here are some standard links for getting your machine calibrated:
303 306
 // #define COREXY
304 307
 
305 308
 // Enable this option for Toshiba steppers
306
-// #define CONFIG_STEPPERS_TOSHIBA
309
+//#define CONFIG_STEPPERS_TOSHIBA
307 310
 
308 311
 // @section homing
309 312
 
@@ -496,7 +499,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
496 499
 
497 500
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
498 501
                                                                             //Useful to retract a deployable probe.
499
-                                                                           
502
+
500 503
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
501 504
   //#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.
502 505
 
@@ -571,7 +574,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
571 574
 #define DEFAULT_MAX_ACCELERATION      {3000,3000,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.
572 575
 
573 576
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
574
-#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
577
+#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration in mm/s^2 for retracts
575 578
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
576 579
 
577 580
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
@@ -667,6 +670,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
667 670
 //
668 671
 // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
669 672
 #define ELB_FULL_GRAPHIC_CONTROLLER
673
+//#define SDCARDDETECTINVERTED
670 674
 
671 675
 // The RepRapDiscount Smart Controller (white PCB)
672 676
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
@@ -703,12 +707,16 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
703 707
 
704 708
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
705 709
 //#define LCD_I2C_VIKI
710
+  
711
+// SSD1306 OLED generic display support
712
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
713
+//#define U8GLIB_SSD1306
706 714
 
707 715
 // Shift register panels
708 716
 // ---------------------
709 717
 // 2 wire Non-latching LCD SR from:
710 718
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
711
-
719
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
712 720
 //#define SAV_3DLCD
713 721
 
714 722
 // @section extras

+ 48
- 46
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -205,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
205 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
206 206
   #define K1 0.95 //smoothing factor within the PID
207 207
 
208
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
-// Ultimaker
210
-    #define  DEFAULT_Kp 22.2
211
-    #define  DEFAULT_Ki 1.08
212
-    #define  DEFAULT_Kd 114
213
-
214
-// MakerGear
215
-//    #define  DEFAULT_Kp 7.0
216
-//    #define  DEFAULT_Ki 0.1
217
-//    #define  DEFAULT_Kd 12
218
-
219
-// Mendel Parts V9 on 12V
220
-//    #define  DEFAULT_Kp 63.0
221
-//    #define  DEFAULT_Ki 2.25
222
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
223 224
 #endif // PIDTEMP
224 225
 
225 226
 //===========================================================================
@@ -247,21 +248,22 @@ Here are some standard links for getting your machine calibrated:
247 248
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 249
 
249 250
 #ifdef PIDTEMPBED
250
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
251 251
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
254
-    #define  DEFAULT_bedKp 10.00
255
-    #define  DEFAULT_bedKi .023
256
-    #define  DEFAULT_bedKd 305.4
252
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
253
+
254
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
256
+  #define  DEFAULT_bedKp 10.00
257
+  #define  DEFAULT_bedKi .023
258
+  #define  DEFAULT_bedKd 305.4
257 259
 
258
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
259
-//from pidautotune
260
-//    #define  DEFAULT_bedKp 97.1
261
-//    #define  DEFAULT_bedKi 1.41
262
-//    #define  DEFAULT_bedKd 1675.16
260
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
261
+  //from pidautotune
262
+  //#define  DEFAULT_bedKp 97.1
263
+  //#define  DEFAULT_bedKi 1.41
264
+  //#define  DEFAULT_bedKd 1675.16
263 265
 
264
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
266
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
265 267
 #endif // PIDTEMPBED
266 268
 
267 269
 // @section extruder
@@ -312,35 +314,35 @@ Here are some standard links for getting your machine calibrated:
312 314
 
313 315
 #ifdef DELTA
314 316
 
315
-// Make delta curves from many straight lines (linear interpolation).
316
-// This is a trade-off between visible corners (not enough segments)
317
-// and processor overload (too many expensive sqrt calls).
318
-#define DELTA_SEGMENTS_PER_SECOND 100
317
+  // Make delta curves from many straight lines (linear interpolation).
318
+  // This is a trade-off between visible corners (not enough segments)
319
+  // and processor overload (too many expensive sqrt calls).
320
+  #define DELTA_SEGMENTS_PER_SECOND 100
319 321
 
320
-// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
322
+  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
321 323
 
322
-// Center-to-center distance of the holes in the diagonal push rods.
323
-#define DELTA_DIAGONAL_ROD 440.0 // mm
324
+  // Center-to-center distance of the holes in the diagonal push rods.
325
+  #define DELTA_DIAGONAL_ROD 440.0 // mm
324 326
 
325
-// Horizontal offset from middle of printer to smooth rod center.
326
-#define DELTA_SMOOTH_ROD_OFFSET 330.0 // mm
327
+  // Horizontal offset from middle of printer to smooth rod center.
328
+  #define DELTA_SMOOTH_ROD_OFFSET 330.0 // mm
327 329
 
328
-// Horizontal offset of the universal joints on the end effector.
329
-#define DELTA_EFFECTOR_OFFSET 50.0 // mm
330
+  // Horizontal offset of the universal joints on the end effector.
331
+  #define DELTA_EFFECTOR_OFFSET 50.0 // mm
330 332
 
331
-// Horizontal offset of the universal joints on the carriages.
332
-#define DELTA_CARRIAGE_OFFSET 20.0 // mm
333
+  // Horizontal offset of the universal joints on the carriages.
334
+  #define DELTA_CARRIAGE_OFFSET 20.0 // mm
333 335
 
334
-// Horizontal distance bridged by diagonal push rods when effector is centered.
335
-#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336
+  // Horizontal distance bridged by diagonal push rods when effector is centered.
337
+  #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336 338
 
337
-// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
338
-#define DELTA_PRINTABLE_RADIUS 160
339
+  // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
340
+  #define DELTA_PRINTABLE_RADIUS 160
339 341
 
340 342
 #endif
341 343
 
342 344
 // Enable this option for Toshiba steppers
343
-// #define CONFIG_STEPPERS_TOSHIBA
345
+//#define CONFIG_STEPPERS_TOSHIBA
344 346
 
345 347
 // @section homing
346 348
 

+ 48
- 46
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -205,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
205 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
206 206
   #define K1 0.95 //smoothing factor within the PID
207 207
 
208
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
-// Ultimaker
210
-    #define  DEFAULT_Kp 22.2
211
-    #define  DEFAULT_Ki 1.08
212
-    #define  DEFAULT_Kd 114
213
-
214
-// MakerGear
215
-//    #define  DEFAULT_Kp 7.0
216
-//    #define  DEFAULT_Ki 0.1
217
-//    #define  DEFAULT_Kd 12
218
-
219
-// Mendel Parts V9 on 12V
220
-//    #define  DEFAULT_Kp 63.0
221
-//    #define  DEFAULT_Ki 2.25
222
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
223 224
 #endif // PIDTEMP
224 225
 
225 226
 //===========================================================================
@@ -247,21 +248,22 @@ Here are some standard links for getting your machine calibrated:
247 248
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 249
 
249 250
 #ifdef PIDTEMPBED
250
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
251 251
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
254
-    #define  DEFAULT_bedKp 10.00
255
-    #define  DEFAULT_bedKi .023
256
-    #define  DEFAULT_bedKd 305.4
252
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
253
+
254
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
256
+  #define  DEFAULT_bedKp 10.00
257
+  #define  DEFAULT_bedKi .023
258
+  #define  DEFAULT_bedKd 305.4
257 259
 
258
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
259
-//from pidautotune
260
-//    #define  DEFAULT_bedKp 97.1
261
-//    #define  DEFAULT_bedKi 1.41
262
-//    #define  DEFAULT_bedKd 1675.16
260
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
261
+  //from pidautotune
262
+  //#define  DEFAULT_bedKp 97.1
263
+  //#define  DEFAULT_bedKi 1.41
264
+  //#define  DEFAULT_bedKd 1675.16
263 265
 
264
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
266
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
265 267
 #endif // PIDTEMPBED
266 268
 
267 269
 // @section extruder
@@ -312,35 +314,35 @@ Here are some standard links for getting your machine calibrated:
312 314
 
313 315
 #ifdef DELTA
314 316
 
315
-// Make delta curves from many straight lines (linear interpolation).
316
-// This is a trade-off between visible corners (not enough segments)
317
-// and processor overload (too many expensive sqrt calls).
318
-#define DELTA_SEGMENTS_PER_SECOND 200
317
+  // Make delta curves from many straight lines (linear interpolation).
318
+  // This is a trade-off between visible corners (not enough segments)
319
+  // and processor overload (too many expensive sqrt calls).
320
+  #define DELTA_SEGMENTS_PER_SECOND 200
319 321
 
320
-// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
322
+  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
321 323
 
322
-// Center-to-center distance of the holes in the diagonal push rods.
323
-#define DELTA_DIAGONAL_ROD 250.0 // mm
324
+  // Center-to-center distance of the holes in the diagonal push rods.
325
+  #define DELTA_DIAGONAL_ROD 250.0 // mm
324 326
 
325
-// Horizontal offset from middle of printer to smooth rod center.
326
-#define DELTA_SMOOTH_ROD_OFFSET 175.0 // mm
327
+  // Horizontal offset from middle of printer to smooth rod center.
328
+  #define DELTA_SMOOTH_ROD_OFFSET 175.0 // mm
327 329
 
328
-// Horizontal offset of the universal joints on the end effector.
329
-#define DELTA_EFFECTOR_OFFSET 33.0 // mm
330
+  // Horizontal offset of the universal joints on the end effector.
331
+  #define DELTA_EFFECTOR_OFFSET 33.0 // mm
330 332
 
331
-// Horizontal offset of the universal joints on the carriages.
332
-#define DELTA_CARRIAGE_OFFSET 18.0 // mm
333
+  // Horizontal offset of the universal joints on the carriages.
334
+  #define DELTA_CARRIAGE_OFFSET 18.0 // mm
333 335
 
334
-// Horizontal distance bridged by diagonal push rods when effector is centered.
335
-#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336
+  // Horizontal distance bridged by diagonal push rods when effector is centered.
337
+  #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336 338
 
337
-// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
338
-#define DELTA_PRINTABLE_RADIUS 140
339
+  // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
340
+  #define DELTA_PRINTABLE_RADIUS 140
339 341
 
340 342
 #endif
341 343
 
342 344
 // Enable this option for Toshiba steppers
343
-// #define CONFIG_STEPPERS_TOSHIBA
345
+//#define CONFIG_STEPPERS_TOSHIBA
344 346
 
345 347
 // @section homing
346 348
 

+ 99
- 48
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -97,7 +97,7 @@ Here are some standard links for getting your machine calibrated:
97 97
 #define POWER_SUPPLY 1
98 98
 
99 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
100
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101 101
 
102 102
 // @section temperature
103 103
 
@@ -205,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
205 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
206 206
   #define K1 0.95 //smoothing factor within the PID
207 207
 
208
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
-// Ultimaker
210
-    #define  DEFAULT_Kp 22.2
211
-    #define  DEFAULT_Ki 1.08
212
-    #define  DEFAULT_Kd 114
213
-
214
-// MakerGear
215
-//    #define  DEFAULT_Kp 7.0
216
-//    #define  DEFAULT_Ki 0.1
217
-//    #define  DEFAULT_Kd 12
218
-
219
-// Mendel Parts V9 on 12V
220
-//    #define  DEFAULT_Kp 63.0
221
-//    #define  DEFAULT_Ki 2.25
222
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
223 224
 #endif // PIDTEMP
224 225
 
225 226
 //===========================================================================
@@ -247,21 +248,22 @@ Here are some standard links for getting your machine calibrated:
247 248
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
248 249
 
249 250
 #ifdef PIDTEMPBED
250
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
251 251
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
254
-    #define  DEFAULT_bedKp 10.00
255
-    #define  DEFAULT_bedKi .023
256
-    #define  DEFAULT_bedKd 305.4
252
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
257 253
 
258
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
259
-//from pidautotune
260
-//    #define  DEFAULT_bedKp 97.1
261
-//    #define  DEFAULT_bedKi 1.41
262
-//    #define  DEFAULT_bedKd 1675.16
254
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
255
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
256
+  #define  DEFAULT_bedKp 10.00
257
+  #define  DEFAULT_bedKi .023
258
+  #define  DEFAULT_bedKd 305.4
263 259
 
264
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
260
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
261
+  //from pidautotune
262
+  //#define  DEFAULT_bedKp 97.1
263
+  //#define  DEFAULT_bedKi 1.41
264
+  //#define  DEFAULT_bedKd 1675.16
265
+
266
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
265 267
 #endif // PIDTEMPBED
266 268
 
267 269
 // @section extruder
@@ -312,35 +314,35 @@ Here are some standard links for getting your machine calibrated:
312 314
 
313 315
 #ifdef DELTA
314 316
 
315
-// Make delta curves from many straight lines (linear interpolation).
316
-// This is a trade-off between visible corners (not enough segments)
317
-// and processor overload (too many expensive sqrt calls).
318
-#define DELTA_SEGMENTS_PER_SECOND 200
317
+  // Make delta curves from many straight lines (linear interpolation).
318
+  // This is a trade-off between visible corners (not enough segments)
319
+  // and processor overload (too many expensive sqrt calls).
320
+  #define DELTA_SEGMENTS_PER_SECOND 200
319 321
 
320
-// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
322
+  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
321 323
 
322
-// Center-to-center distance of the holes in the diagonal push rods.
323
-#define DELTA_DIAGONAL_ROD 215.0 // mm
324
+  // Center-to-center distance of the holes in the diagonal push rods.
325
+  #define DELTA_DIAGONAL_ROD 215.0 // mm
324 326
 
325
-// Horizontal offset from middle of printer to smooth rod center.
326
-#define DELTA_SMOOTH_ROD_OFFSET 145.0 // mm
327
+  // Horizontal offset from middle of printer to smooth rod center.
328
+  #define DELTA_SMOOTH_ROD_OFFSET 145.0 // mm
327 329
 
328
-// Horizontal offset of the universal joints on the end effector.
329
-#define DELTA_EFFECTOR_OFFSET 19.9 // mm
330
+  // Horizontal offset of the universal joints on the end effector.
331
+  #define DELTA_EFFECTOR_OFFSET 19.9 // mm
330 332
 
331
-// Horizontal offset of the universal joints on the carriages.
332
-#define DELTA_CARRIAGE_OFFSET 19.5 // mm
333
+  // Horizontal offset of the universal joints on the carriages.
334
+  #define DELTA_CARRIAGE_OFFSET 19.5 // mm
333 335
 
334
-// Horizontal distance bridged by diagonal push rods when effector is centered.
335
-#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336
+  // Horizontal distance bridged by diagonal push rods when effector is centered.
337
+  #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
336 338
 
337
-// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
338
-#define DELTA_PRINTABLE_RADIUS 90
339
+  // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
340
+  #define DELTA_PRINTABLE_RADIUS 90
339 341
 
340 342
 #endif
341 343
 
342 344
 // Enable this option for Toshiba steppers
343
-// #define CONFIG_STEPPERS_TOSHIBA
345
+//#define CONFIG_STEPPERS_TOSHIBA
344 346
 
345 347
 // @section homing
346 348
 
@@ -471,7 +473,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
471 473
 // @section bedlevel
472 474
 
473 475
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
474
-// #define Z_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
476
+//#define Z_PROBE_REPEATABILITY_TEST // Z-Probe Repeatability test is not supported in Deltas yet.
475 477
 
476 478
 #ifdef ENABLE_AUTO_BED_LEVELING
477 479
 
@@ -544,10 +546,33 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
544 546
   // Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
545 547
   // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
546 548
   #define Z_PROBE_ALLEN_KEY
549
+
547 550
   #ifdef Z_PROBE_ALLEN_KEY
548 551
     // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
549 552
     // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
550 553
 
554
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
555
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
556
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
557
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_X
558
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
559
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
560
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
561
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (HOMING_FEEDRATE_X/10)
562
+
563
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
564
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
565
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
566
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_X
567
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
568
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
569
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
570
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_X/10)
571
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
572
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
573
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
574
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_X
575
+
551 576
     // Kossel Mini
552 577
     #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
553 578
     #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
@@ -575,6 +600,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
575 600
     #define Z_PROBE_ALLEN_KEY_STOW_3_Z  (Z_PROBE_ALLEN_KEY_STOW_1_Z+Z_PROBE_ALLEN_KEY_STOW_DEPTH)
576 601
     #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE (XY_TRAVEL_SPEED/2)
577 602
 
603
+    // Kossel Pro
604
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X -105.00 // Move left but not quite so far that we'll bump the belt
605
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y 0.00
606
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
607
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE HOMING_FEEDRATE_X
608
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X -110.00 // Move outward to position deploy pin to the left of the arm
609
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y -125.00
610
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
611
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE HOMING_FEEDRATE_X
612
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X 45.00 // Move right to trigger deploy pin
613
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y -125.00
614
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z 100.0
615
+    //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE (HOMING_FEEDRATE_X/2)
616
+
617
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_X 36.00 // Line up with bed retaining clip
618
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_Y -122.00
619
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_Z 75.0
620
+    //#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE HOMING_FEEDRATE_X
621
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_X 36.00 // move down to retract probe
622
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_Y -122.00
623
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_Z 25.0
624
+    //#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (HOMING_FEEDRATE_Z/2)
625
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_X 0.0  // return to 0,0,100
626
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_Y 0.0
627
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_Z 100.0
628
+    //#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE HOMING_FEEDRATE_Z
578 629
   #endif
579 630
 
580 631
   //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
@@ -654,7 +705,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
654 705
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
655 706
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
656 707
 #define DEFAULT_ZJERK                 20.0    // (mm/sec) Must be same as XY for delta
657
-#define DEFAULT_EJERK                 5.0    // (mm/sec)
708
+#define DEFAULT_EJERK                 5.0     // (mm/sec)
658 709
 
659 710
 
660 711
 //=============================================================================

+ 68
- 64
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -101,7 +101,7 @@ Here are some standard links for getting your machine calibrated:
101 101
 #define POWER_SUPPLY 1
102 102
 
103 103
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
104
-// #define PS_DEFAULT_OFF
104
+//#define PS_DEFAULT_OFF
105 105
 
106 106
 // @section temperature
107 107
 
@@ -209,26 +209,27 @@ Here are some standard links for getting your machine calibrated:
209 209
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
210 210
   #define K1 0.95 //smoothing factor within the PID
211 211
 
212
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
213
-// Ultimaker
214
-//    #define  DEFAULT_Kp 22.2
215
-//    #define  DEFAULT_Ki 1.08
216
-//    #define  DEFAULT_Kd 114
217
-
218
-// Kossel Pro
219
-      #define  DEFAULT_Kp 19.30
220
-      #define  DEFAULT_Ki 3.51
221
-      #define  DEFAULT_Kd 26.56
222
-
223
-// MakerGear
224
-//    #define  DEFAULT_Kp 7.0
225
-//    #define  DEFAULT_Ki 0.1
226
-//    #define  DEFAULT_Kd 12
227
-
228
-// Mendel Parts V9 on 12V
229
-//    #define  DEFAULT_Kp 63.0
230
-//    #define  DEFAULT_Ki 2.25
231
-//    #define  DEFAULT_Kd 440
212
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
213
+  // Ultimaker
214
+  //#define  DEFAULT_Kp 22.2
215
+  //#define  DEFAULT_Ki 1.08
216
+  //#define  DEFAULT_Kd 114
217
+
218
+  // Kossel Pro
219
+  #define  DEFAULT_Kp 19.30
220
+  #define  DEFAULT_Ki 3.51
221
+  #define  DEFAULT_Kd 26.56
222
+
223
+  // MakerGear
224
+  //#define  DEFAULT_Kp 7.0
225
+  //#define  DEFAULT_Ki 0.1
226
+  //#define  DEFAULT_Kd 12
227
+
228
+  // Mendel Parts V9 on 12V
229
+  //#define  DEFAULT_Kp 63.0
230
+  //#define  DEFAULT_Ki 2.25
231
+  //#define  DEFAULT_Kd 440
232
+
232 233
 #endif // PIDTEMP
233 234
 
234 235
 //===========================================================================
@@ -256,27 +257,28 @@ Here are some standard links for getting your machine calibrated:
256 257
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
257 258
 
258 259
 #ifdef PIDTEMPBED
259
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
260
-
261
-//Kossel Pro heated bed plate with borosilicate glass
262
-//from pidautotune (M303 E-1 S60 C8)
263
-    #define  DEFAULT_bedKp 370.25
264
-    #define  DEFAULT_bedKi 62.77
265
-    #define  DEFAULT_bedKd 545.98
266
-
267
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
268
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
269
-//    #define  DEFAULT_bedKp 10.00
270
-//    #define  DEFAULT_bedKi .023
271
-//    #define  DEFAULT_bedKd 305.4
272
-
273
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
274
-//from pidautotune
275
-//    #define  DEFAULT_bedKp 97.1
276
-//    #define  DEFAULT_bedKi 1.41
277
-//    #define  DEFAULT_bedKd 1675.16
278
-
279
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
260
+
261
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
262
+
263
+  //Kossel Pro heated bed plate with borosilicate glass
264
+  //from pidautotune (M303 E-1 S60 C8)
265
+  #define  DEFAULT_bedKp 370.25
266
+  #define  DEFAULT_bedKi 62.77
267
+  #define  DEFAULT_bedKd 545.98
268
+
269
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
270
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
271
+  //#define  DEFAULT_bedKp 10.00
272
+  //#define  DEFAULT_bedKi .023
273
+  //#define  DEFAULT_bedKd 305.4
274
+
275
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
276
+  //from pidautotune
277
+  //#define  DEFAULT_bedKp 97.1
278
+  //#define  DEFAULT_bedKi 1.41
279
+  //#define  DEFAULT_bedKd 1675.16
280
+
281
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
280 282
 #endif // PIDTEMPBED
281 283
 
282 284
 // @section extruder
@@ -327,35 +329,35 @@ Here are some standard links for getting your machine calibrated:
327 329
 
328 330
 #ifdef DELTA
329 331
 
330
-// Make delta curves from many straight lines (linear interpolation).
331
-// This is a trade-off between visible corners (not enough segments)
332
-// and processor overload (too many expensive sqrt calls).
333
-#define DELTA_SEGMENTS_PER_SECOND 160
332
+  // Make delta curves from many straight lines (linear interpolation).
333
+  // This is a trade-off between visible corners (not enough segments)
334
+  // and processor overload (too many expensive sqrt calls).
335
+  #define DELTA_SEGMENTS_PER_SECOND 160
334 336
 
335
-// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
337
+  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
336 338
 
337
-// Center-to-center distance of the holes in the diagonal push rods.
338
-#define DELTA_DIAGONAL_ROD 301.0 // mm
339
+  // Center-to-center distance of the holes in the diagonal push rods.
340
+  #define DELTA_DIAGONAL_ROD 301.0 // mm
339 341
 
340
-// Horizontal offset from middle of printer to smooth rod center.
341
-#define DELTA_SMOOTH_ROD_OFFSET 212.357 // mm
342
+  // Horizontal offset from middle of printer to smooth rod center.
343
+  #define DELTA_SMOOTH_ROD_OFFSET 212.357 // mm
342 344
 
343
-// Horizontal offset of the universal joints on the end effector.
344
-#define DELTA_EFFECTOR_OFFSET 30.0 // mm
345
+  // Horizontal offset of the universal joints on the end effector.
346
+  #define DELTA_EFFECTOR_OFFSET 30.0 // mm
345 347
 
346
-// Horizontal offset of the universal joints on the carriages.
347
-#define DELTA_CARRIAGE_OFFSET 30.0 // mm
348
+  // Horizontal offset of the universal joints on the carriages.
349
+  #define DELTA_CARRIAGE_OFFSET 30.0 // mm
348 350
 
349
-// Horizontal distance bridged by diagonal push rods when effector is centered.
350
-#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
351
+  // Horizontal distance bridged by diagonal push rods when effector is centered.
352
+  #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
351 353
 
352
-// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
353
-#define DELTA_PRINTABLE_RADIUS 127
354
+  // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
355
+  #define DELTA_PRINTABLE_RADIUS 127
354 356
 
355 357
 #endif
356 358
 
357 359
 // Enable this option for Toshiba steppers
358
-// #define CONFIG_STEPPERS_TOSHIBA
360
+//#define CONFIG_STEPPERS_TOSHIBA
359 361
 
360 362
 // @section homing
361 363
 
@@ -486,7 +488,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
486 488
 // @section bedlevel
487 489
 
488 490
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
489
-// #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
491
+//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
490 492
 
491 493
 #ifdef ENABLE_AUTO_BED_LEVELING
492 494
 
@@ -516,8 +518,10 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
516 518
 
517 519
     #define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
518 520
 
519
-    // Set the number of grid points per dimension
520
-    // You probably don't need more than 3 (squared=9)
521
+    // Non-linear bed leveling will be used.
522
+    // Compensate by interpolating between the nearest four Z probe values for each point.
523
+    // Useful for deltas where the print surface may appear like a bowl or dome shape.
524
+    // Works best with ACCURATE_BED_LEVELING_POINTS 5 or higher.
521 525
     #define AUTO_BED_LEVELING_GRID_POINTS 7
522 526
 
523 527
   #else  // !AUTO_BED_LEVELING_GRID
@@ -698,7 +702,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
698 702
  * MOVEMENT SETTINGS
699 703
  */
700 704
 
701
-/// delta homing speeds must be the same on xyz
705
+// delta homing speeds must be the same on xyz
702 706
 #define HOMING_FEEDRATE_X (200*60)
703 707
 #define HOMING_FEEDRATE_Y (200*60)
704 708
 #define HOMING_FEEDRATE_Z (200*60)

+ 90
- 44
Marlin/example_configurations/makibox/Configuration.h View File

@@ -59,6 +59,7 @@ Here are some standard links for getting your machine calibrated:
59 59
 #define SERIAL_PORT 0
60 60
 
61 61
 // This determines the communication speed of the printer
62
+// :[2400,9600,19200,38400,57600,115200,250000]
62 63
 #define BAUDRATE 250000
63 64
 
64 65
 // This enables the serial port associated to the Bluetooth interface
@@ -79,16 +80,26 @@ Here are some standard links for getting your machine calibrated:
79 80
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
80 81
 
81 82
 // This defines the number of extruders
83
+// :[1,2,3,4]
82 84
 #define EXTRUDERS 1
83 85
 
86
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
87
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
88
+// For the other hotends it is their distance from the extruder 0 hotend.
89
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
90
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
91
+
84 92
 //// The following define selects which power supply you have. Please choose the one that matches your setup
85 93
 // 1 = ATX
86 94
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
95
+// :{1:'ATX',2:'X-Box 360'}
87 96
 
88 97
 #define POWER_SUPPLY 1
89 98
 
90 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
91
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101
+
102
+// @section temperature
92 103
 
93 104
 //===========================================================================
94 105
 //============================= Thermal Settings ============================
@@ -194,21 +205,22 @@ Here are some standard links for getting your machine calibrated:
194 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
195 206
   #define K1 0.95 //smoothing factor within the PID
196 207
 
197
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
198
-// Ultimaker
199
-    #define  DEFAULT_Kp 22.2
200
-    #define  DEFAULT_Ki 1.08
201
-    #define  DEFAULT_Kd 114
202
-
203
-// MakerGear
204
-//    #define  DEFAULT_Kp 7.0
205
-//    #define  DEFAULT_Ki 0.1
206
-//    #define  DEFAULT_Kd 12
207
-
208
-// Mendel Parts V9 on 12V
209
-//    #define  DEFAULT_Kp 63.0
210
-//    #define  DEFAULT_Ki 2.25
211
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // Ultimaker
210
+  #define  DEFAULT_Kp 22.2
211
+  #define  DEFAULT_Ki 1.08
212
+  #define  DEFAULT_Kd 114
213
+
214
+  // MakerGear
215
+  //#define  DEFAULT_Kp 7.0
216
+  //#define  DEFAULT_Ki 0.1
217
+  //#define  DEFAULT_Kd 12
218
+
219
+  // Mendel Parts V9 on 12V
220
+  //#define  DEFAULT_Kp 63.0
221
+  //#define  DEFAULT_Ki 2.25
222
+  //#define  DEFAULT_Kd 440
223
+
212 224
 #endif // PIDTEMP
213 225
 
214 226
 //===========================================================================
@@ -239,23 +251,25 @@ Here are some standard links for getting your machine calibrated:
239 251
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
240 252
 
241 253
 #ifdef PIDTEMPBED
242
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
243 254
 
244
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
245
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
246
-    #define  DEFAULT_bedKp 10.00
247
-    #define  DEFAULT_bedKi .023
248
-    #define  DEFAULT_bedKd 305.4
255
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
256
+
257
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
258
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
259
+  #define  DEFAULT_bedKp 10.00
260
+  #define  DEFAULT_bedKi .023
261
+  #define  DEFAULT_bedKd 305.4
249 262
 
250
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
251
-//from pidautotune
252
-//    #define  DEFAULT_bedKp 97.1
253
-//    #define  DEFAULT_bedKi 1.41
254
-//    #define  DEFAULT_bedKd 1675.16
263
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
264
+  //from pidautotune
265
+  //#define  DEFAULT_bedKp 97.1
266
+  //#define  DEFAULT_bedKi 1.41
267
+  //#define  DEFAULT_bedKd 1675.16
255 268
 
256
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
269
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
257 270
 #endif // PIDTEMPBED
258 271
 
272
+// @section extruder
259 273
 
260 274
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
261 275
 //can be software-disabled for whatever purposes by
@@ -296,7 +310,7 @@ Here are some standard links for getting your machine calibrated:
296 310
 // #define COREXY
297 311
 
298 312
 // Enable this option for Toshiba steppers
299
-// #define CONFIG_STEPPERS_TOSHIBA
313
+//#define CONFIG_STEPPERS_TOSHIBA
300 314
 
301 315
 // @section homing
302 316
 
@@ -311,6 +325,7 @@ Here are some standard links for getting your machine calibrated:
311 325
   // #define ENDSTOPPULLUP_XMIN
312 326
   // #define ENDSTOPPULLUP_YMIN
313 327
   // #define ENDSTOPPULLUP_ZMIN
328
+  // #define ENDSTOPPULLUP_ZPROBE
314 329
 #endif
315 330
 
316 331
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -324,7 +339,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
324 339
 //#define DISABLE_MAX_ENDSTOPS
325 340
 //#define DISABLE_MIN_ENDSTOPS
326 341
 
342
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
343
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
344
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
345
+// this has no effect.
346
+//#define DISABLE_Z_PROBE_ENDSTOP
347
+
327 348
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
349
+// :{0:'Low',1:'High'}
328 350
 #define X_ENABLE_ON 0
329 351
 #define Y_ENABLE_ON 0
330 352
 #define Z_ENABLE_ON 0
@@ -335,21 +357,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
335 357
 #define DISABLE_X false
336 358
 #define DISABLE_Y false
337 359
 #define DISABLE_Z false
360
+
361
+// @section extruder
362
+
338 363
 #define DISABLE_E false // For all extruders
339 364
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
340 365
 
366
+// @section machine
367
+
341 368
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
342 369
 #define INVERT_X_DIR false
343 370
 #define INVERT_Y_DIR false
344 371
 #define INVERT_Z_DIR false
345 372
 
373
+// @section extruder
374
+
375
+// For direct drive extruder v9 set to true, for geared extruder set to false.
346 376
 #define INVERT_E0_DIR true
347 377
 #define INVERT_E1_DIR false
348 378
 #define INVERT_E2_DIR false
349 379
 #define INVERT_E3_DIR false
350 380
 
381
+// @section homing
382
+
351 383
 // ENDSTOP SETTINGS:
352 384
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
385
+// :[-1,1]
353 386
 #define X_HOME_DIR -1
354 387
 #define Y_HOME_DIR -1
355 388
 #define Z_HOME_DIR -1
@@ -357,6 +390,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
357 390
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
358 391
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
359 392
 
393
+// @section machine
394
+
360 395
 // Travel limits after homing (units are in mm)
361 396
 #define X_MIN_POS 0
362 397
 #define Y_MIN_POS 0
@@ -377,6 +412,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
377 412
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
378 413
   #define FILAMENT_RUNOUT_SCRIPT "M600"
379 414
 #endif
415
+
380 416
 //===========================================================================
381 417
 //=========================== Manual Bed Leveling ===========================
382 418
 //===========================================================================
@@ -385,7 +421,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
385 421
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
386 422
 
387 423
 #ifdef MANUAL_BED_LEVELING
388
-  #define MBL_Z_STEP 0.025
424
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
389 425
 #endif  // MANUAL_BED_LEVELING
390 426
 
391 427
 #ifdef MESH_BED_LEVELING
@@ -402,6 +438,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
402 438
 //============================ Bed Auto Leveling ============================
403 439
 //===========================================================================
404 440
 
441
+// @section bedlevel
442
+
405 443
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
406 444
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
407 445
 
@@ -465,7 +503,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
465 503
 
466 504
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
467 505
                                                                             //Useful to retract a deployable probe.
468
-                                                                           
506
+
469 507
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
470 508
   //#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.
471 509
 
@@ -510,6 +548,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
510 548
 #endif // ENABLE_AUTO_BED_LEVELING
511 549
 
512 550
 
551
+// @section homing
552
+
513 553
 // The position of the homing switches
514 554
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
515 555
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -523,6 +563,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
523 563
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
524 564
 #endif
525 565
 
566
+// @section movement
567
+
526 568
 /**
527 569
  * MOVEMENT SETTINGS
528 570
  */
@@ -536,15 +578,9 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
536 578
 #define DEFAULT_MAX_ACCELERATION      {2000,2000,30,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.
537 579
 
538 580
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration in mm/s^2 for printing moves
539
-#define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
581
+#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration in mm/s^2 for retracts
540 582
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
541 583
 
542
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
543
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
544
-// For the other hotends it is their distance from the extruder 0 hotend.
545
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
546
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
547
-
548 584
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
549 585
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
550 586
 #define DEFAULT_ZJERK                 0.4     // (mm/sec)
@@ -555,6 +591,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
555 591
 //============================= Additional Features ===========================
556 592
 //=============================================================================
557 593
 
594
+// @section more
595
+
558 596
 // Custom M code points
559 597
 #define CUSTOM_M_CODES
560 598
 #ifdef CUSTOM_M_CODES
@@ -565,6 +603,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
565 603
   #endif
566 604
 #endif
567 605
 
606
+// @section extras
568 607
 
569 608
 // EEPROM
570 609
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -576,9 +615,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
576 615
 
577 616
 #ifdef EEPROM_SETTINGS
578 617
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
579
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
618
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
580 619
 #endif
581 620
 
621
+// @section temperature
622
+
582 623
 // Preheat Constants
583 624
 #define PLA_PREHEAT_HOTEND_TEMP 180
584 625
 #define PLA_PREHEAT_HPB_TEMP 70
@@ -589,10 +630,10 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
589 630
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
590 631
 
591 632
 //==============================LCD and SD support=============================
633
+// @section lcd
592 634
 
593 635
 // Define your display language below. Replace (en) with your language code and uncomment.
594 636
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
595
-
596 637
 // See also language.h
597 638
 //#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
598 639
 
@@ -615,7 +656,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
615 656
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
616 657
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
617 658
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
618
-
619 659
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
620 660
 // http://reprap.org/wiki/PanelOne
621 661
 //#define PANEL_ONE
@@ -671,14 +711,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
671 711
 
672 712
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
673 713
 //#define LCD_I2C_VIKI
714
+  
715
+// SSD1306 OLED generic display support
716
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
717
+//#define U8GLIB_SSD1306
674 718
 
675 719
 // Shift register panels
676 720
 // ---------------------
677 721
 // 2 wire Non-latching LCD SR from:
678 722
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
679
-
723
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
680 724
 //#define SAV_3DLCD
681 725
 
726
+// @section extras
727
+
682 728
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
683 729
 //#define FAST_PWM_FAN
684 730
 
@@ -702,7 +748,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
702 748
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
703 749
 // #define PHOTOGRAPH_PIN     23
704 750
 
705
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
751
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
706 752
 //#define SF_ARC_FIX
707 753
 
708 754
 // Support for the BariCUDA Paste Extruder.
@@ -756,7 +802,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
756 802
 #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)
757 803
 
758 804
 //defines used in the code
759
-#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially 
805
+#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially
760 806
 
761 807
 //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.
762 808
 //#define FILAMENT_LCD_DISPLAY

+ 93
- 47
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -59,6 +59,7 @@ Here are some standard links for getting your machine calibrated:
59 59
 #define SERIAL_PORT 0
60 60
 
61 61
 // This determines the communication speed of the printer
62
+// :[2400,9600,19200,38400,57600,115200,250000]
62 63
 #define BAUDRATE 250000
63 64
 
64 65
 // This enables the serial port associated to the Bluetooth interface
@@ -79,16 +80,26 @@ Here are some standard links for getting your machine calibrated:
79 80
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
80 81
 
81 82
 // This defines the number of extruders
83
+// :[1,2,3,4]
82 84
 #define EXTRUDERS 1
83 85
 
86
+// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
87
+// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
88
+// For the other hotends it is their distance from the extruder 0 hotend.
89
+//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
90
+//#define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
91
+
84 92
 //// The following define selects which power supply you have. Please choose the one that matches your setup
85 93
 // 1 = ATX
86 94
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
95
+// :{1:'ATX',2:'X-Box 360'}
87 96
 
88 97
 #define POWER_SUPPLY 1
89 98
 
90 99
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
91
-// #define PS_DEFAULT_OFF
100
+//#define PS_DEFAULT_OFF
101
+
102
+// @section temperature
92 103
 
93 104
 //===========================================================================
94 105
 //============================= Thermal Settings ============================
@@ -194,26 +205,27 @@ Here are some standard links for getting your machine calibrated:
194 205
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
195 206
   #define K1 0.95 //smoothing factor within the PID
196 207
 
197
-// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
198
-// J-Head Mk V-B
199
-    #define  DEFAULT_Kp 25.05
200
-    #define  DEFAULT_Ki 2.30
201
-    #define  DEFAULT_Kd 68.15
202
-
203
-// Ultimaker
204
-//    #define  DEFAULT_Kp 22.2
205
-//    #define  DEFAULT_Ki 1.08
206
-//    #define  DEFAULT_Kd 114
207
-
208
-// MakerGear
209
-//    #define  DEFAULT_Kp 7.0
210
-//    #define  DEFAULT_Ki 0.1
211
-//    #define  DEFAULT_Kd 12
212
-
213
-// Mendel Parts V9 on 12V
214
-//    #define  DEFAULT_Kp 63.0
215
-//    #define  DEFAULT_Ki 2.25
216
-//    #define  DEFAULT_Kd 440
208
+  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
209
+  // J-Head Mk V-B
210
+  #define  DEFAULT_Kp 25.05
211
+  #define  DEFAULT_Ki 2.30
212
+  #define  DEFAULT_Kd 68.15
213
+
214
+  // Ultimaker
215
+  //#define  DEFAULT_Kp 22.2
216
+  //#define  DEFAULT_Ki 1.08
217
+  //#define  DEFAULT_Kd 114
218
+
219
+  // MakerGear
220
+  //#define  DEFAULT_Kp 7.0
221
+  //#define  DEFAULT_Ki 0.1
222
+  //#define  DEFAULT_Kd 12
223
+
224
+  // Mendel Parts V9 on 12V
225
+  //#define  DEFAULT_Kp 63.0
226
+  //#define  DEFAULT_Ki 2.25
227
+  //#define  DEFAULT_Kd 440
228
+
217 229
 #endif // PIDTEMP
218 230
 
219 231
 //===========================================================================
@@ -241,23 +253,25 @@ Here are some standard links for getting your machine calibrated:
241 253
 //#define PID_BED_DEBUG // Sends debug data to the serial port.
242 254
 
243 255
 #ifdef PIDTEMPBED
244
-    #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
245 256
 
246
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
247
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
248
-    #define  DEFAULT_bedKp 10.00
249
-    #define  DEFAULT_bedKi .023
250
-    #define  DEFAULT_bedKd 305.4
257
+  #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
258
+
259
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
260
+  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
261
+  #define  DEFAULT_bedKp 10.00
262
+  #define  DEFAULT_bedKi .023
263
+  #define  DEFAULT_bedKd 305.4
251 264
 
252
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
253
-//from pidautotune
254
-//    #define  DEFAULT_bedKp 97.1
255
-//    #define  DEFAULT_bedKi 1.41
256
-//    #define  DEFAULT_bedKd 1675.16
265
+  //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
266
+  //from pidautotune
267
+  //#define  DEFAULT_bedKp 97.1
268
+  //#define  DEFAULT_bedKi 1.41
269
+  //#define  DEFAULT_bedKd 1675.16
257 270
 
258
-// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
271
+  // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
259 272
 #endif // PIDTEMPBED
260 273
 
274
+// @section extruder
261 275
 
262 276
 //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
263 277
 //can be software-disabled for whatever purposes by
@@ -313,6 +327,7 @@ Here are some standard links for getting your machine calibrated:
313 327
   // #define ENDSTOPPULLUP_XMIN
314 328
   // #define ENDSTOPPULLUP_YMIN
315 329
   // #define ENDSTOPPULLUP_ZMIN
330
+  // #define ENDSTOPPULLUP_ZPROBE
316 331
 #endif
317 332
 
318 333
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
@@ -326,7 +341,14 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
326 341
 //#define DISABLE_MAX_ENDSTOPS
327 342
 //#define DISABLE_MIN_ENDSTOPS
328 343
 
344
+// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
345
+// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
346
+// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
347
+// this has no effect.
348
+//#define DISABLE_Z_PROBE_ENDSTOP
349
+
329 350
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
351
+// :{0:'Low',1:'High'}
330 352
 #define X_ENABLE_ON 1
331 353
 #define Y_ENABLE_ON 1
332 354
 #define Z_ENABLE_ON 1
@@ -337,20 +359,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
337 359
 #define DISABLE_X false
338 360
 #define DISABLE_Y false
339 361
 #define DISABLE_Z false
362
+
363
+// @section extruder
364
+
340 365
 #define DISABLE_E false // For all extruders
341 366
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
342 367
 
368
+// @section machine
369
+
343 370
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
344 371
 #define INVERT_X_DIR false
345 372
 #define INVERT_Y_DIR false
346 373
 #define INVERT_Z_DIR true
374
+
375
+// @section extruder
376
+
377
+// For direct drive extruder v9 set to true, for geared extruder set to false.
347 378
 #define INVERT_E0_DIR false
348 379
 #define INVERT_E1_DIR false
349 380
 #define INVERT_E2_DIR false
350 381
 #define INVERT_E3_DIR false
351 382
 
383
+// @section homing
384
+
352 385
 // ENDSTOP SETTINGS:
353 386
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
387
+// :[-1,1]
354 388
 #define X_HOME_DIR -1
355 389
 #define Y_HOME_DIR -1
356 390
 #define Z_HOME_DIR -1
@@ -358,6 +392,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
358 392
 #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
359 393
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
360 394
 
395
+// @section machine
396
+
361 397
 // Travel limits after homing (units are in mm)
362 398
 #define X_MIN_POS 0
363 399
 #define Y_MIN_POS 0
@@ -387,7 +423,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
387 423
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
388 424
 
389 425
 #ifdef MANUAL_BED_LEVELING
390
-  #define MBL_Z_STEP 0.025
426
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
391 427
 #endif  // MANUAL_BED_LEVELING
392 428
 
393 429
 #ifdef MESH_BED_LEVELING
@@ -404,6 +440,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
404 440
 //============================ Bed Auto Leveling ============================
405 441
 //===========================================================================
406 442
 
443
+// @section bedlevel
444
+
407 445
 //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
408 446
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
409 447
 
@@ -467,7 +505,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
467 505
 
468 506
 //   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
469 507
                                                                             //Useful to retract a deployable probe.
470
-                                                                           
508
+
471 509
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
472 510
   //#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.
473 511
 
@@ -512,6 +550,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
512 550
 #endif // ENABLE_AUTO_BED_LEVELING
513 551
 
514 552
 
553
+// @section homing
554
+
515 555
 // The position of the homing switches
516 556
 //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
517 557
 //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
@@ -525,6 +565,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
525 565
   //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
526 566
 #endif
527 567
 
568
+// @section movement
569
+
528 570
 /**
529 571
  * MOVEMENT SETTINGS
530 572
  */
@@ -545,12 +587,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
545 587
 #define DEFAULT_RETRACT_ACCELERATION  3000   // E acceleration in mm/s^2 for retracts
546 588
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
547 589
 
548
-// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
549
-// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
550
-// For the other hotends it is their distance from the extruder 0 hotend.
551
-// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
552
-// #define EXTRUDER_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
553
-
554 590
 // The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
555 591
 #define DEFAULT_XYJERK                20.0    // (mm/sec)
556 592
 #define DEFAULT_ZJERK                 0.4     // (mm/sec)
@@ -561,6 +597,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
561 597
 //============================= Additional Features ===========================
562 598
 //=============================================================================
563 599
 
600
+// @section more
601
+
564 602
 // Custom M code points
565 603
 #define CUSTOM_M_CODES
566 604
 #ifdef CUSTOM_M_CODES
@@ -571,6 +609,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
571 609
   #endif
572 610
 #endif
573 611
 
612
+// @section extras
574 613
 
575 614
 // EEPROM
576 615
 // The microcontroller can store settings in the EEPROM, e.g. max velocity...
@@ -582,9 +621,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
582 621
 
583 622
 #ifdef EEPROM_SETTINGS
584 623
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
585
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
624
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
586 625
 #endif
587 626
 
627
+// @section temperature
628
+
588 629
 // Preheat Constants
589 630
 #define PLA_PREHEAT_HOTEND_TEMP 180
590 631
 #define PLA_PREHEAT_HPB_TEMP 70
@@ -595,10 +636,10 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
595 636
 #define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
596 637
 
597 638
 //==============================LCD and SD support=============================
639
+// @section lcd
598 640
 
599 641
 // Define your display language below. Replace (en) with your language code and uncomment.
600 642
 // en, pl, fr, de, es, ru, bg, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, cn, test
601
-
602 643
 // See also language.h
603 644
 //#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
604 645
 
@@ -621,7 +662,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
621 662
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
622 663
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
623 664
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
624
-
625 665
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
626 666
 // http://reprap.org/wiki/PanelOne
627 667
 //#define PANEL_ONE
@@ -677,14 +717,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
677 717
 
678 718
 // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
679 719
 //#define LCD_I2C_VIKI
720
+  
721
+// SSD1306 OLED generic display support
722
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
723
+//#define U8GLIB_SSD1306
680 724
 
681 725
 // Shift register panels
682 726
 // ---------------------
683 727
 // 2 wire Non-latching LCD SR from:
684 728
 // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
685
-
729
+// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
686 730
 //#define SAV_3DLCD
687 731
 
732
+// @section extras
733
+
688 734
 // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
689 735
 //#define FAST_PWM_FAN
690 736
 
@@ -708,7 +754,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
708 754
 // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
709 755
 // #define PHOTOGRAPH_PIN     23
710 756
 
711
-// SF send wrong arc g-codes when using Arc Point as fillet procedure
757
+// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
712 758
 //#define SF_ARC_FIX
713 759
 
714 760
 // Support for the BariCUDA Paste Extruder.
@@ -762,7 +808,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
762 808
 #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)
763 809
 
764 810
 //defines used in the code
765
-#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially 
811
+#define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially
766 812
 
767 813
 //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.
768 814
 //#define FILAMENT_LCD_DISPLAY

Loading…
Cancel
Save