|
@@ -3,6 +3,20 @@
|
3
|
3
|
|
4
|
4
|
#include "boards.h"
|
5
|
5
|
|
|
6
|
+//===========================================================================
|
|
7
|
+//============================= Getting Started =============================
|
|
8
|
+//===========================================================================
|
|
9
|
+/*
|
|
10
|
+Here are some standard links for getting your machine calibrated:
|
|
11
|
+ * http://reprap.org/wiki/Calibration
|
|
12
|
+ * http://youtu.be/wAL9d7FgInk
|
|
13
|
+ * http://calculator.josefprusa.cz
|
|
14
|
+ * http://reprap.org/wiki/Triffid_Hunter%27s_Calibration_Guide
|
|
15
|
+ * http://www.thingiverse.com/thing:5573
|
|
16
|
+ * https://sites.google.com/site/repraplogphase/calibration-of-your-reprap
|
|
17
|
+ * http://www.thingiverse.com/thing:298812
|
|
18
|
+*/
|
|
19
|
+
|
6
|
20
|
// This configuration file contains the basic settings.
|
7
|
21
|
// Advanced settings can be found in Configuration_adv.h
|
8
|
22
|
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
|
|
@@ -67,7 +81,7 @@
|
67
|
81
|
// #define PS_DEFAULT_OFF
|
68
|
82
|
|
69
|
83
|
//===========================================================================
|
70
|
|
-//=============================Thermal Settings ============================
|
|
84
|
+//============================= Thermal Settings ============================
|
71
|
85
|
//===========================================================================
|
72
|
86
|
//
|
73
|
87
|
//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table
|
|
@@ -143,7 +157,11 @@
|
143
|
157
|
//#define EXTRUDER_WATTS (12.0*12.0/6.7) // P=I^2/R
|
144
|
158
|
//#define BED_WATTS (12.0*12.0/1.1) // P=I^2/R
|
145
|
159
|
|
146
|
|
-// PID settings:
|
|
160
|
+//===========================================================================
|
|
161
|
+//============================= PID Settings ================================
|
|
162
|
+//===========================================================================
|
|
163
|
+// PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning
|
|
164
|
+
|
147
|
165
|
// Comment the following line to disable PID and enable bang-bang.
|
148
|
166
|
#define PIDTEMP
|
149
|
167
|
#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
|
|
@@ -177,7 +195,9 @@
|
177
|
195
|
// #define DEFAULT_Kd 440
|
178
|
196
|
#endif // PIDTEMP
|
179
|
197
|
|
180
|
|
-// Bed Temperature Control
|
|
198
|
+//===========================================================================
|
|
199
|
+//============================= PID > Bed Temperature Control ===============
|
|
200
|
+//===========================================================================
|
181
|
201
|
// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis
|
182
|
202
|
//
|
183
|
203
|
// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.
|
|
@@ -214,7 +234,6 @@
|
214
|
234
|
#endif // PIDTEMPBED
|
215
|
235
|
|
216
|
236
|
|
217
|
|
-
|
218
|
237
|
//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
|
219
|
238
|
//can be software-disabled for whatever purposes by
|
220
|
239
|
#define PREVENT_DANGEROUS_EXTRUDE
|
|
@@ -224,7 +243,10 @@
|
224
|
243
|
#define EXTRUDE_MINTEMP 170
|
225
|
244
|
#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
|
226
|
245
|
|
227
|
|
-/*================== Thermal Runaway Protection ==============================
|
|
246
|
+//===========================================================================
|
|
247
|
+//============================= Thermal Runaway Protection ==================
|
|
248
|
+//===========================================================================
|
|
249
|
+/*
|
228
|
250
|
This is a feature to protect your printer from burn up in flames if it has
|
229
|
251
|
a thermistor coming off place (this happened to a friend of mine recently and
|
230
|
252
|
motivated me writing this feature).
|
|
@@ -259,11 +281,10 @@ your extruder heater takes 2 minutes to hit the target on heating.
|
259
|
281
|
// Parameters for the bed heater
|
260
|
282
|
//#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds
|
261
|
283
|
//#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius
|
262
|
|
-//===========================================================================
|
263
|
284
|
|
264
|
285
|
|
265
|
286
|
//===========================================================================
|
266
|
|
-//=============================Mechanical Settings===========================
|
|
287
|
+//============================= Mechanical Settings =========================
|
267
|
288
|
//===========================================================================
|
268
|
289
|
|
269
|
290
|
// Uncomment the following line to enable CoreXY kinematics
|
|
@@ -335,7 +356,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
|
335
|
356
|
#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
|
336
|
357
|
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.
|
337
|
358
|
|
338
|
|
-// Travel limits after homing
|
|
359
|
+// Travel limits after homing (units are in mm)
|
339
|
360
|
#define X_MAX_POS 205
|
340
|
361
|
#define X_MIN_POS 0
|
341
|
362
|
#define Y_MAX_POS 205
|
|
@@ -346,7 +367,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
|
346
|
367
|
#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
|
347
|
368
|
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
|
348
|
369
|
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+//===========================================================================
|
349
|
373
|
//============================= Bed Auto Leveling ===========================
|
|
374
|
+//===========================================================================
|
350
|
375
|
|
351
|
376
|
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
|
352
|
377
|
#define Z_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
|
@@ -499,9 +524,10 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
|
499
|
524
|
#define DEFAULT_ZJERK 0.4 // (mm/sec)
|
500
|
525
|
#define DEFAULT_EJERK 5.0 // (mm/sec)
|
501
|
526
|
|
502
|
|
-//===========================================================================
|
503
|
|
-//=============================Additional Features===========================
|
504
|
|
-//===========================================================================
|
|
527
|
+
|
|
528
|
+//=============================================================================
|
|
529
|
+//============================= Additional Features ===========================
|
|
530
|
+//=============================================================================
|
505
|
531
|
|
506
|
532
|
// Custom M code points
|
507
|
533
|
#define CUSTOM_M_CODES
|