Improve Malyan M200 integration (#15462)

This commit is contained in:
Me No Dev
2019-10-06 06:37:22 +03:00
committed by Scott Lahteine
parent a1ad01e4ab
commit fc6a0937b8
4 changed files with 96 additions and 56 deletions

View File

@ -146,7 +146,7 @@
#define EXTRUDERS 1
// 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.
//#define SINGLENOZZLE
@ -474,9 +474,10 @@
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
// Ultimaker
#define DEFAULT_Kp 26.15
#define DEFAULT_Ki 2.74
#define DEFAULT_Kd 62.35
//#define DEFAULT_Kp 26.15
//#define DEFAULT_Ki 2.74
//#define DEFAULT_Kd 62.35
// MakerGear
//#define DEFAULT_Kp 7.0
//#define DEFAULT_Ki 0.1
@ -487,6 +488,11 @@
//#define DEFAULT_Ki 2.25
//#define DEFAULT_Kd 440
// Malyan M200
#define DEFAULT_Kp 20.0
#define DEFAULT_Ki 2.02
#define DEFAULT_Kd 100.00
#endif // PIDTEMP
//===========================================================================
@ -506,7 +512,7 @@
* 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.
*/
//#define PIDTEMPBED
#define PIDTEMPBED
//#define BED_LIMIT_SWITCHING
@ -524,9 +530,9 @@
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
#define DEFAULT_bedKp 231.09
#define DEFAULT_bedKi 45.21
#define DEFAULT_bedKd 295.34
//#define DEFAULT_bedKp 231.09
//#define DEFAULT_bedKi 45.21
//#define DEFAULT_bedKd 295.34
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
//from pidautotune
@ -534,6 +540,11 @@
//#define DEFAULT_bedKi 1.41
//#define DEFAULT_bedKd 1675.16
// Malyan M200
#define DEFAULT_bedKp 14.00
#define DEFAULT_bedKi 0.9
#define DEFAULT_bedKd 120.4
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
#endif // PIDTEMPBED
@ -1051,8 +1062,8 @@
// @section machine
// The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
#define X_BED_SIZE 120
#define Y_BED_SIZE 120
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
@ -1060,7 +1071,7 @@
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200
#define Z_MAX_POS 120
/**
* Software Endstops
@ -1278,7 +1289,7 @@
#endif
// 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)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
@ -1627,7 +1638,7 @@
*/
//#define SPI_SPEED SPI_HALF_SPEED
//#define SPI_SPEED SPI_QUARTER_SPEED
#define SPI_SPEED SPI_EIGHTH_SPEED
//#define SPI_SPEED SPI_EIGHTH_SPEED
/**
* SD CARD: ENABLE CRC