Summary:
PA_TUNER is a tool to help configure Klipper's pressure advance setting in a few simple steps. It removes the need to run a pressure advance tuning tower command and other processes associated with the process. Review and messure the printed test square and use the calculation in the terminal to add the correct PA value to Klipper's printer.cfg file.
Details:
PA_TUNER is a Klipper gcode macro to quickly calculate correct Pressure Advance through direct observation of a quick-to-print 1-wall test square. Running PA_TUNER with no adjustment to the default parameters will suffice for most people with bowden tube extrusion.
A measurement is taken of the best quality Z height, and then used in the Pressure Advance formula. The forumla to calculate the Pressure Advance value is dynamically generated from the parameters, and printed as gcode output both before and after the print itself. If you're not monitoring the output from your printer, you will miss it.
Installation:
Save pa_tuner.cfg in the same folder as printer.cfg. Next add the following line in the begining of the printer.cfg file.
[include pa_tuner.cfg]
For most people, the only parameters they will ever adjust are PA_MAX and PA_MIN, to either zero in on the precise value, or to account for a direct drive system. The default PA_MAX is 1.0 because pressure advance is of the most benefit to bowden systems, so when this macro is used on direct drive systems, it is recommended to start with a PA_MAX value of 0.25, or even lower.
However, parameters exist for most conceivable scenarios. Again, HELP will reveal all parameters.