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:
David Ramiro 2018-12-17 20:16:57 +01:00
parent 1b8120bbdc
commit 5e9dfe5038
No known key found for this signature in database
GPG Key ID: 5B042737EBEEB736
11 changed files with 22998 additions and 22996 deletions

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

View File

@ -203,10 +203,10 @@ void AnycubicTFTClass::HandleSpecialMenu()
SpecialMenu=true;
} else if (strcmp(SelectedDirectory, "<auto tune hotend pid>")==0) {
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) {
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) {
SERIAL_PROTOCOLLNPGM("Special Menu: Save EEPROM");
enqueue_and_echo_commands_P(PSTR("M500"));

View File

@ -380,9 +380,9 @@
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
// i3 Mega
#define DEFAULT_Kp 16.43
#define DEFAULT_Ki 1.03
#define DEFAULT_Kd 55.79
#define DEFAULT_Kp 15.94
#define DEFAULT_Ki 1.17
#define DEFAULT_Kd 54.19
// Ultimaker
//#define DEFAULT_Kp 22.2

View File

@ -44,7 +44,7 @@
#endif
#define EXTRUSION_MULTIPLIER 1.0
#define RETRACTION_MULTIPLIER 4
#define RETRACTION_MULTIPLIER 6
#define PRIME_LENGTH 25.0
#define OOZE_AMOUNT 2.25

View File

@ -133,9 +133,9 @@
#define LCD_PINS_D7 29
#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_ENC 35

View File

@ -76,13 +76,14 @@ This firmware is perfectly calibrated for my own machine with TMC2208 (1.015V on
### PID tuning
- 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
- 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
- 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
@ -109,6 +110,7 @@ M501
M420 S1
```
- 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