|
@@ -127,18 +127,16 @@
|
127
|
127
|
// Enable the Bluetooth serial interface on AT90USB devices
|
128
|
128
|
//#define BLUETOOTH
|
129
|
129
|
|
130
|
|
-// The following define selects which electronics board you have.
|
131
|
|
-// Please choose the name from boards.h that matches your setup
|
|
130
|
+// Choose the name from boards.h that matches your setup
|
132
|
131
|
#ifndef MOTHERBOARD
|
133
|
132
|
#define MOTHERBOARD BOARD_FYSETC_CHEETAH
|
134
|
133
|
#endif
|
135
|
134
|
|
136
|
|
-// Optional custom name for your RepStrap or other custom machine
|
137
|
|
-// Displayed in the LCD "Ready" message
|
|
135
|
+// Name displayed in the LCD "Ready" message and Info menu
|
138
|
136
|
//#define CUSTOM_MACHINE_NAME "3D Printer"
|
139
|
137
|
|
140
|
|
-// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
|
141
|
|
-// You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
|
|
138
|
+// Printer's unique ID, used by some programs to differentiate between machines.
|
|
139
|
+// Choose your own or use a service like http://www.uuidgenerator.net/version4
|
142
|
140
|
//#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
|
143
|
141
|
|
144
|
142
|
// @section extruder
|
|
@@ -256,7 +254,16 @@
|
256
|
254
|
*/
|
257
|
255
|
//#define MAGNETIC_SWITCHING_TOOLHEAD
|
258
|
256
|
|
259
|
|
-#if EITHER(SWITCHING_TOOLHEAD, MAGNETIC_SWITCHING_TOOLHEAD)
|
|
257
|
+/**
|
|
258
|
+ * Electromagnetic Switching Toolhead
|
|
259
|
+ *
|
|
260
|
+ * Parking for CoreXY / HBot kinematics.
|
|
261
|
+ * Toolheads are parked at one edge and held with an electromagnet.
|
|
262
|
+ * Supports more than 2 Toolheads. See https://youtu.be/JolbsAKTKf4
|
|
263
|
+ */
|
|
264
|
+//#define ELECTROMAGNETIC_SWITCHING_TOOLHEAD
|
|
265
|
+
|
|
266
|
+#if ANY(SWITCHING_TOOLHEAD, MAGNETIC_SWITCHING_TOOLHEAD, ELECTROMAGNETIC_SWITCHING_TOOLHEAD)
|
260
|
267
|
#define SWITCHING_TOOLHEAD_Y_POS 235 // (mm) Y position of the toolhead dock
|
261
|
268
|
#define SWITCHING_TOOLHEAD_Y_SECURITY 10 // (mm) Security distance Y axis
|
262
|
269
|
#define SWITCHING_TOOLHEAD_Y_CLEAR 60 // (mm) Minimum distance from dock for unobstructed X axis
|
|
@@ -308,22 +315,20 @@
|
308
|
315
|
// @section machine
|
309
|
316
|
|
310
|
317
|
/**
|
311
|
|
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
|
312
|
|
- *
|
313
|
|
- * 0 = No Power Switch
|
314
|
|
- * 1 = ATX
|
315
|
|
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
|
|
318
|
+ * Power Supply Control
|
316
|
319
|
*
|
317
|
|
- * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
|
|
320
|
+ * Enable and connect the power supply to the PS_ON_PIN.
|
|
321
|
+ * Specify whether the power supply is active HIGH or active LOW.
|
318
|
322
|
*/
|
319
|
|
-#define POWER_SUPPLY 0
|
|
323
|
+//#define PSU_CONTROL
|
|
324
|
+//#define PSU_NAME "Power Supply"
|
320
|
325
|
|
321
|
|
-#if POWER_SUPPLY > 0
|
322
|
|
- // Enable this option to leave the PSU off at startup.
|
323
|
|
- // Power to steppers and heaters will need to be turned on with M80.
|
324
|
|
- //#define PS_DEFAULT_OFF
|
|
326
|
+#if ENABLED(PSU_CONTROL)
|
|
327
|
+ #define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)
|
325
|
328
|
|
326
|
|
- //#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
|
329
|
+ //#define PS_DEFAULT_OFF // Keep power off until enabled directly with M80
|
|
330
|
+
|
|
331
|
+ //#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
|
327
|
332
|
#if ENABLED(AUTO_POWER_CONTROL)
|
328
|
333
|
#define AUTO_POWER_FANS // Turn on PSU if fans need power
|
329
|
334
|
#define AUTO_POWER_E_FANS
|
|
@@ -333,7 +338,6 @@
|
333
|
338
|
//#define AUTO_POWER_CHAMBER_TEMP 30 // (°C) Turn on PSU over this temperature
|
334
|
339
|
#define POWER_TIMEOUT 30
|
335
|
340
|
#endif
|
336
|
|
-
|
337
|
341
|
#endif
|
338
|
342
|
|
339
|
343
|
// @section temperature
|
|
@@ -359,6 +363,7 @@
|
359
|
363
|
* 4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
|
360
|
364
|
* 5 : 100K thermistor - ATC Semitec 104GT-2/104NT-4-R025H42G (Used in ParCan & J-Head) (4.7k pullup)
|
361
|
365
|
* 501 : 100K Zonestar (Tronxy X3A) Thermistor
|
|
366
|
+ * 512 : 100k RPW-Ultra hotend thermistor (4.7k pullup)
|
362
|
367
|
* 6 : 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
|
363
|
368
|
* 7 : 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup)
|
364
|
369
|
* 71 : 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup)
|
|
@@ -396,7 +401,7 @@
|
396
|
401
|
* 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below.
|
397
|
402
|
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
|
398
|
403
|
*
|
399
|
|
- * :{ '0':"Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '501':"100K Zonestar (Tronxy X3A)", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950 1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '18':"ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327" '20':"Pt100 (Ultimainboard V2.x)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '61':"100k Formbot / Vivedino 3950 350C thermistor 4.7k pullup", '66':"Dyze Design 4.7M High Temperature thermistor", '67':"Slice Engineering 450C High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-4':"Thermocouple + AD8495", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595", '998':"Dummy 1", '999':"Dummy 2", '1000':"Custom thermistor params" }
|
|
404
|
+ * :{ '0':"Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '501':"100K Zonestar (Tronxy X3A)", '512':"100k RPW-Ultra hotend thermistor", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950 1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '18':"ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327" '20':"Pt100 (Ultimainboard V2.x)", '201':"Pt100 (Overlord)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '61':"100k Formbot / Vivedino 3950 350C thermistor 4.7k pullup", '66':"Dyze Design 4.7M High Temperature thermistor", '67':"Slice Engineering 450C High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-4':"Thermocouple + AD8495", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595", '998':"Dummy 1", '999':"Dummy 2", '1000':"Custom thermistor params" }
|
400
|
405
|
*/
|
401
|
406
|
#define TEMP_SENSOR_0 1
|
402
|
407
|
#define TEMP_SENSOR_1 0
|
|
@@ -1529,8 +1534,11 @@
|
1529
|
1534
|
// Middle point of circle
|
1530
|
1535
|
#define NOZZLE_CLEAN_CIRCLE_MIDDLE NOZZLE_CLEAN_START_POINT
|
1531
|
1536
|
|
1532
|
|
- // Moves the nozzle to the initial position
|
|
1537
|
+ // Move the nozzle to the initial position after cleaning
|
1533
|
1538
|
#define NOZZLE_CLEAN_GOBACK
|
|
1539
|
+
|
|
1540
|
+ // Enable for a purge/clean station that's always at the gantry height (thus no Z move)
|
|
1541
|
+ //#define NOZZLE_CLEAN_NO_Z
|
1534
|
1542
|
#endif
|
1535
|
1543
|
|
1536
|
1544
|
/**
|
|
@@ -1923,31 +1931,12 @@
|
1923
|
1931
|
//#define LCD_FOR_MELZI
|
1924
|
1932
|
|
1925
|
1933
|
//
|
1926
|
|
-// SSD1306 OLED full graphics generic display
|
1927
|
|
-//
|
1928
|
|
-//#define U8GLIB_SSD1306
|
1929
|
|
-
|
1930
|
|
-//
|
1931
|
|
-// SAV OLEd LCD module support using either SSD1306 or SH1106 based LCD modules
|
1932
|
|
-//
|
1933
|
|
-//#define SAV_3DGLCD
|
1934
|
|
-#if ENABLED(SAV_3DGLCD)
|
1935
|
|
- //#define U8GLIB_SSD1306
|
1936
|
|
- #define U8GLIB_SH1106
|
1937
|
|
-#endif
|
1938
|
|
-
|
1939
|
|
-//
|
1940
|
1934
|
// Original Ulticontroller from Ultimaker 2 printer with SSD1309 I2C display and encoder
|
1941
|
1935
|
// https://github.com/Ultimaker/Ultimaker2/tree/master/1249_Ulticontroller_Board_(x1)
|
1942
|
1936
|
//
|
1943
|
1937
|
//#define ULTI_CONTROLLER
|
1944
|
1938
|
|
1945
|
1939
|
//
|
1946
|
|
-// TinyBoy2 128x64 OLED / Encoder Panel
|
1947
|
|
-//
|
1948
|
|
-//#define OLED_PANEL_TINYBOY2
|
1949
|
|
-
|
1950
|
|
-//
|
1951
|
1940
|
// MKS MINI12864 with graphic controller and SD support
|
1952
|
1941
|
// https://reprap.org/wiki/MKS_MINI_12864
|
1953
|
1942
|
//
|
|
@@ -1981,15 +1970,6 @@
|
1981
|
1970
|
//#define ANET_FULL_GRAPHICS_LCD
|
1982
|
1971
|
|
1983
|
1972
|
//
|
1984
|
|
-// MKS OLED 1.3" 128 × 64 FULL GRAPHICS CONTROLLER
|
1985
|
|
-// http://reprap.org/wiki/MKS_12864OLED
|
1986
|
|
-//
|
1987
|
|
-// Tiny, but very sharp OLED display
|
1988
|
|
-//
|
1989
|
|
-//#define MKS_12864OLED // Uses the SH1106 controller (default)
|
1990
|
|
-//#define MKS_12864OLED_SSD1306 // Uses the SSD1306 controller
|
1991
|
|
-
|
1992
|
|
-//
|
1993
|
1973
|
// AZSMZ 12864 LCD with SD
|
1994
|
1974
|
// 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
|
1995
|
1975
|
//
|
|
@@ -2001,6 +1981,43 @@
|
2001
|
1981
|
//
|
2002
|
1982
|
//#define SILVER_GATE_GLCD_CONTROLLER
|
2003
|
1983
|
|
|
1984
|
+//=============================================================================
|
|
1985
|
+//============================== OLED Displays ==============================
|
|
1986
|
+//=============================================================================
|
|
1987
|
+
|
|
1988
|
+//
|
|
1989
|
+// SSD1306 OLED full graphics generic display
|
|
1990
|
+//
|
|
1991
|
+//#define U8GLIB_SSD1306
|
|
1992
|
+
|
|
1993
|
+//
|
|
1994
|
+// SAV OLEd LCD module support using either SSD1306 or SH1106 based LCD modules
|
|
1995
|
+//
|
|
1996
|
+//#define SAV_3DGLCD
|
|
1997
|
+#if ENABLED(SAV_3DGLCD)
|
|
1998
|
+ #define U8GLIB_SSD1306
|
|
1999
|
+ //#define U8GLIB_SH1106
|
|
2000
|
+#endif
|
|
2001
|
+
|
|
2002
|
+//
|
|
2003
|
+// TinyBoy2 128x64 OLED / Encoder Panel
|
|
2004
|
+//
|
|
2005
|
+//#define OLED_PANEL_TINYBOY2
|
|
2006
|
+
|
|
2007
|
+//
|
|
2008
|
+// MKS OLED 1.3" 128 × 64 FULL GRAPHICS CONTROLLER
|
|
2009
|
+// http://reprap.org/wiki/MKS_12864OLED
|
|
2010
|
+//
|
|
2011
|
+// Tiny, but very sharp OLED display
|
|
2012
|
+//
|
|
2013
|
+//#define MKS_12864OLED // Uses the SH1106 controller (default)
|
|
2014
|
+//#define MKS_12864OLED_SSD1306 // Uses the SSD1306 controller
|
|
2015
|
+
|
|
2016
|
+//
|
|
2017
|
+// Einstart S OLED SSD1306
|
|
2018
|
+//
|
|
2019
|
+//#define U8GLIB_SH1106_EINSTART
|
|
2020
|
+
|
2004
|
2021
|
//
|
2005
|
2022
|
// Overlord OLED display/controller with i2c buzzer and LEDs
|
2006
|
2023
|
//
|
|
@@ -2078,7 +2095,7 @@
|
2078
|
2095
|
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
|
2079
|
2096
|
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
|
2080
|
2097
|
// is too low, you should also increment SOFT_PWM_SCALE.
|
2081
|
|
-//#define FAN_SOFT_PWM
|
|
2098
|
+#define FAN_SOFT_PWM
|
2082
|
2099
|
|
2083
|
2100
|
// Incrementing this by 1 will double the software PWM frequency,
|
2084
|
2101
|
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
|