|
@ -71,9 +71,10 @@ |
|
|
// @section info
|
|
|
// @section info
|
|
|
|
|
|
|
|
|
// Author info of this build printed to the host during boot and M115
|
|
|
// Author info of this build printed to the host during boot and M115
|
|
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
|
|
#define STRING_CONFIG_H_AUTHOR "(Yandex_an, FlyingbearGhost4S)" // Who made the changes.
|
|
|
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
|
|
|
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* *** VENDORS PLEASE READ *** |
|
|
* *** VENDORS PLEASE READ *** |
|
|
* |
|
|
* |
|
@ -86,7 +87,7 @@ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
// Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
|
|
|
// Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
|
|
|
#define SHOW_BOOTSCREEN |
|
|
//#define SHOW_BOOTSCREEN
|
|
|
|
|
|
|
|
|
// Show the bitmap in Marlin/_Bootscreen.h on startup.
|
|
|
// Show the bitmap in Marlin/_Bootscreen.h on startup.
|
|
|
//#define SHOW_CUSTOM_BOOTSCREEN
|
|
|
//#define SHOW_CUSTOM_BOOTSCREEN
|
|
@ -103,7 +104,9 @@ |
|
|
* |
|
|
* |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
*/ |
|
|
*/ |
|
|
#define SERIAL_PORT 0 |
|
|
|
|
|
|
|
|
//@
|
|
|
|
|
|
#define SERIAL_PORT 3 |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Select a secondary serial port on the board to use for communication with the host. |
|
|
* Select a secondary serial port on the board to use for communication with the host. |
|
@ -112,7 +115,9 @@ |
|
|
* |
|
|
* |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
|
|
*/ |
|
|
*/ |
|
|
//#define SERIAL_PORT_2 -1
|
|
|
//@
|
|
|
|
|
|
#define SERIAL_PORT_2 1 |
|
|
|
|
|
#define NUM_SERIAL 2 |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* This setting determines the communication speed of the printer. |
|
|
* This setting determines the communication speed of the printer. |
|
@ -123,18 +128,21 @@ |
|
|
* |
|
|
* |
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
|
|
*/ |
|
|
*/ |
|
|
#define BAUDRATE 250000 |
|
|
// @fixing octoprint connection issues - I guess RPi may have issues with higher baud rates.
|
|
|
|
|
|
#define BAUDRATE 115200 |
|
|
|
|
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
//#define BLUETOOTH
|
|
|
//#define BLUETOOTH
|
|
|
|
|
|
|
|
|
// Choose the name from boards.h that matches your setup
|
|
|
// Choose the name from boards.h that matches your setup
|
|
|
|
|
|
//@
|
|
|
#ifndef MOTHERBOARD |
|
|
#ifndef MOTHERBOARD |
|
|
#define MOTHERBOARD BOARD_RAMPS_14_EFB |
|
|
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Name displayed in the LCD "Ready" message and Info menu
|
|
|
// Name displayed in the LCD "Ready" message and Info menu
|
|
|
//#define CUSTOM_MACHINE_NAME "3D Printer"
|
|
|
//@
|
|
|
|
|
|
#define CUSTOM_MACHINE_NAME "FBGhost 4s" |
|
|
|
|
|
|
|
|
// Printer's unique ID, used by some programs to differentiate between machines.
|
|
|
// Printer's unique ID, used by some programs to differentiate between machines.
|
|
|
// Choose your own or use a service like http://www.uuidgenerator.net/version4
|
|
|
// Choose your own or use a service like http://www.uuidgenerator.net/version4
|
|
@ -143,11 +151,12 @@ |
|
|
// @section extruder
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
// This defines the number of extruders
|
|
|
// This defines the number of extruders
|
|
|
// :[1, 2, 3, 4, 5, 6, 7, 8]
|
|
|
// :[1, 2, 3, 4, 5, 6]
|
|
|
#define EXTRUDERS 1 |
|
|
#define EXTRUDERS 1 |
|
|
|
|
|
|
|
|
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
|
|
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
|
|
#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0 |
|
|
//@
|
|
|
|
|
|
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75 |
|
|
|
|
|
|
|
|
// For Cyclops or any "multi-extruder" that shares a single nozzle.
|
|
|
// For Cyclops or any "multi-extruder" that shares a single nozzle.
|
|
|
//#define SINGLENOZZLE
|
|
|
//#define SINGLENOZZLE
|
|
@ -325,10 +334,9 @@ |
|
|
//#define PSU_NAME "Power Supply"
|
|
|
//#define PSU_NAME "Power Supply"
|
|
|
|
|
|
|
|
|
#if ENABLED(PSU_CONTROL) |
|
|
#if ENABLED(PSU_CONTROL) |
|
|
#define PSU_ACTIVE_HIGH false // Set 'false' for ATX, 'true' for X-Box
|
|
|
#define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
|
|
|
|
|
|
|
|
|
//#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80
|
|
|
//#define PS_DEFAULT_OFF // Keep power off until enabled directly with M80
|
|
|
//#define PSU_POWERUP_DELAY 100 // (ms) Delay for the PSU to warm up to full power
|
|
|
|
|
|
|
|
|
|
|
|
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
|
|
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
|
|
#if ENABLED(AUTO_POWER_CONTROL) |
|
|
#if ENABLED(AUTO_POWER_CONTROL) |
|
@ -353,15 +361,13 @@ |
|
|
* |
|
|
* |
|
|
* Temperature sensors available: |
|
|
* Temperature sensors available: |
|
|
* |
|
|
* |
|
|
* -5 : PT100 / PT1000 with MAX31865 (only for sensors 0-1) |
|
|
|
|
|
* -3 : thermocouple with MAX31855 (only for sensors 0-1) |
|
|
|
|
|
* -2 : thermocouple with MAX6675 (only for sensors 0-1) |
|
|
|
|
|
* -4 : thermocouple with AD8495 |
|
|
* -4 : thermocouple with AD8495 |
|
|
|
|
|
* -3 : thermocouple with MAX31855 (only for sensor 0) |
|
|
|
|
|
* -2 : thermocouple with MAX6675 (only for sensor 0) |
|
|
* -1 : thermocouple with AD595 |
|
|
* -1 : thermocouple with AD595 |
|
|
* 0 : not used |
|
|
* 0 : not used |
|
|
* 1 : 100k thermistor - best choice for EPCOS 100k (4.7k pullup) |
|
|
* 1 : 100k thermistor - best choice for EPCOS 100k (4.7k pullup) |
|
|
* 331 : (3.3V scaled thermistor 1 table for MEGA) |
|
|
* 331 : (3.3V scaled thermistor 1 table) |
|
|
* 332 : (3.3V scaled thermistor 1 table for DUE) |
|
|
|
|
|
* 2 : 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup) |
|
|
* 2 : 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup) |
|
|
* 3 : Mendel-parts thermistor (4.7k pullup) |
|
|
* 3 : Mendel-parts thermistor (4.7k pullup) |
|
|
* 4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !! |
|
|
* 4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !! |
|
@ -379,8 +385,7 @@ |
|
|
* 13 : 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE" |
|
|
* 13 : 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE" |
|
|
* 15 : 100k thermistor calibration for JGAurora A5 hotend |
|
|
* 15 : 100k thermistor calibration for JGAurora A5 hotend |
|
|
* 18 : ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327 |
|
|
* 18 : ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327 |
|
|
* 20 : Pt100 with circuit in the Ultimainboard V2.x with 5v excitation (AVR) |
|
|
* 20 : Pt100 with circuit in the Ultimainboard V2.x |
|
|
* 21 : Pt100 with circuit in the Ultimainboard V2.x with 3.3v excitation (STM32 \ LPC176x....) |
|
|
|
|
|
* 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x |
|
|
* 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x |
|
|
* 60 : 100k Maker's Tool Works Kapton Bed Thermistor beta=3950 |
|
|
* 60 : 100k Maker's Tool Works Kapton Bed Thermistor beta=3950 |
|
|
* 61 : 100k Formbot / Vivedino 3950 350C thermistor 4.7k pullup |
|
|
* 61 : 100k Formbot / Vivedino 3950 350C thermistor 4.7k pullup |
|
@ -407,16 +412,16 @@ |
|
|
* 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below. |
|
|
* 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below. |
|
|
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below. |
|
|
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
//@ need to check what thermistor it actually uses
|
|
|
#define TEMP_SENSOR_0 1 |
|
|
#define TEMP_SENSOR_0 1 |
|
|
#define TEMP_SENSOR_1 0 |
|
|
#define TEMP_SENSOR_1 0 |
|
|
#define TEMP_SENSOR_2 0 |
|
|
#define TEMP_SENSOR_2 0 |
|
|
#define TEMP_SENSOR_3 0 |
|
|
#define TEMP_SENSOR_3 0 |
|
|
#define TEMP_SENSOR_4 0 |
|
|
#define TEMP_SENSOR_4 0 |
|
|
#define TEMP_SENSOR_5 0 |
|
|
#define TEMP_SENSOR_5 0 |
|
|
#define TEMP_SENSOR_6 0 |
|
|
//@
|
|
|
#define TEMP_SENSOR_7 0 |
|
|
#define TEMP_SENSOR_BED 1 |
|
|
#define TEMP_SENSOR_BED 0 |
|
|
// #define TEMP_SENSOR_CHAMBER 1
|
|
|
#define TEMP_SENSOR_PROBE 0 |
|
|
|
|
|
#define TEMP_SENSOR_CHAMBER 0 |
|
|
#define TEMP_SENSOR_CHAMBER 0 |
|
|
|
|
|
|
|
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
@ -444,8 +449,6 @@ |
|
|
#define HEATER_3_MINTEMP 5 |
|
|
#define HEATER_3_MINTEMP 5 |
|
|
#define HEATER_4_MINTEMP 5 |
|
|
#define HEATER_4_MINTEMP 5 |
|
|
#define HEATER_5_MINTEMP 5 |
|
|
#define HEATER_5_MINTEMP 5 |
|
|
#define HEATER_6_MINTEMP 5 |
|
|
|
|
|
#define HEATER_7_MINTEMP 5 |
|
|
|
|
|
#define BED_MINTEMP 5 |
|
|
#define BED_MINTEMP 5 |
|
|
|
|
|
|
|
|
// Above this temperature the heater will be switched off.
|
|
|
// Above this temperature the heater will be switched off.
|
|
@ -457,9 +460,8 @@ |
|
|
#define HEATER_3_MAXTEMP 275 |
|
|
#define HEATER_3_MAXTEMP 275 |
|
|
#define HEATER_4_MAXTEMP 275 |
|
|
#define HEATER_4_MAXTEMP 275 |
|
|
#define HEATER_5_MAXTEMP 275 |
|
|
#define HEATER_5_MAXTEMP 275 |
|
|
#define HEATER_6_MAXTEMP 275 |
|
|
//@
|
|
|
#define HEATER_7_MAXTEMP 275 |
|
|
#define BED_MAXTEMP 125 |
|
|
#define BED_MAXTEMP 150 |
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= PID Settings ================================
|
|
|
//============================= PID Settings ================================
|
|
@ -485,9 +487,9 @@ |
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
|
|
|
|
|
// Ultimaker
|
|
|
// Ultimaker
|
|
|
#define DEFAULT_Kp 22.2 |
|
|
// #define DEFAULT_Kp 22.2
|
|
|
#define DEFAULT_Ki 1.08 |
|
|
// #define DEFAULT_Ki 1.08
|
|
|
#define DEFAULT_Kd 114 |
|
|
// #define DEFAULT_Kd 114
|
|
|
|
|
|
|
|
|
// MakerGear
|
|
|
// MakerGear
|
|
|
//#define DEFAULT_Kp 7.0
|
|
|
//#define DEFAULT_Kp 7.0
|
|
@ -499,6 +501,11 @@ |
|
|
//#define DEFAULT_Ki 2.25
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
//#define DEFAULT_Kd 440
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
|
|
|
|
|
|
|
|
//@ SapphirePro 50W MonsterHeater (full metal heatbreak, no sock no fans @200° C)
|
|
|
|
|
|
#define DEFAULT_Kp 15.36 |
|
|
|
|
|
#define DEFAULT_Ki 1.13 |
|
|
|
|
|
#define DEFAULT_Kd 52.03 |
|
|
|
|
|
|
|
|
#endif // PIDTEMP
|
|
|
#endif // PIDTEMP
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
@ -518,7 +525,7 @@ |
|
|
* heater. If your configuration is significantly different than this and you don't understand |
|
|
* heater. If your configuration is significantly different than this and you don't understand |
|
|
* the issues involved, don't use bed PID until someone else verifies that your hardware works. |
|
|
* the issues involved, don't use bed PID until someone else verifies that your hardware works. |
|
|
*/ |
|
|
*/ |
|
|
//#define PIDTEMPBED
|
|
|
#define PIDTEMPBED |
|
|
|
|
|
|
|
|
//#define BED_LIMIT_SWITCHING
|
|
|
//#define BED_LIMIT_SWITCHING
|
|
|
|
|
|
|
|
@ -536,9 +543,9 @@ |
|
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
//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)
|
|
|
//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_bedKp 10.00
|
|
|
#define DEFAULT_bedKi .023 |
|
|
// #define DEFAULT_bedKi .023
|
|
|
#define DEFAULT_bedKd 305.4 |
|
|
// #define DEFAULT_bedKd 305.4
|
|
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
//from pidautotune
|
|
|
//from pidautotune
|
|
@ -546,6 +553,11 @@ |
|
|
//#define DEFAULT_bedKi 1.41
|
|
|
//#define DEFAULT_bedKi 1.41
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
|
|
|
|
|
|
|
|
|
// SapphirePro 24V Heater C5 S50
|
|
|
|
|
|
#define DEFAULT_bedKp 45.99 |
|
|
|
|
|
#define DEFAULT_bedKi 8.69 |
|
|
|
|
|
#define DEFAULT_bedKd 60.84 |
|
|
|
|
|
|
|
|
// 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
|
|
|
#endif // PIDTEMPBED
|
|
|
|
|
|
|
|
@ -566,7 +578,7 @@ |
|
|
* Note: For Bowden Extruders make this large enough to allow load/unload. |
|
|
* Note: For Bowden Extruders make this large enough to allow load/unload. |
|
|
*/ |
|
|
*/ |
|
|
#define PREVENT_LENGTHY_EXTRUDE |
|
|
#define PREVENT_LENGTHY_EXTRUDE |
|
|
#define EXTRUDE_MAXLENGTH 200 |
|
|
#define EXTRUDE_MAXLENGTH 710 //@ maybe needed for filament loading
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//======================== Thermal Runaway Protection =======================
|
|
|
//======================== Thermal Runaway Protection =======================
|
|
@ -587,7 +599,7 @@ |
|
|
|
|
|
|
|
|
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
|
|
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
|
|
#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
|
#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
|
#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
|
|
|
//#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= Mechanical Settings =========================
|
|
|
//============================= Mechanical Settings =========================
|
|
@ -597,7 +609,7 @@ |
|
|
|
|
|
|
|
|
// Uncomment one of these options to enable CoreXY, CoreXZ, or CoreYZ kinematics
|
|
|
// Uncomment one of these options to enable CoreXY, CoreXZ, or CoreYZ kinematics
|
|
|
// either in the usual order or reversed
|
|
|
// either in the usual order or reversed
|
|
|
//#define COREXY
|
|
|
//#define COREXY //@
|
|
|
//#define COREXZ
|
|
|
//#define COREXZ
|
|
|
//#define COREYZ
|
|
|
//#define COREYZ
|
|
|
//#define COREYX
|
|
|
//#define COREYX
|
|
@ -613,6 +625,7 @@ |
|
|
// Specify here all the endstop connectors that are connected to any endstop or probe.
|
|
|
// Specify here all the endstop connectors that are connected to any endstop or probe.
|
|
|
// Almost all printers will be using one per axis. Probes will use one or more of the
|
|
|
// Almost all printers will be using one per axis. Probes will use one or more of the
|
|
|
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
|
|
|
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
|
|
|
|
|
|
//@ Sapphire Pro uses Y-MAX, if you want 0,0 to be front left
|
|
|
#define USE_XMIN_PLUG |
|
|
#define USE_XMIN_PLUG |
|
|
#define USE_YMIN_PLUG |
|
|
#define USE_YMIN_PLUG |
|
|
#define USE_ZMIN_PLUG |
|
|
#define USE_ZMIN_PLUG |
|
@ -647,13 +660,14 @@ |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
|
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
|
|
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
//@ microswitches
|
|
|
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
|
|
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
#define Y_MIN_ENDSTOP_INVERTING true// Set to true to invert the logic of the endstop.
|
|
|
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
|
|
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
#define X_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
|
|
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
|
#define Y_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
|
|
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
|
|
|
#define Z_MAX_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
|
|
|
|
|
|
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe.
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Stepper Drivers |
|
|
* Stepper Drivers |
|
@ -663,30 +677,27 @@ |
|
|
* |
|
|
* |
|
|
* A4988 is assumed for unspecified drivers. |
|
|
* A4988 is assumed for unspecified drivers. |
|
|
* |
|
|
* |
|
|
* Options: A4988, A5984, DRV8825, LV8729, L6470, L6474, POWERSTEP01, |
|
|
* Options: A4988, A5984, DRV8825, LV8729, L6470, TB6560, TB6600, TMC2100, |
|
|
* TB6560, TB6600, TMC2100, |
|
|
|
|
|
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE, |
|
|
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE, |
|
|
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE, |
|
|
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE, |
|
|
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE, |
|
|
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE, |
|
|
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE |
|
|
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE |
|
|
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE'] |
|
|
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE'] |
|
|
*/ |
|
|
*/ |
|
|
//#define X_DRIVER_TYPE A4988
|
|
|
//@ Sapphire Pro setup
|
|
|
//#define Y_DRIVER_TYPE A4988
|
|
|
#define X_DRIVER_TYPE A4988 |
|
|
//#define Z_DRIVER_TYPE A4988
|
|
|
#define Y_DRIVER_TYPE A4988 |
|
|
|
|
|
#define Z_DRIVER_TYPE A4988 |
|
|
//#define X2_DRIVER_TYPE A4988
|
|
|
//#define X2_DRIVER_TYPE A4988
|
|
|
//#define Y2_DRIVER_TYPE A4988
|
|
|
//#define Y2_DRIVER_TYPE A4988
|
|
|
//#define Z2_DRIVER_TYPE A4988
|
|
|
//#define Z2_DRIVER_TYPE A4988
|
|
|
//#define Z3_DRIVER_TYPE A4988
|
|
|
//#define Z3_DRIVER_TYPE A4988
|
|
|
//#define Z4_DRIVER_TYPE A4988
|
|
|
#define E0_DRIVER_TYPE A4988 |
|
|
//#define E0_DRIVER_TYPE A4988
|
|
|
|
|
|
//#define E1_DRIVER_TYPE A4988
|
|
|
//#define E1_DRIVER_TYPE A4988
|
|
|
//#define E2_DRIVER_TYPE A4988
|
|
|
//#define E2_DRIVER_TYPE A4988
|
|
|
//#define E3_DRIVER_TYPE A4988
|
|
|
//#define E3_DRIVER_TYPE A4988
|
|
|
//#define E4_DRIVER_TYPE A4988
|
|
|
//#define E4_DRIVER_TYPE A4988
|
|
|
//#define E5_DRIVER_TYPE A4988
|
|
|
//#define E5_DRIVER_TYPE A4988
|
|
|
//#define E6_DRIVER_TYPE A4988
|
|
|
|
|
|
//#define E7_DRIVER_TYPE A4988
|
|
|
|
|
|
|
|
|
|
|
|
// Enable this feature if all enabled endstop pins are interrupt-capable.
|
|
|
// Enable this feature if all enabled endstop pins are interrupt-capable.
|
|
|
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
|
|
|
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
|
|
@ -729,16 +740,18 @@ |
|
|
/**
|
|
|
/**
|
|
|
* Default Axis Steps Per Unit (steps/mm) |
|
|
* Default Axis Steps Per Unit (steps/mm) |
|
|
* Override with M92 |
|
|
* Override with M92 |
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 } |
|
|
//@ settings from 1.0.3 stock firmware
|
|
|
|
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 400 } |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Default Max Feed Rate (mm/s) |
|
|
* Default Max Feed Rate (mm/s) |
|
|
* Override with M203 |
|
|
* Override with M203 |
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
|
|
//@ keep speed reasonable
|
|
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 200, 200, 4, 70 } |
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
|
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) |
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) |
|
@ -749,13 +762,14 @@ |
|
|
* Default Max Acceleration (change/s) change = mm/s |
|
|
* Default Max Acceleration (change/s) change = mm/s |
|
|
* (Maximum start speed for accelerated moves) |
|
|
* (Maximum start speed for accelerated moves) |
|
|
* Override with M201 |
|
|
* Override with M201 |
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]] |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
|
|
//@ keep speed reasonable
|
|
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 1000, 1000, 100, 1000 } |
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
|
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
|
#define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
|
|
|
#define MAX_ACCEL_EDIT_VALUES { 1000, 1000, 100, 1000 } // ...or, set your own edit limits
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
@ -766,25 +780,24 @@ |
|
|
* M204 R Retract Acceleration |
|
|
* M204 R Retract Acceleration |
|
|
* M204 T Travel Acceleration |
|
|
* M204 T Travel Acceleration |
|
|
*/ |
|
|
*/ |
|
|
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
|
|
//@ keep speed reasonable
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
|
|
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
|
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Default Jerk limits (mm/s) |
|
|
* Default Jerk limits (mm/s) |
|
|
* Override with M205 X Y Z E |
|
|
* Override with M205 X Y Z E |
|
|
* |
|
|
* |
|
|
* "Jerk" specifies the minimum speed change that requires acceleration. |
|
|
* "Jerk" specifies the minimum speed change that requires acceleration. |
|
|
* When changing speed and direction, if the difference is less than the |
|
|
* When changing speed and , if the difference is less than the |
|
|
* value set here, it may happen instantaneously. |
|
|
* value set here, it may happen instantaneously. |
|
|
*/ |
|
|
*/ |
|
|
//#define CLASSIC_JERK
|
|
|
//#define CLASSIC_JERK
|
|
|
#if ENABLED(CLASSIC_JERK) |
|
|
#if ENABLED(CLASSIC_JERK) |
|
|
#define DEFAULT_XJERK 10.0 |
|
|
#define DEFAULT_XJERK 10.0 |
|
|
#define DEFAULT_YJERK 10.0 |
|
|
#define DEFAULT_YJERK 10.0 |
|
|
#define DEFAULT_ZJERK 0.3 |
|
|
#define DEFAULT_ZJERK 0.5 |
|
|
|
|
|
|
|
|
//#define TRAVEL_EXTRA_XYJERK 0.0 // Additional jerk allowance for all travel moves
|
|
|
|
|
|
|
|
|
|
|
|
//#define LIMITED_JERK_EDITING // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
|
|
|
//#define LIMITED_JERK_EDITING // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
|
|
|
#if ENABLED(LIMITED_JERK_EDITING) |
|
|
#if ENABLED(LIMITED_JERK_EDITING) |
|
@ -792,7 +805,7 @@ |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define DEFAULT_EJERK 5.0 // May be used by Linear Advance
|
|
|
#define DEFAULT_EJERK 1.5 // May be used by Linear Advance @lowered to keep extruder from rattling
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Junction Deviation Factor |
|
|
* Junction Deviation Factor |
|
@ -802,7 +815,7 @@ |
|
|
* http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
|
|
|
* http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
|
|
|
*/ |
|
|
*/ |
|
|
#if DISABLED(CLASSIC_JERK) |
|
|
#if DISABLED(CLASSIC_JERK) |
|
|
#define JUNCTION_DEVIATION_MM 0.013 // (mm) Distance from real junction edge
|
|
|
#define JUNCTION_DEVIATION_MM 0.025 // (mm) Distance from real junction edge
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
@ -813,7 +826,8 @@ |
|
|
* |
|
|
* |
|
|
* See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
|
|
|
* See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
|
|
|
*/ |
|
|
*/ |
|
|
//#define S_CURVE_ACCELERATION
|
|
|
//@
|
|
|
|
|
|
#define S_CURVE_ACCELERATION |
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
//============================= Z Probe Options =============================
|
|
|
//============================= Z Probe Options =============================
|
|
@ -829,7 +843,7 @@ |
|
|
* |
|
|
* |
|
|
* Enable this option for a probe connected to the Z Min endstop pin. |
|
|
* Enable this option for a probe connected to the Z Min endstop pin. |
|
|
*/ |
|
|
*/ |
|
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN |
|
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Z_MIN_PROBE_PIN |
|
|
* Z_MIN_PROBE_PIN |
|
@ -861,8 +875,9 @@ |
|
|
* Use G29 repeatedly, adjusting the Z height at each point with movement commands |
|
|
* Use G29 repeatedly, adjusting the Z height at each point with movement commands |
|
|
* or (with LCD_BED_LEVELING) the LCD controller. |
|
|
* or (with LCD_BED_LEVELING) the LCD controller. |
|
|
*/ |
|
|
*/ |
|
|
//#define PROBE_MANUALLY
|
|
|
//@
|
|
|
//#define MANUAL_PROBE_START_Z 0.2
|
|
|
#define PROBE_MANUALLY |
|
|
|
|
|
//#define MANUAL_PROBE_START_Z 0
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment. |
|
|
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment. |
|
@ -870,12 +885,6 @@ |
|
|
*/ |
|
|
*/ |
|
|
//#define FIX_MOUNTED_PROBE
|
|
|
//#define FIX_MOUNTED_PROBE
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Use the nozzle as the probe, as with a conductive |
|
|
|
|
|
* nozzle system or a piezo-electric smart effector. |
|
|
|
|
|
*/ |
|
|
|
|
|
//#define NOZZLE_AS_PROBE
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Z Servo Probe, such as an endstop switch on a rotating arm. |
|
|
* Z Servo Probe, such as an endstop switch on a rotating arm. |
|
|
*/ |
|
|
*/ |
|
@ -918,13 +927,6 @@ |
|
|
#define Z_PROBE_RETRACT_X X_MAX_POS |
|
|
#define Z_PROBE_RETRACT_X X_MAX_POS |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Duet Smart Effector (for delta printers) - https://bit.ly/2ul5U7J
|
|
|
|
|
|
// When the pin is defined you can use M672 to set/reset the probe sensivity.
|
|
|
|
|
|
//#define DUET_SMART_EFFECTOR
|
|
|
|
|
|
#if ENABLED(DUET_SMART_EFFECTOR) |
|
|
|
|
|
#define SMART_EFFECTOR_MOD_PIN -1 // Connect a GPIO pin to the Smart Effector MOD pin
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
|
|
|
// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
|
|
|
//
|
|
|
//
|
|
@ -949,14 +951,14 @@ |
|
|
* |
|
|
* |
|
|
* Specify a Probe position as { X, Y, Z } |
|
|
* Specify a Probe position as { X, Y, Z } |
|
|
*/ |
|
|
*/ |
|
|
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } |
|
|
#define NOZZLE_TO_PROBE_OFFSET { 14, -40, 0 } |
|
|
|
|
|
|
|
|
// Most probes should stay away from the edges of the bed, but
|
|
|
// Certain types of probes need to stay away from edges
|
|
|
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
|
|
|
#define MIN_PROBE_EDGE 5 |
|
|
#define MIN_PROBE_EDGE 10 |
|
|
|
|
|
|
|
|
|
|
|
// X and Y axis travel speed (mm/m) between probes
|
|
|
// X and Y axis travel speed (mm/m) between probes
|
|
|
#define XY_PROBE_SPEED 8000 |
|
|
//@
|
|
|
|
|
|
#define XY_PROBE_SPEED 1000 |
|
|
|
|
|
|
|
|
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
|
|
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
|
|
#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z |
|
|
#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z |
|
@ -973,7 +975,7 @@ |
|
|
* A total of 2 does fast/slow probes with a weighted average. |
|
|
* A total of 2 does fast/slow probes with a weighted average. |
|
|
* A total of 3 or more adds more slow probes, taking the average. |
|
|
* A total of 3 or more adds more slow probes, taking the average. |
|
|
*/ |
|
|
*/ |
|
|
//#define MULTIPLE_PROBING 2
|
|
|
#define MULTIPLE_PROBING 5 |
|
|
//#define EXTRA_PROBING 1
|
|
|
//#define EXTRA_PROBING 1
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
@ -990,10 +992,10 @@ |
|
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle. |
|
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle. |
|
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle. |
|
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle. |
|
|
*/ |
|
|
*/ |
|
|
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
|
|
#define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow
|
|
|
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
|
|
#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points
|
|
|
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
|
|
#define Z_CLEARANCE_MULTI_PROBE 1 // Z Clearance between multiple probes
|
|
|
//#define Z_AFTER_PROBING 5 // Z position after probing is done
|
|
|
#define Z_AFTER_PROBING 5 // Z position after probing is done
|
|
|
|
|
|
|
|
|
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
|
|
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
|
|
|
|
|
|
|
@ -1017,7 +1019,7 @@ |
|
|
* These options are most useful for the BLTouch probe, but may also improve |
|
|
* These options are most useful for the BLTouch probe, but may also improve |
|
|
* readings with inductive probes and piezo sensors. |
|
|
* readings with inductive probes and piezo sensors. |
|
|
*/ |
|
|
*/ |
|
|
//#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
|
|
#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
|
|
#if ENABLED(PROBING_HEATERS_OFF) |
|
|
#if ENABLED(PROBING_HEATERS_OFF) |
|
|
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
|
|
|
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
|
|
|
#endif |
|
|
#endif |
|
@ -1049,52 +1051,55 @@ |
|
|
// @section machine
|
|
|
// @section machine
|
|
|
|
|
|
|
|
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
|
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
|
|
|
|
|
//@ TMC2208 behavior
|
|
|
#define INVERT_X_DIR false |
|
|
#define INVERT_X_DIR false |
|
|
#define INVERT_Y_DIR true |
|
|
#define INVERT_Y_DIR false |
|
|
#define INVERT_Z_DIR false |
|
|
#define INVERT_Z_DIR true |
|
|
|
|
|
|
|
|
// @section extruder
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
#define INVERT_E0_DIR false |
|
|
#define INVERT_E0_DIR true |
|
|
#define INVERT_E1_DIR false |
|
|
#define INVERT_E1_DIR false |
|
|
#define INVERT_E2_DIR false |
|
|
#define INVERT_E2_DIR false |
|
|
#define INVERT_E3_DIR false |
|
|
#define INVERT_E3_DIR false |
|
|
#define INVERT_E4_DIR false |
|
|
#define INVERT_E4_DIR false |
|
|
#define INVERT_E5_DIR false |
|
|
#define INVERT_E5_DIR false |
|
|
#define INVERT_E6_DIR false |
|
|
|
|
|
#define INVERT_E7_DIR false |
|
|
|
|
|
|
|
|
|
|
|
// @section homing
|
|
|
// @section homing
|
|
|
|
|
|
|
|
|
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed
|
|
|
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed
|
|
|
|
|
|
|
|
|
|
|
|
//@
|
|
|
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
|
|
|
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
|
|
|
|
|
|
|
|
|
//#define Z_HOMING_HEIGHT 4 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ...
|
|
|
#define Z_HOMING_HEIGHT 2 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ...
|
|
|
// Be sure to have this much clearance over your Z_MAX_POS to prevent grinding.
|
|
|
// Be sure you have this distance over your Z_MAX_POS in case.
|
|
|
|
|
|
|
|
|
//#define Z_AFTER_HOMING 10 // (mm) Height to move to after homing Z
|
|
|
|
|
|
|
|
|
|
|
|
// Direction of endstops when homing; 1=MAX, -1=MIN
|
|
|
// Direction of endstops when homing; 1=MAX, -1=MIN
|
|
|
// :[-1,1]
|
|
|
// :[-1,1]
|
|
|
#define X_HOME_DIR -1 |
|
|
#define X_HOME_DIR -1 |
|
|
|
|
|
//@ home to Y-max
|
|
|
#define Y_HOME_DIR -1 |
|
|
#define Y_HOME_DIR -1 |
|
|
#define Z_HOME_DIR -1 |
|
|
#define Z_HOME_DIR -1 |
|
|
|
|
|
|
|
|
// @section machine
|
|
|
// @section machine
|
|
|
|
|
|
|
|
|
|
|
|
//@
|
|
|
|
|
|
//@ my measurements
|
|
|
|
|
|
//@
|
|
|
|
|
|
|
|
|
// The size of the print bed
|
|
|
// The size of the print bed
|
|
|
#define X_BED_SIZE 200 |
|
|
#define X_BED_SIZE 255 |
|
|
#define Y_BED_SIZE 200 |
|
|
#define Y_BED_SIZE 210 |
|
|
|
|
|
|
|
|
// Travel limits (mm) after homing, corresponding to endstop positions.
|
|
|
// Travel limits (mm) after homing, corresponding to endstop positions.
|
|
|
#define X_MIN_POS 0 |
|
|
#define X_MIN_POS 0 |
|
|
#define Y_MIN_POS 0 |
|
|
#define Y_MIN_POS 0 |
|
|
#define Z_MIN_POS 0 |
|
|
#define Z_MIN_POS 0 |
|
|
#define X_MAX_POS X_BED_SIZE |
|
|
#define X_MAX_POS X_BED_SIZE |
|
|
#define Y_MAX_POS Y_BED_SIZE |
|
|
#define Y_MAX_POS 210 |
|
|
#define Z_MAX_POS 200 |
|
|
#define Z_MAX_POS 210 |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Software Endstops |
|
|
* Software Endstops |
|
@ -1136,8 +1141,8 @@ |
|
|
//#define FILAMENT_RUNOUT_SENSOR
|
|
|
//#define FILAMENT_RUNOUT_SENSOR
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR) |
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR) |
|
|
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
|
|
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
|
|
#define FIL_RUNOUT_INVERTING false // Set to true to invert the logic of the sensor.
|
|
|
#define FIL_RUNOUT_INVERTING true // Set to true to invert the logic of the sensor.
|
|
|
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
|
|
//#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
|
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
|
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
|
|
|
|
|
|
|
|
// Set one or more commands to execute on filament runout.
|
|
|
// Set one or more commands to execute on filament runout.
|
|
@ -1199,13 +1204,14 @@ |
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
//#define MESH_BED_LEVELING
|
|
|
#define MESH_BED_LEVELING |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Normally G28 leaves leveling disabled on completion. Enable |
|
|
* Normally G28 leaves leveling disabled on completion. Enable |
|
|
* this option to have G28 restore the prior leveling state. |
|
|
* this option to have G28 restore the prior leveling state. |
|
|
*/ |
|
|
*/ |
|
|
//#define RESTORE_LEVELING_AFTER_G28
|
|
|
//@
|
|
|
|
|
|
#define RESTORE_LEVELING_AFTER_G28 |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Enable detailed logging of G28, G29, M48, etc. |
|
|
* Enable detailed logging of G28, G29, M48, etc. |
|
@ -1229,14 +1235,13 @@ |
|
|
/**
|
|
|
/**
|
|
|
* Enable the G26 Mesh Validation Pattern tool. |
|
|
* Enable the G26 Mesh Validation Pattern tool. |
|
|
*/ |
|
|
*/ |
|
|
//#define G26_MESH_VALIDATION
|
|
|
#define G26_MESH_VALIDATION |
|
|
#if ENABLED(G26_MESH_VALIDATION) |
|
|
#if ENABLED(G26_MESH_VALIDATION) |
|
|
#define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.
|
|
|
#define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.
|
|
|
#define MESH_TEST_LAYER_HEIGHT 0.2 // (mm) Default layer height for the G26 Mesh Validation Tool.
|
|
|
#define MESH_TEST_LAYER_HEIGHT 0.2 // (mm) Default layer height for the G26 Mesh Validation Tool.
|
|
|
#define MESH_TEST_HOTEND_TEMP 205 // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
|
|
|
#define MESH_TEST_HOTEND_TEMP 205 // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
|
|
|
#define MESH_TEST_BED_TEMP 60 // (°C) Default bed temperature for the G26 Mesh Validation Tool.
|
|
|
#define MESH_TEST_BED_TEMP 60 // (°C) Default bed temperature for the G26 Mesh Validation Tool.
|
|
|
#define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for XY Moves for the G26 Mesh Validation Tool.
|
|
|
#define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for XY Moves for the G26 Mesh Validation Tool.
|
|
|
#define G26_RETRACT_MULTIPLIER 1.0 // G26 Q (retraction) used by default between mesh test elements.
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
@ -1244,7 +1249,7 @@ |
|
|
#if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR) |
|
|
#if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR) |
|
|
|
|
|
|
|
|
// Set the number of grid points per dimension.
|
|
|
// Set the number of grid points per dimension.
|
|
|
#define GRID_MAX_POINTS_X 3 |
|
|
#define GRID_MAX_POINTS_X 4 |
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
|
|
|
|
|
|
// Probe along the Y axis, advancing X after each column
|
|
|
// Probe along the Y axis, advancing X after each column
|
|
@ -1274,9 +1279,9 @@ |
|
|
//========================= Unified Bed Leveling ============================
|
|
|
//========================= Unified Bed Leveling ============================
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
//#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh
|
|
|
#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh
|
|
|
|
|
|
|
|
|
#define MESH_INSET 1 // Set Mesh bounds as an inset region of the bed
|
|
|
#define MESH_INSET 20 // Set Mesh bounds as an inset region of the bed
|
|
|
#define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.
|
|
|
#define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
|
|
|
|
|
@ -1292,7 +1297,7 @@ |
|
|
//=================================== Mesh ==================================
|
|
|
//=================================== Mesh ==================================
|
|
|
//===========================================================================
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
#define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed
|
|
|
#define MESH_INSET 20 // Set Mesh bounds as an inset region of the bed
|
|
|
#define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
#define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
|
|
|
|
|
@ -1304,6 +1309,7 @@ |
|
|
* Add a bed leveling sub-menu for ABL or MBL. |
|
|
* Add a bed leveling sub-menu for ABL or MBL. |
|
|
* Include a guided procedure if manual probing is enabled. |
|
|
* Include a guided procedure if manual probing is enabled. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
//@
|
|
|
//#define LCD_BED_LEVELING
|
|
|
//#define LCD_BED_LEVELING
|
|
|
|
|
|
|
|
|
#if ENABLED(LCD_BED_LEVELING) |
|
|
#if ENABLED(LCD_BED_LEVELING) |
|
@ -1313,7 +1319,8 @@ |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Add a menu item to move between bed corners for manual bed adjustment
|
|
|
// Add a menu item to move between bed corners for manual bed adjustment
|
|
|
//#define LEVEL_BED_CORNERS
|
|
|
//@
|
|
|
|
|
|
#define LEVEL_BED_CORNERS |
|
|
|
|
|
|
|
|
#if ENABLED(LEVEL_BED_CORNERS) |
|
|
#if ENABLED(LEVEL_BED_CORNERS) |
|
|
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
|
|
|
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
|
|
@ -1349,16 +1356,17 @@ |
|
|
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
|
|
|
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
|
|
|
// - Prevent Z homing when the Z probe is outside bed area.
|
|
|
// - Prevent Z homing when the Z probe is outside bed area.
|
|
|
//
|
|
|
//
|
|
|
//#define Z_SAFE_HOMING
|
|
|
#define Z_SAFE_HOMING |
|
|
|
|
|
|
|
|
#if ENABLED(Z_SAFE_HOMING) |
|
|
#if ENABLED(Z_SAFE_HOMING) |
|
|
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
|
|
|
#define Z_SAFE_HOMING_X_POINT (0) // X point for Z homing when homing all axes (G28).
|
|
|
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
|
|
|
#define Z_SAFE_HOMING_Y_POINT (0) // Y point for Z homing when homing all axes (G28).
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Homing speeds (mm/m)
|
|
|
// Homing speeds (mm/m)
|
|
|
#define HOMING_FEEDRATE_XY (50*60) |
|
|
//@
|
|
|
#define HOMING_FEEDRATE_Z (4*60) |
|
|
#define HOMING_FEEDRATE_XY (50*50) |
|
|
|
|
|
#define HOMING_FEEDRATE_Z (50*50) |
|
|
|
|
|
|
|
|
// Validate that endstops are triggered on homing moves
|
|
|
// Validate that endstops are triggered on homing moves
|
|
|
#define VALIDATE_HOMING_ENDSTOPS |
|
|
#define VALIDATE_HOMING_ENDSTOPS |
|
@ -1435,11 +1443,11 @@ |
|
|
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) |
|
|
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) |
|
|
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) |
|
|
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) |
|
|
*/ |
|
|
*/ |
|
|
//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
|
|
#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
|
|
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
|
|
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
|
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
|
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
|
|
#if ENABLED(EEPROM_SETTINGS) |
|
|
#if ENABLED(EEPROM_SETTINGS) |
|
|
//#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
|
|
|
#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
@ -1452,6 +1460,11 @@ |
|
|
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
|
|
|
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
|
|
|
#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating
|
|
|
#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// M100 Free Memory Watcher
|
|
|
|
|
|
//
|
|
|
|
|
|
//#define M100_FREE_MEMORY_WATCHER // Add M100 (Free Memory Watcher) to debug memory usage
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// G20/G21 Inch mode support
|
|
|
// G20/G21 Inch mode support
|
|
|
//
|
|
|
//
|
|
@ -1465,16 +1478,19 @@ |
|
|
// @section temperature
|
|
|
// @section temperature
|
|
|
|
|
|
|
|
|
// Preheat Constants
|
|
|
// Preheat Constants
|
|
|
|
|
|
//@
|
|
|
#define PREHEAT_1_LABEL "PLA" |
|
|
#define PREHEAT_1_LABEL "PLA" |
|
|
#define PREHEAT_1_TEMP_HOTEND 180 |
|
|
#define PREHEAT_1_TEMP_HOTEND 180 |
|
|
#define PREHEAT_1_TEMP_BED 70 |
|
|
#define PREHEAT_1_TEMP_BED 60 |
|
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
|
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
|
#define PREHEAT_2_LABEL "ABS" |
|
|
//@
|
|
|
#define PREHEAT_2_TEMP_HOTEND 240 |
|
|
#define PREHEAT_2_LABEL "PETG" |
|
|
#define PREHEAT_2_TEMP_BED 110 |
|
|
#define PREHEAT_2_TEMP_HOTEND 235 |
|
|
|
|
|
#define PREHEAT_2_TEMP_BED 70 |
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* Nozzle Park |
|
|
* Nozzle Park |
|
|
* |
|
|
* |
|
@ -1486,11 +1502,12 @@ |
|
|
* P1 Raise the nozzle always to Z-park height. |
|
|
* P1 Raise the nozzle always to Z-park height. |
|
|
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS. |
|
|
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS. |
|
|
*/ |
|
|
*/ |
|
|
//#define NOZZLE_PARK_FEATURE
|
|
|
//@
|
|
|
|
|
|
#define NOZZLE_PARK_FEATURE |
|
|
|
|
|
|
|
|
#if ENABLED(NOZZLE_PARK_FEATURE) |
|
|
#if ENABLED(NOZZLE_PARK_FEATURE) |
|
|
// Specify a park position as { X, Y, Z_raise }
|
|
|
// Specify a park position as { X, Y, Z_raise }
|
|
|
#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 } |
|
|
#define NOZZLE_PARK_POINT { (X_MIN_POS + 2), (Y_MAX_POS - 120), 50 } |
|
|
#define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)
|
|
|
#define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)
|
|
|
#define NOZZLE_PARK_Z_FEEDRATE 5 // (mm/s) Z axis feedrate (not used for delta printers)
|
|
|
#define NOZZLE_PARK_Z_FEEDRATE 5 // (mm/s) Z axis feedrate (not used for delta printers)
|
|
|
#endif |
|
|
#endif |
|
@ -1542,10 +1559,9 @@ |
|
|
// Default number of triangles
|
|
|
// Default number of triangles
|
|
|
#define NOZZLE_CLEAN_TRIANGLES 3 |
|
|
#define NOZZLE_CLEAN_TRIANGLES 3 |
|
|
|
|
|
|
|
|
// Specify positions for each tool as { { X, Y, Z }, { X, Y, Z } }
|
|
|
// Specify positions as { X, Y, Z }
|
|
|
// Dual hotend system may use { { -20, (Y_BED_SIZE / 2), (Z_MIN_POS + 1) }, { 420, (Y_BED_SIZE / 2), (Z_MIN_POS + 1) }}
|
|
|
#define NOZZLE_CLEAN_START_POINT { 30, 30, (Z_MIN_POS + 1) } |
|
|
#define NOZZLE_CLEAN_START_POINT { { 30, 30, (Z_MIN_POS + 1) } } |
|
|
#define NOZZLE_CLEAN_END_POINT { 100, 60, (Z_MIN_POS + 1) } |
|
|
#define NOZZLE_CLEAN_END_POINT { { 100, 60, (Z_MIN_POS + 1) } } |
|
|
|
|
|
|
|
|
|
|
|
// Circular pattern radius
|
|
|
// Circular pattern radius
|
|
|
#define NOZZLE_CLEAN_CIRCLE_RADIUS 6.5 |
|
|
#define NOZZLE_CLEAN_CIRCLE_RADIUS 6.5 |
|
@ -1648,7 +1664,9 @@ |
|
|
* you must uncomment the following option or it won't work. |
|
|
* you must uncomment the following option or it won't work. |
|
|
* |
|
|
* |
|
|
*/ |
|
|
*/ |
|
|
//#define SDSUPPORT
|
|
|
//@
|
|
|
|
|
|
#define SDSUPPORT |
|
|
|
|
|
#define SDIO_SUPPORT |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* SD CARD: SPI SPEED |
|
|
* SD CARD: SPI SPEED |
|
@ -1665,7 +1683,8 @@ |
|
|
* |
|
|
* |
|
|
* Use CRC checks and retries on the SD communication. |
|
|
* Use CRC checks and retries on the SD communication. |
|
|
*/ |
|
|
*/ |
|
|
//#define SD_CHECK_AND_RETRY
|
|
|
//@
|
|
|
|
|
|
#define SD_CHECK_AND_RETRY |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* LCD Menu Items |
|
|
* LCD Menu Items |
|
@ -1728,7 +1747,8 @@ |
|
|
//
|
|
|
//
|
|
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
|
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
|
|
//
|
|
|
//
|
|
|
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
|
|
//@
|
|
|
|
|
|
#define INDIVIDUAL_AXIS_HOMING_MENU |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// SPEAKER/BUZZER
|
|
|
// SPEAKER/BUZZER
|
|
@ -1799,7 +1819,7 @@ |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller
|
|
|
// Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller
|
|
|
// https://www.aliexpress.com/item/32765887917.html
|
|
|
// https://www.aliexpress.com/item/Micromake-Makeboard-3D-Printer-Parts-3D-Printer-Mini-Display-1602-Mini-Controller-Compatible-with-Ramps-1/32765887917.html
|
|
|
//
|
|
|
//
|
|
|
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
|
|
|
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
|
|
|
|
|
|
|
|
@ -1970,22 +1990,16 @@ |
|
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
|
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
|
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
|
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
|
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
|
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
|
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Factory display for Creality CR-10
|
|
|
// Factory display for Creality CR-10
|
|
|
// https://www.aliexpress.com/item/32833148327.html
|
|
|
// https://www.aliexpress.com/item/Universal-LCD-12864-3D-Printer-Display-Screen-With-Encoder-For-CR-10-CR-7-Model/32833148327.html
|
|
|
//
|
|
|
//
|
|
|
// This is RAMPS-compatible using a single 10-pin connector.
|
|
|
// This is RAMPS-compatible using a single 10-pin connector.
|
|
|
// (For CR-10 owners who want to replace the Melzi Creality board but retain the display)
|
|
|
// (For CR-10 owners who want to replace the Melzi Creality board but retain the display)
|
|
|
//
|
|
|
//
|
|
|
//#define CR10_STOCKDISPLAY
|
|
|
//#define CR10_STOCKDISPLAY
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// Ender-2 OEM display, a variant of the MKS_MINI_12864
|
|
|
|
|
|
//
|
|
|
|
|
|
//#define ENDER2_STOCKDISPLAY
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// ANET and Tronxy Graphical Controller
|
|
|
// ANET and Tronxy Graphical Controller
|
|
|
//
|
|
|
//
|
|
@ -1997,7 +2011,7 @@ |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// AZSMZ 12864 LCD with SD
|
|
|
// AZSMZ 12864 LCD with SD
|
|
|
// https://www.aliexpress.com/item/32837222770.html
|
|
|
// https://www.aliexpress.com/store/product/3D-printer-smart-controller-SMART-RAMPS-OR-RAMPS-1-4-LCD-12864-LCD-control-panel-green/2179173_32213636460.html
|
|
|
//
|
|
|
//
|
|
|
//#define AZSMZ_12864
|
|
|
//#define AZSMZ_12864
|
|
|
|
|
|
|
|
@ -2054,11 +2068,9 @@ |
|
|
//=============================================================================
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// DGUS Touch Display with DWIN OS. (Choose one.)
|
|
|
// DGUS Touch Display with DWIN OS
|
|
|
//
|
|
|
//
|
|
|
//#define DGUS_LCD_UI_ORIGIN
|
|
|
//#define DGUS_LCD
|
|
|
//#define DGUS_LCD_UI_FYSETC
|
|
|
|
|
|
//#define DGUS_LCD_UI_HIPRECY
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Touch-screen LCD for Malyan M200 printers
|
|
|
// Touch-screen LCD for Malyan M200 printers
|
|
@ -2066,10 +2078,10 @@ |
|
|
//#define MALYAN_LCD
|
|
|
//#define MALYAN_LCD
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Touch UI for FTDI EVE (FT800/FT810) displays
|
|
|
// LulzBot Color Touch UI for FTDI EVE (FT800/FT810) displays
|
|
|
// See Configuration_adv.h for all configuration options.
|
|
|
// See Configuration_adv.h for all configuration options.
|
|
|
//
|
|
|
//
|
|
|
//#define TOUCH_UI_FTDI_EVE
|
|
|
//#define LULZBOT_TOUCH_UI
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Third-party or vendor-customized controller interfaces.
|
|
|
// Third-party or vendor-customized controller interfaces.
|
|
@ -2084,7 +2096,17 @@ |
|
|
//
|
|
|
//
|
|
|
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
|
|
|
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
|
|
|
//
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
//@
|
|
|
//#define FSMC_GRAPHICAL_TFT
|
|
|
//#define FSMC_GRAPHICAL_TFT
|
|
|
|
|
|
#if ENABLED(FSMC_GRAPHICAL_TFT) |
|
|
|
|
|
//
|
|
|
|
|
|
// FSMC_UPSCALE 2 2x upscaler for 320x240 displays (default)
|
|
|
|
|
|
// FSMC_UPSCALE 3 3x upscaler for 480x320 displays
|
|
|
|
|
|
//
|
|
|
|
|
|
#define FSMC_UPSCALE 3 |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
//=============================================================================
|
|
|
//=============================================================================
|
|
|
//============================ Other Controllers ============================
|
|
|
//============================ Other Controllers ============================
|
|
@ -2093,15 +2115,22 @@ |
|
|
//
|
|
|
//
|
|
|
// ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
|
|
|
// ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
|
|
|
//
|
|
|
//
|
|
|
|
|
|
//@ testing
|
|
|
//#define TOUCH_BUTTONS
|
|
|
//#define TOUCH_BUTTONS
|
|
|
#if ENABLED(TOUCH_BUTTONS) |
|
|
#if ENABLED(TOUCH_BUTTONS) |
|
|
#define BUTTON_DELAY_EDIT 50 // (ms) Button repeat delay for edit screens
|
|
|
#define BUTTON_DELAY_EDIT 50 // (ms) Button repeat delay for edit screens
|
|
|
#define BUTTON_DELAY_MENU 250 // (ms) Button repeat delay for menus
|
|
|
#define BUTTON_DELAY_MENU 250 // (ms) Button repeat delay for menus
|
|
|
|
|
|
|
|
|
#define XPT2046_X_CALIBRATION 12316 |
|
|
//@ different calib for 3.5"TFT
|
|
|
#define XPT2046_Y_CALIBRATION -8981 |
|
|
#define XPT2046_X_CALIBRATION 12013 |
|
|
#define XPT2046_X_OFFSET -43 |
|
|
#define XPT2046_X_OFFSET -32 |
|
|
#define XPT2046_Y_OFFSET 257 |
|
|
#define XPT2046_Y_CALIBRATION -8711 |
|
|
|
|
|
#define XPT2046_Y_OFFSET 256 |
|
|
|
|
|
|
|
|
|
|
|
//#define XPT2046_X_CALIBRATION 12316
|
|
|
|
|
|
//#define XPT2046_Y_CALIBRATION -8981
|
|
|
|
|
|
//#define XPT2046_X_OFFSET -43
|
|
|
|
|
|
//#define XPT2046_Y_OFFSET 257
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|