|
|
@ -59,6 +59,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
|
|
|
@ -79,17 +80,27 @@ 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
|
|
|
|
|
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//============================= Thermal Settings ============================
|
|
|
|
//===========================================================================
|
|
|
@ -209,6 +220,7 @@ Here are some standard links for getting your machine calibrated: |
|
|
|
//#define DEFAULT_Kp 63.0
|
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
|
|
|
|
#endif // PIDTEMP
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
@ -239,6 +251,7 @@ 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+)
|
|
|
@ -256,6 +269,7 @@ Here are some standard links for getting your machine calibrated: |
|
|
|
// 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
|
|
|
@ -311,6 +325,7 @@ Here are some standard links for getting your machine calibrated: |
|
|
|
// #define ENDSTOPPULLUP_XMIN
|
|
|
|
// #define ENDSTOPPULLUP_YMIN
|
|
|
|
// #define ENDSTOPPULLUP_ZMIN
|
|
|
|
// #define ENDSTOPPULLUP_ZPROBE
|
|
|
|
#endif |
|
|
|
|
|
|
|
// 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 |
|
|
|
//#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 |
|
|
@ -335,21 +357,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 false |
|
|
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
|
#define INVERT_E0_DIR true |
|
|
|
#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 |
|
|
@ -357,6 +390,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 |
|
|
@ -377,6 +412,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic |
|
|
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
|
|
|
#define FILAMENT_RUNOUT_SCRIPT "M600" |
|
|
|
#endif |
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//=========================== Manual Bed Leveling ===========================
|
|
|
|
//===========================================================================
|
|
|
@ -385,7 +421,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 |
|
|
@ -402,6 +438,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.
|
|
|
|
|
|
|
@ -510,6 +548,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)
|
|
|
@ -523,6 +563,8 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic |
|
|
|
//#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
|
|
|
|
#endif |
|
|
|
|
|
|
|
// @section movement
|
|
|
|
|
|
|
|
/**
|
|
|
|
* MOVEMENT SETTINGS |
|
|
|
*/ |
|
|
@ -539,12 +581,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic |
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration in mm/s^2 for retracts
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 3000 // 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 20.0 // (mm/sec)
|
|
|
|
#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 |
|
|
|
//============================= Additional Features ===========================
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
// @section more
|
|
|
|
|
|
|
|
// Custom M code points
|
|
|
|
#define CUSTOM_M_CODES |
|
|
|
#ifdef CUSTOM_M_CODES |
|
|
@ -565,6 +603,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...
|
|
|
@ -576,9 +615,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 |
|
|
@ -589,10 +630,10 @@ 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
|
|
|
|
|
|
|
|
// See also language.h
|
|
|
|
//#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
|
|
|
|
|
|
@ -615,7 +656,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
|
|
|
@ -672,13 +712,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
|
|
|
|
|
|
|
@ -702,7 +748,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.
|
|
|
|