Enable heatbed PID mode and add several tweaks

Enable heatbed PID mode and add several tweaks

Enable PIDTEMPBED and add several tweaks

• Enabling heatbed PID tuning
• Tweaking default hotend PID
• Enhancing MMBL grid from 9 points to 25 (3x3 to 5x5 -
 fair warning, leveling might take a few minutes now!)
• Increasing buffer and lowering baudrate to ensure smoother prints via USB
• Removing some redundant stuff to save memory

Thanks to @NetrunnerAT for his recommendations!

Co-Authored-By: NetrunnerAT <netrunnerat@users.noreply.github.com>
This commit is contained in:
David Ramiro
2018-11-16 10:50:55 +01:00
parent a813344030
commit 5e56a939e3
2 changed files with 52 additions and 7 deletions

View File

@@ -138,7 +138,7 @@
// Show Temperature ADC value
// Enable for M105 to include ADC values read from temperature sensors.
#define SHOW_TEMP_ADC_VALUES
//#define SHOW_TEMP_ADC_VALUES
/**
* High Temperature Thermistor Support
@@ -880,7 +880,7 @@
// The ASCII buffer for serial input
#define MAX_CMD_SIZE 96
#define BUFSIZE 4
#define BUFSIZE 16
// Transmission to Host Buffer Size
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
@@ -889,13 +889,13 @@
// For debug-echo: 128 bytes for the optimal speed.
// Other output doesn't need to be that speedy.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
#define TX_BUFFER_SIZE 0
#define TX_BUFFER_SIZE 4
// Host Receive Buffer Size
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// To use flow control, set this buffer size to at least 1024 bytes.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
//#define RX_BUFFER_SIZE 1024
#define RX_BUFFER_SIZE 32
#if RX_BUFFER_SIZE >= 1024
// Enable to have the controller send XON/XOFF control characters to
@@ -1099,7 +1099,7 @@
#if HAS_TRINAMIC
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
#define HOLD_MULTIPLIER 0.2 // Scales down the holding current from run current
#define INTERPOLATE true // Interpolate X/Y/Z_MICROSTEPS to 256
#define X_CURRENT 800 // rms current in mA. Multiply by 1.41 for peak current.