|
|
|
@ -84,6 +84,7 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
#define SERIAL_PORT 0
|
|
|
|
|
|
|
|
|
|
// This determines the communication speed of the printer
|
|
|
|
|
// :[2400,9600,19200,38400,57600,115200,250000]
|
|
|
|
|
#define BAUDRATE 250000
|
|
|
|
|
|
|
|
|
|
// This enables the serial port associated to the Bluetooth interface
|
|
|
|
@ -104,16 +105,26 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
// #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
|
|
|
|
|
|
|
|
|
|
// This defines the number of extruders
|
|
|
|
|
// :[1,2,3,4]
|
|
|
|
|
#define EXTRUDERS 1
|
|
|
|
|
|
|
|
|
|
// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
|
|
|
|
|
// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
|
|
|
|
|
// For the other hotends it is their distance from the extruder 0 hotend.
|
|
|
|
|
//#define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
|
|
|
|
|
//#define EXTRUDER_OFFSET_Y {0.0, 5.00} // (in mm) for each extruder, offset of the hotend on the Y axis
|
|
|
|
|
|
|
|
|
|
//// The following define selects which power supply you have. Please choose the one that matches your setup
|
|
|
|
|
// 1 = ATX
|
|
|
|
|
// 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
|
|
|
|
|
// :{1:'ATX',2:'X-Box 360'}
|
|
|
|
|
|
|
|
|
|
#define POWER_SUPPLY 1
|
|
|
|
|
|
|
|
|
|
// Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
|
|
|
|
|
// #define PS_DEFAULT_OFF
|
|
|
|
|
//#define PS_DEFAULT_OFF
|
|
|
|
|
|
|
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================= Thermal Settings ============================
|
|
|
|
@ -219,28 +230,28 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
#define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term
|
|
|
|
|
#define K1 0.95 //smoothing factor within the PID
|
|
|
|
|
|
|
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
|
// Ultimaker
|
|
|
|
|
// #define DEFAULT_Kp 22.2
|
|
|
|
|
// #define DEFAULT_Ki 1.08
|
|
|
|
|
// #define DEFAULT_Kd 114
|
|
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
|
// Ultimaker
|
|
|
|
|
//#define DEFAULT_Kp 22.2
|
|
|
|
|
//#define DEFAULT_Ki 1.08
|
|
|
|
|
//#define DEFAULT_Kd 114
|
|
|
|
|
|
|
|
|
|
// MakerGear
|
|
|
|
|
// #define DEFAULT_Kp 7.0
|
|
|
|
|
// #define DEFAULT_Ki 0.1
|
|
|
|
|
// #define DEFAULT_Kd 12
|
|
|
|
|
// MakerGear
|
|
|
|
|
//#define DEFAULT_Kp 7.0
|
|
|
|
|
//#define DEFAULT_Ki 0.1
|
|
|
|
|
//#define DEFAULT_Kd 12
|
|
|
|
|
|
|
|
|
|
// Mendel Parts V9 on 12V
|
|
|
|
|
// #define DEFAULT_Kp 63.0
|
|
|
|
|
// #define DEFAULT_Ki 2.25
|
|
|
|
|
// #define DEFAULT_Kd 440
|
|
|
|
|
// Mendel Parts V9 on 12V
|
|
|
|
|
//#define DEFAULT_Kp 63.0
|
|
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
|
|
|
|
|
|
// Jhead MK5: From Autotune
|
|
|
|
|
// #define DEFAULT_Kp 20.92
|
|
|
|
|
// #define DEFAULT_Ki 1.51
|
|
|
|
|
// #define DEFAULT_Kd 72.34
|
|
|
|
|
// Jhead MK5: From Autotune
|
|
|
|
|
//#define DEFAULT_Kp 20.92
|
|
|
|
|
//#define DEFAULT_Ki 1.51
|
|
|
|
|
//#define DEFAULT_Kd 72.34
|
|
|
|
|
|
|
|
|
|
// Merlin Hotend: From Autotune
|
|
|
|
|
// Merlin Hotend: From Autotune
|
|
|
|
|
#define DEFAULT_Kp 24.5
|
|
|
|
|
#define DEFAULT_Ki 1.72
|
|
|
|
|
#define DEFAULT_Kd 87.73
|
|
|
|
@ -272,29 +283,31 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
//#define PID_BED_DEBUG // Sends debug data to the serial port.
|
|
|
|
|
|
|
|
|
|
#ifdef PIDTEMPBED
|
|
|
|
|
|
|
|
|
|
#define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term
|
|
|
|
|
|
|
|
|
|
//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
|
// #define DEFAULT_bedKp 10.00
|
|
|
|
|
// #define DEFAULT_bedKi .023
|
|
|
|
|
// #define DEFAULT_bedKd 305.4
|
|
|
|
|
//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
|
//#define DEFAULT_bedKp 10.00
|
|
|
|
|
//#define DEFAULT_bedKi .023
|
|
|
|
|
//#define DEFAULT_bedKd 305.4
|
|
|
|
|
|
|
|
|
|
//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
|
//from pidautotune
|
|
|
|
|
// #define DEFAULT_bedKp 97.1
|
|
|
|
|
// #define DEFAULT_bedKi 1.41
|
|
|
|
|
// #define DEFAULT_bedKd 1675.16
|
|
|
|
|
//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
|
//from pidautotune
|
|
|
|
|
//#define DEFAULT_bedKp 97.1
|
|
|
|
|
//#define DEFAULT_bedKi 1.41
|
|
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
|
|
|
|
|
|
|
//12v Heatbed Mk3 12V in parallel
|
|
|
|
|
//from pidautotune
|
|
|
|
|
//12v Heatbed Mk3 12V in parallel
|
|
|
|
|
//from pidautotune
|
|
|
|
|
#define DEFAULT_bedKp 630.14
|
|
|
|
|
#define DEFAULT_bedKi 121.71
|
|
|
|
|
#define DEFAULT_bedKd 815.64
|
|
|
|
|
|
|
|
|
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
|
#endif // PIDTEMPBED
|
|
|
|
|
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
|
//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
|
|
|
|
|
//can be software-disabled for whatever purposes by
|
|
|
|
@ -335,7 +348,7 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
// #define COREXY
|
|
|
|
|
|
|
|
|
|
// Enable this option for Toshiba steppers
|
|
|
|
|
// #define CONFIG_STEPPERS_TOSHIBA
|
|
|
|
|
//#define CONFIG_STEPPERS_TOSHIBA
|
|
|
|
|
|
|
|
|
|
// @section homing
|
|
|
|
|
|
|
|
|
@ -350,6 +363,7 @@ Here are some standard links for getting your machine calibrated:
|
|
|
|
|
#define ENDSTOPPULLUP_XMIN // open pin, inverted
|
|
|
|
|
#define ENDSTOPPULLUP_YMIN // open pin, inverted
|
|
|
|
|
// #define ENDSTOPPULLUP_ZMIN
|
|
|
|
|
// #define ENDSTOPPULLUP_ZPROBE
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
//#define DISABLE_MAX_ENDSTOPS
|
|
|
|
|
//#define DISABLE_MIN_ENDSTOPS
|
|
|
|
|
|
|
|
|
|
// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
|
|
|
|
|
// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
|
|
|
|
|
// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
|
|
|
|
|
// this has no effect.
|
|
|
|
|
//#define DISABLE_Z_PROBE_ENDSTOP
|
|
|
|
|
|
|
|
|
|
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
|
|
|
|
|
// :{0:'Low',1:'High'}
|
|
|
|
|
#define X_ENABLE_ON 0
|
|
|
|
|
#define Y_ENABLE_ON 0
|
|
|
|
|
#define Z_ENABLE_ON 0
|
|
|
|
@ -374,20 +395,32 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#define DISABLE_X false
|
|
|
|
|
#define DISABLE_Y false
|
|
|
|
|
#define DISABLE_Z false
|
|
|
|
|
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
|
#define DISABLE_E false // For all extruders
|
|
|
|
|
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
|
|
|
|
|
|
|
|
|
|
// @section machine
|
|
|
|
|
|
|
|
|
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
|
|
|
|
#define INVERT_X_DIR false
|
|
|
|
|
#define INVERT_Y_DIR false
|
|
|
|
|
#define INVERT_Z_DIR true
|
|
|
|
|
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
|
|
#define INVERT_E0_DIR false
|
|
|
|
|
#define INVERT_E1_DIR false
|
|
|
|
|
#define INVERT_E2_DIR false
|
|
|
|
|
#define INVERT_E3_DIR false
|
|
|
|
|
|
|
|
|
|
// @section homing
|
|
|
|
|
|
|
|
|
|
// ENDSTOP SETTINGS:
|
|
|
|
|
// Sets direction of endstops when homing; 1=MAX, -1=MIN
|
|
|
|
|
// :[-1,1]
|
|
|
|
|
#define X_HOME_DIR 1
|
|
|
|
|
#define Y_HOME_DIR 1
|
|
|
|
|
#define Z_HOME_DIR -1
|
|
|
|
@ -395,6 +428,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
|
|
|
|
|
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.
|
|
|
|
|
|
|
|
|
|
// @section machine
|
|
|
|
|
|
|
|
|
|
// Travel limits after homing (units are in mm)
|
|
|
|
|
#define X_MIN_POS 0
|
|
|
|
|
#define Y_MIN_POS 0
|
|
|
|
@ -424,7 +459,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
// #define MESH_BED_LEVELING // Enable mesh bed leveling
|
|
|
|
|
|
|
|
|
|
#ifdef MANUAL_BED_LEVELING
|
|
|
|
|
#define MBL_Z_STEP 0.025
|
|
|
|
|
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis
|
|
|
|
|
#endif // MANUAL_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
#ifdef MESH_BED_LEVELING
|
|
|
|
@ -441,6 +476,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
//============================ Bed Auto Leveling ============================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
// @section bedlevel
|
|
|
|
|
|
|
|
|
|
//#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.
|
|
|
|
|
|
|
|
|
@ -549,6 +586,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#endif // ENABLE_AUTO_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @section homing
|
|
|
|
|
|
|
|
|
|
// The position of the homing switches
|
|
|
|
|
#define MANUAL_HOME_POSITIONS // If defined, MANUAL_*_HOME_POS below will be used
|
|
|
|
|
//#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
|
|
|
|
|
#define MANUAL_Z_HOME_POS 0.1 // Distance between nozzle and print surface after homing.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// @section movement
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MOVEMENT SETTINGS
|
|
|
|
|
*/
|
|
|
|
@ -578,12 +619,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 2000 // E acceleration in mm/s^2 for retracts
|
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 400 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
|
|
|
|
|
|
|
|
|
|
// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
|
|
|
|
|
// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
|
|
|
|
|
// For the other hotends it is their distance from the extruder 0 hotend.
|
|
|
|
|
// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
|
|
|
|
|
// #define EXTRUDER_OFFSET_Y {0.0, 5.00} // (in mm) for each extruder, offset of the hotend on the Y axis
|
|
|
|
|
|
|
|
|
|
// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
|
|
|
|
|
#define DEFAULT_XYJERK 5 // (mm/sec)
|
|
|
|
|
#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
|
|
|
|
|
//============================= Additional Features ===========================
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
// @section more
|
|
|
|
|
|
|
|
|
|
// Custom M code points
|
|
|
|
|
//#define CUSTOM_M_CODES
|
|
|
|
|
#ifdef CUSTOM_M_CODES
|
|
|
|
@ -604,6 +641,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// @section extras
|
|
|
|
|
|
|
|
|
|
// EEPROM
|
|
|
|
|
// 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
|
|
|
|
|
|
|
|
|
|
#ifdef EEPROM_SETTINGS
|
|
|
|
|
// To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
|
|
|
|
|
#define EEPROM_CHITCHAT // please keep turned on if you can.
|
|
|
|
|
#define EEPROM_CHITCHAT // Please keep turned on if you can.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
|
|
// Preheat Constants
|
|
|
|
|
#define PLA_PREHEAT_HOTEND_TEMP 180
|
|
|
|
|
#define PLA_PREHEAT_HPB_TEMP 70
|
|
|
|
@ -628,6 +668,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255
|
|
|
|
|
|
|
|
|
|
//==============================LCD and SD support=============================
|
|
|
|
|
// @section lcd
|
|
|
|
|
|
|
|
|
|
// Define your display language below. Replace (en) with your language code and uncomment.
|
|
|
|
|
// 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
|
|
|
|
|
//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
|
|
|
|
|
//#define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
|
|
|
|
|
// 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
|
|
|
|
|
|
|
|
|
|
// PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
|
|
|
|
|
// http://reprap.org/wiki/PanelOne
|
|
|
|
|
//#define PANEL_ONE
|
|
|
|
@ -710,13 +750,19 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
|
|
|
|
|
//#define LCD_I2C_VIKI
|
|
|
|
|
|
|
|
|
|
// SSD1306 OLED generic display support
|
|
|
|
|
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
|
|
|
|
|
//#define U8GLIB_SSD1306
|
|
|
|
|
|
|
|
|
|
// Shift register panels
|
|
|
|
|
// ---------------------
|
|
|
|
|
// 2 wire Non-latching LCD SR from:
|
|
|
|
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
|
|
|
|
|
|
|
|
|
|
// LCD configuration: http://reprap.org/wiki/SAV_3D_LCD
|
|
|
|
|
//#define SAV_3DLCD
|
|
|
|
|
|
|
|
|
|
// @section extras
|
|
|
|
|
|
|
|
|
|
// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
|
|
|
|
|
//#define FAST_PWM_FAN
|
|
|
|
|
|
|
|
|
@ -740,7 +786,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
|
// #define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
|
|
// SF send wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
// Support for the BariCUDA Paste Extruder.
|
|
|
|
|