|
@@ -86,7 +86,7 @@
|
86
|
86
|
// User-specified version info of this build to display in [Pronterface, etc] terminal window during
|
87
|
87
|
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
|
88
|
88
|
// build by the user have been successfully uploaded into firmware.
|
89
|
|
-#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
|
89
|
+#define STRING_CONFIG_H_AUTHOR "Bob Kuhn, G2/G3 radius testing" // Who made the changes.
|
90
|
90
|
#define SHOW_BOOTSCREEN
|
91
|
91
|
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
|
92
|
92
|
#define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2
|
|
@@ -105,24 +105,15 @@
|
105
|
105
|
//#define SHOW_CUSTOM_BOOTSCREEN
|
106
|
106
|
// @section machine
|
107
|
107
|
|
108
|
|
-/**
|
109
|
|
- * Select which serial port on the board will be used for communication with the host.
|
110
|
|
- * This allows the connection of wireless adapters (for instance) to non-default port pins.
|
111
|
|
- * Serial port 0 is always used by the Arduino bootloader regardless of this setting.
|
112
|
|
- *
|
113
|
|
- * :[0,1,2,3,4,5,6,7]
|
114
|
|
- */
|
|
108
|
+// SERIAL_PORT selects which serial port should be used for communication with the host.
|
|
109
|
+// This allows the connection of wireless adapters (for instance) to non-default port pins.
|
|
110
|
+// Serial port 0 is still used by the Arduino bootloader regardless of this setting.
|
|
111
|
+// :[0,1,2,3,4,5,6,7]
|
115
|
112
|
#define SERIAL_PORT 0
|
116
|
113
|
|
117
|
|
-#define BAUDRATE 250000
|
118
|
|
-/**
|
119
|
|
- * This setting determines the communication speed of the printer.
|
120
|
|
- *
|
121
|
|
- * 250000 works in most cases, but you might try a lower speed if
|
122
|
|
- * you commonly experience drop-outs during host printing.
|
123
|
|
- *
|
124
|
|
- * :[2400,9600,19200,38400,57600,115200,250000]
|
125
|
|
- */
|
|
114
|
+// This determines the communication speed of the printer
|
|
115
|
+// :[2400,9600,19200,38400,57600,115200,250000]
|
|
116
|
+#define BAUDRATE 115200
|
126
|
117
|
|
127
|
118
|
// Enable the Bluetooth serial interface on AT90USB devices
|
128
|
119
|
//#define BLUETOOTH
|
|
@@ -130,7 +121,7 @@
|
130
|
121
|
// The following define selects which electronics board you have.
|
131
|
122
|
// Please choose the name from boards.h that matches your setup
|
132
|
123
|
#ifndef MOTHERBOARD
|
133
|
|
- #define MOTHERBOARD BOARD_RAMPS_14_EFB
|
|
124
|
+ #define MOTHERBOARD BOARD_AZTEEG_X3_PRO
|
134
|
125
|
#endif
|
135
|
126
|
|
136
|
127
|
// Optional custom name for your RepStrap or other custom machine
|
|
@@ -178,22 +169,14 @@
|
178
|
169
|
//#define HOTEND_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
|
179
|
170
|
//#define HOTEND_OFFSET_Y {0.0, 5.00} // (in mm) for each extruder, offset of the hotend on the Y axis
|
180
|
171
|
|
181
|
|
-/**
|
182
|
|
- * Select your power supply here. Use 0 if you haven't connected the PS_ON_PIN
|
183
|
|
- *
|
184
|
|
- * 0 = No Power Switch
|
185
|
|
- * 1 = ATX
|
186
|
|
- * 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
|
187
|
|
- *
|
188
|
|
- * :{0:'No power switch',1:'ATX',2:'X-Box 360'}
|
189
|
|
- */
|
190
|
|
-#define POWER_SUPPLY 0
|
|
172
|
+//// The following define selects which power supply you have. Please choose the one that matches your setup
|
|
173
|
+// 1 = ATX
|
|
174
|
+// 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
|
|
175
|
+// :{1:'ATX',2:'X-Box 360'}
|
|
176
|
+#define POWER_SUPPLY 1
|
191
|
177
|
|
192
|
|
-#if POWER_SUPPLY > 0
|
193
|
|
- // Enable this option to leave the PSU off at startup.
|
194
|
|
- // Power to steppers and heaters will need to be turned on with M80.
|
195
|
|
- //#define PS_DEFAULT_OFF
|
196
|
|
-#endif
|
|
178
|
+// Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.
|
|
179
|
+//#define PS_DEFAULT_OFF
|
197
|
180
|
|
198
|
181
|
// @section temperature
|
199
|
182
|
|
|
@@ -239,10 +222,10 @@
|
239
|
222
|
// 110 is Pt100 with 1k pullup (non standard)
|
240
|
223
|
// 998 and 999 are Dummy Tables. They will ALWAYS read 25°C or the temperature defined below.
|
241
|
224
|
// Use it for Testing or Development purposes. NEVER for production machine.
|
242
|
|
-//#define DUMMY_THERMISTOR_998_VALUE 25
|
|
225
|
+#define DUMMY_THERMISTOR_998_VALUE 25
|
243
|
226
|
//#define DUMMY_THERMISTOR_999_VALUE 100
|
244
|
227
|
// :{ '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)",'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'",'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",'66':"Dyze Design 4.7M 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)",'-3':"Thermocouple + MAX31855 (only for sensor 0)",'-2':"Thermocouple + MAX6675 (only for sensor 0)",'-1':"Thermocouple + AD595",'998':"Dummy 1",'999':"Dummy 2" }
|
245
|
|
-#define TEMP_SENSOR_0 1
|
|
228
|
+#define TEMP_SENSOR_0 998
|
246
|
229
|
#define TEMP_SENSOR_1 0
|
247
|
230
|
#define TEMP_SENSOR_2 0
|
248
|
231
|
#define TEMP_SENSOR_3 0
|
|
@@ -372,9 +355,8 @@
|
372
|
355
|
#define EXTRUDE_MINTEMP 170
|
373
|
356
|
|
374
|
357
|
// This option prevents a single extrusion longer than EXTRUDE_MAXLENGTH.
|
375
|
|
-// Note that for Bowden Extruders a too-small value here may prevent loading.
|
376
|
358
|
#define PREVENT_LENGTHY_EXTRUDE
|
377
|
|
-#define EXTRUDE_MAXLENGTH 200
|
|
359
|
+#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH)
|
378
|
360
|
|
379
|
361
|
//===========================================================================
|
380
|
362
|
//======================== Thermal Runaway Protection =======================
|
|
@@ -421,9 +403,9 @@
|
421
|
403
|
#define USE_XMIN_PLUG
|
422
|
404
|
#define USE_YMIN_PLUG
|
423
|
405
|
#define USE_ZMIN_PLUG
|
424
|
|
-//#define USE_XMAX_PLUG
|
425
|
|
-//#define USE_YMAX_PLUG
|
426
|
|
-//#define USE_ZMAX_PLUG
|
|
406
|
+#define USE_XMAX_PLUG
|
|
407
|
+#define USE_YMAX_PLUG
|
|
408
|
+#define USE_ZMAX_PLUG
|
427
|
409
|
|
428
|
410
|
// coarse Endstop Settings
|
429
|
411
|
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
|
@@ -440,13 +422,13 @@
|
440
|
422
|
#endif
|
441
|
423
|
|
442
|
424
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
443
|
|
-#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
444
|
|
-#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
445
|
|
-#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
446
|
|
-#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
447
|
|
-#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
448
|
|
-#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
449
|
|
-#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
425
|
+#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
426
|
+#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
427
|
+#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
428
|
+#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
429
|
+#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
430
|
+#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
431
|
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
450
|
432
|
|
451
|
433
|
|
452
|
434
|
//=============================================================================
|
|
@@ -454,56 +436,20 @@
|
454
|
436
|
//=============================================================================
|
455
|
437
|
// @section motion
|
456
|
438
|
|
457
|
|
-/**
|
458
|
|
- * Default Settings
|
459
|
|
- *
|
460
|
|
- * These settings can be reset by M502
|
461
|
|
- *
|
462
|
|
- * Note that if EEPROM is enabled, saved values will override these.
|
463
|
|
- */
|
464
|
|
-
|
465
|
|
-/**
|
466
|
|
- * Default Axis Steps Per Unit (steps/mm)
|
467
|
|
- * Override with M92
|
468
|
|
- */
|
469
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
|
470
|
|
-
|
471
|
|
-/**
|
472
|
|
- * Default Max Feed Rate (mm/s)
|
473
|
|
- * Override with M203
|
474
|
|
- */
|
475
|
|
-#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
476
|
|
-
|
477
|
|
-/**
|
478
|
|
- * Default Max Acceleration (change/s) change = mm/s
|
479
|
|
- * Override with M201
|
480
|
|
- *
|
481
|
|
- * Maximum start speed for accelerated moves: { X, Y, Z, E }
|
482
|
|
- */
|
483
|
|
-#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
439
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT {8*24.8139,8*24.8139,8*24.8139,100}
|
|
440
|
+#define DEFAULT_MAX_FEEDRATE {35, 35, 25, 25} // (mm/sec)
|
|
441
|
+#define DEFAULT_MAX_ACCELERATION {3000,3000,100,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
|
484
|
442
|
|
485
|
|
-/**
|
486
|
|
- * Default Acceleration (change/s) change = mm/s
|
487
|
|
- * Override with M204
|
488
|
|
- *
|
489
|
|
- * M204 P Acceleration
|
490
|
|
- * M204 R Retract Acceleration
|
491
|
|
- * M204 T Travel Acceleration
|
492
|
|
- */
|
493
|
|
-#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
494
|
|
-#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
495
|
|
-#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
443
|
+#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration in mm/s^2 for printing moves
|
|
444
|
+#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration in mm/s^2 for retracts
|
|
445
|
+#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
|
496
|
446
|
|
497
|
|
-/**
|
498
|
|
- * Defult Jerk (mm/s)
|
499
|
|
- *
|
500
|
|
- * "Jerk" specifies the minimum speed change that requires acceleration.
|
501
|
|
- * When changing speed and direction, if the difference is less than the
|
502
|
|
- * value set here, it may happen instantaneously.
|
503
|
|
- */
|
504
|
|
-#define DEFAULT_XYJERK 20.0
|
505
|
|
-#define DEFAULT_ZJERK 0.4
|
506
|
|
-#define DEFAULT_EJERK 5.0
|
|
447
|
+// "Jerk" specifies the minimum speed change that requires acceleration.
|
|
448
|
+// When changing speed and direction, if the difference is less than the
|
|
449
|
+// value set here, it may happen instantaneously.
|
|
450
|
+#define DEFAULT_XYJERK 20.0 // (mm/sec)
|
|
451
|
+#define DEFAULT_ZJERK 0.4 // (mm/sec)
|
|
452
|
+#define DEFAULT_EJERK 5.0 // (mm/sec)
|
507
|
453
|
|
508
|
454
|
|
509
|
455
|
//===========================================================================
|
|
@@ -528,7 +474,6 @@
|
528
|
474
|
//#define FIX_MOUNTED_PROBE
|
529
|
475
|
|
530
|
476
|
// The BLTouch probe emulates a servo probe.
|
531
|
|
-// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
|
532
|
477
|
//#define BLTOUCH
|
533
|
478
|
|
534
|
479
|
// Z Servo Probe, such as an endstop switch on a rotating arm.
|
|
@@ -665,9 +610,9 @@
|
665
|
610
|
// @section machine
|
666
|
611
|
|
667
|
612
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
668
|
|
-#define INVERT_X_DIR false
|
669
|
|
-#define INVERT_Y_DIR true
|
670
|
|
-#define INVERT_Z_DIR false
|
|
613
|
+#define INVERT_X_DIR true // positive is away from the motor
|
|
614
|
+#define INVERT_Y_DIR false // positive is towards the motor
|
|
615
|
+#define INVERT_Z_DIR true // positive is away from the motor
|
671
|
616
|
|
672
|
617
|
// @section extruder
|
673
|
618
|
|
|
@@ -695,12 +640,12 @@
|
695
|
640
|
// @section machine
|
696
|
641
|
|
697
|
642
|
// Travel limits after homing (units are in mm)
|
698
|
|
-#define X_MIN_POS 0
|
699
|
|
-#define Y_MIN_POS 0
|
700
|
|
-#define Z_MIN_POS 0
|
701
|
|
-#define X_MAX_POS 200
|
702
|
|
-#define Y_MAX_POS 200
|
703
|
|
-#define Z_MAX_POS 200
|
|
643
|
+#define X_MIN_POS -100
|
|
644
|
+#define Y_MIN_POS -100
|
|
645
|
+#define Z_MIN_POS -100
|
|
646
|
+#define X_MAX_POS 375
|
|
647
|
+#define Y_MAX_POS 450
|
|
648
|
+#define Z_MAX_POS 450
|
704
|
649
|
|
705
|
650
|
//===========================================================================
|
706
|
651
|
//========================= Filament Runout Sensor ==========================
|
|
@@ -1060,7 +1005,7 @@
|
1060
|
1005
|
// SD Card support is disabled by default. If your controller has an SD slot,
|
1061
|
1006
|
// you must uncomment the following option or it won't work.
|
1062
|
1007
|
//
|
1063
|
|
-//#define SDSUPPORT
|
|
1008
|
+#define SDSUPPORT
|
1064
|
1009
|
|
1065
|
1010
|
//
|
1066
|
1011
|
// SD CARD: SPI SPEED
|
|
@@ -1077,7 +1022,7 @@
|
1077
|
1022
|
//
|
1078
|
1023
|
// Use CRC checks and retries on the SD communication.
|
1079
|
1024
|
//
|
1080
|
|
-//#define SD_CHECK_AND_RETRY
|
|
1025
|
+#define SD_CHECK_AND_RETRY
|
1081
|
1026
|
|
1082
|
1027
|
//
|
1083
|
1028
|
// ENCODER SETTINGS
|