Tweak PID & G26
Thanks to some great feedback from @RolandRosenfeld I did some small tweaks: - Adjusted auto PID tune parameters - Replaced manufacturer PID values - Minor changes to the readme - Raised retraction on G26 Mesh Test - Merged latest bugfix from derhopp - Added latest hex files Co-Authored-By: Roland Rosenfeld <roland@spinnaker.de>
This commit is contained in:
parent
1b8120bbdc
commit
5e9dfe5038
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -203,10 +203,10 @@ void AnycubicTFTClass::HandleSpecialMenu()
|
||||||
SpecialMenu=true;
|
SpecialMenu=true;
|
||||||
} else if (strcmp(SelectedDirectory, "<auto tune hotend pid>")==0) {
|
} else if (strcmp(SelectedDirectory, "<auto tune hotend pid>")==0) {
|
||||||
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotend PID");
|
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotend PID");
|
||||||
enqueue_and_echo_commands_P(PSTR("M106 S178\nM303 E0 S240 C8 U1"));
|
enqueue_and_echo_commands_P(PSTR("M106 S178\nM303 E0 S210 C10 U1"));
|
||||||
} else if (strcmp(SelectedDirectory, "<auto tune hotbed pid>")==0) {
|
} else if (strcmp(SelectedDirectory, "<auto tune hotbed pid>")==0) {
|
||||||
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotbed Pid");
|
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotbed Pid");
|
||||||
enqueue_and_echo_commands_P(PSTR("M303 E-1 S80 C8 U1"));
|
enqueue_and_echo_commands_P(PSTR("M303 E-1 S60 C10 U1"));
|
||||||
} else if (strcmp(SelectedDirectory, "<save eeprom>")==0) {
|
} else if (strcmp(SelectedDirectory, "<save eeprom>")==0) {
|
||||||
SERIAL_PROTOCOLLNPGM("Special Menu: Save EEPROM");
|
SERIAL_PROTOCOLLNPGM("Special Menu: Save EEPROM");
|
||||||
enqueue_and_echo_commands_P(PSTR("M500"));
|
enqueue_and_echo_commands_P(PSTR("M500"));
|
||||||
|
|
|
@ -380,9 +380,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
|
||||||
|
|
||||||
// i3 Mega
|
// i3 Mega
|
||||||
#define DEFAULT_Kp 16.43
|
#define DEFAULT_Kp 15.94
|
||||||
#define DEFAULT_Ki 1.03
|
#define DEFAULT_Ki 1.17
|
||||||
#define DEFAULT_Kd 55.79
|
#define DEFAULT_Kd 54.19
|
||||||
|
|
||||||
// Ultimaker
|
// Ultimaker
|
||||||
//#define DEFAULT_Kp 22.2
|
//#define DEFAULT_Kp 22.2
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define EXTRUSION_MULTIPLIER 1.0
|
#define EXTRUSION_MULTIPLIER 1.0
|
||||||
#define RETRACTION_MULTIPLIER 4
|
#define RETRACTION_MULTIPLIER 6
|
||||||
#define PRIME_LENGTH 25.0
|
#define PRIME_LENGTH 25.0
|
||||||
#define OOZE_AMOUNT 2.25
|
#define OOZE_AMOUNT 2.25
|
||||||
|
|
||||||
|
|
|
@ -133,9 +133,9 @@
|
||||||
#define LCD_PINS_D7 29
|
#define LCD_PINS_D7 29
|
||||||
|
|
||||||
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
|
#ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
|
||||||
#define BEEPER_PIN 31
|
#define BEEPER_PIN 37
|
||||||
|
|
||||||
#define BTN_EN1 33
|
#define BTN_EN1 31
|
||||||
#define BTN_EN2 33
|
#define BTN_EN2 33
|
||||||
#define BTN_ENC 35
|
#define BTN_ENC 35
|
||||||
|
|
||||||
|
|
|
@ -76,13 +76,14 @@ This firmware is perfectly calibrated for my own machine with TMC2208 (1.015V on
|
||||||
### PID tuning
|
### PID tuning
|
||||||
|
|
||||||
- Turn on parts cooling fan, I recommend running it at 70% because of the 12V mod (`M106 S191`)
|
- Turn on parts cooling fan, I recommend running it at 70% because of the 12V mod (`M106 S191`)
|
||||||
- Send `M303 E0 S230 C8 U1` to start extruder PID auto tuning
|
- Send `M303 E0 S210 C10 U1` to start extruder PID auto tuning
|
||||||
- Wait for it to finish
|
- Wait for it to finish
|
||||||
- Send `M303 E-1 S80 C8 U1` to start heatbed PID auto tuning
|
- Send `M303 E-1 S60 C10 U1` to start heatbed PID auto tuning
|
||||||
- Wait for it to finish
|
- Wait for it to finish
|
||||||
- Save with `M500`, turn off fan with `M106 S0`
|
- Save with `M500`, turn off fan with `M106 S0`
|
||||||
|
Note: These commands are tweaked for PLA printing at up to 210/60°C. If you run into issues at higher temperatures (e.g. PETG & ABS), simply change the `S` parameter to your desired temperature
|
||||||
|
|
||||||
**Reminder**: PID tuning sometimes fails. If you get fluctuating temperatures or the heater even fails to reach your desired temperature, you can always go back to the stock settings by sending `M502` and `M500`.
|
**Reminder**: PID tuning sometimes fails. If you get fluctuating temperatures or the heater even fails to reach your desired temperature, you can always go back to the stock settings by sending `M301 P15.94 I1.17 D54.19` and save with `M500`.
|
||||||
|
|
||||||
### Bonus: Manual Mesh Bed Leveling
|
### Bonus: Manual Mesh Bed Leveling
|
||||||
|
|
||||||
|
@ -109,6 +110,7 @@ M501
|
||||||
M420 S1
|
M420 S1
|
||||||
```
|
```
|
||||||
- Enjoy never having to worry about an uneven bed again!
|
- Enjoy never having to worry about an uneven bed again!
|
||||||
|
Note: By default, this firmware probes 25 points. This might take little while, if you you don't need an as precise mesh, you can change the grid size by sending `G29 Px` before starting the levling. E.g., `G29 P3` results in a 3x3 mesh, thus only 9 points.
|
||||||
|
|
||||||
### Testing your bed leveling
|
### Testing your bed leveling
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue