|
|
|
@ -3,6 +3,20 @@
|
|
|
|
|
|
|
|
|
|
#include "boards.h"
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= Getting Started =============================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
/*
|
|
|
|
|
Here are some standard links for getting your machine calibrated:
|
|
|
|
|
* http://reprap.org/wiki/Calibration
|
|
|
|
|
* http://youtu.be/wAL9d7FgInk
|
|
|
|
|
* http://calculator.josefprusa.cz
|
|
|
|
|
* http://reprap.org/wiki/Triffid_Hunter%27s_Calibration_Guide
|
|
|
|
|
* http://www.thingiverse.com/thing:5573
|
|
|
|
|
* https://sites.google.com/site/repraplogphase/calibration-of-your-reprap
|
|
|
|
|
* http://www.thingiverse.com/thing:298812
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// This configuration file contains the basic settings.
|
|
|
|
|
// Advanced settings can be found in Configuration_adv.h
|
|
|
|
|
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
|
|
|
|
@ -67,7 +81,7 @@
|
|
|
|
|
// #define PS_DEFAULT_OFF
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//=============================Thermal Settings ============================
|
|
|
|
|
//============================= Thermal Settings ============================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//
|
|
|
|
|
//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table
|
|
|
|
@ -143,7 +157,11 @@
|
|
|
|
|
//#define EXTRUDER_WATTS (12.0*12.0/6.7) // P=I^2/R
|
|
|
|
|
//#define BED_WATTS (12.0*12.0/1.1) // P=I^2/R
|
|
|
|
|
|
|
|
|
|
// PID settings:
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= PID Settings ================================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
// PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning
|
|
|
|
|
|
|
|
|
|
// Comment the following line to disable PID and enable bang-bang.
|
|
|
|
|
#define PIDTEMP
|
|
|
|
|
#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
|
|
|
|
@ -177,7 +195,9 @@
|
|
|
|
|
// #define DEFAULT_Kd 440
|
|
|
|
|
#endif // PIDTEMP
|
|
|
|
|
|
|
|
|
|
// Bed Temperature Control
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= PID > Bed Temperature Control ===============
|
|
|
|
|
//===========================================================================
|
|
|
|
|
// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis
|
|
|
|
|
//
|
|
|
|
|
// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.
|
|
|
|
@ -214,7 +234,6 @@
|
|
|
|
|
#endif // PIDTEMPBED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
|
|
|
|
|
//can be software-disabled for whatever purposes by
|
|
|
|
|
#define PREVENT_DANGEROUS_EXTRUDE
|
|
|
|
@ -224,7 +243,10 @@
|
|
|
|
|
#define EXTRUDE_MINTEMP 170
|
|
|
|
|
#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
|
|
|
|
|
|
|
|
|
|
/*================== Thermal Runaway Protection ==============================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= Thermal Runaway Protection ==================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
/*
|
|
|
|
|
This is a feature to protect your printer from burn up in flames if it has
|
|
|
|
|
a thermistor coming off place (this happened to a friend of mine recently and
|
|
|
|
|
motivated me writing this feature).
|
|
|
|
@ -259,11 +281,10 @@ your extruder heater takes 2 minutes to hit the target on heating.
|
|
|
|
|
// Parameters for the bed heater
|
|
|
|
|
//#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds
|
|
|
|
|
//#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//=============================Mechanical Settings===========================
|
|
|
|
|
//============================= Mechanical Settings =========================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
// Uncomment the following line to enable CoreXY kinematics
|
|
|
|
@ -346,7 +367,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
|
|
|
|
|
#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
|
|
|
|
|
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
|
|
|
|
|
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= Bed Auto Leveling ===========================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
|
|
|
|
|
#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
|
|
|
|
|
#define DEFAULT_ZJERK 0.4 // (mm/sec)
|
|
|
|
|
#define DEFAULT_EJERK 5.0 // (mm/sec)
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//=============================Additional Features===========================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
//=============================================================================
|
|
|
|
|
//============================= Additional Features ===========================
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
// Custom M code points
|
|
|
|
|
#define CUSTOM_M_CODES
|
|
|
|
|