PID tuning (Hotend)

Updated 10 days ago ​by Tomáš Chvalina

PID tuning is a great feature which an be used once you experience wide swings in temperatures of your nozzle (e.g +/- 5 C°). Then you shall consider doing PID tuning on your printer. If you are experiencing major temperature fluctuations higher than that, check  that your hotend  thermistor is properly seated in the heater block and plugged to your miniRAMBO  board  first.

PID for FW versions 3.0.12. and newer 

You can find this feature in Calibration - PID calibration. In this menu you have the option to choose the temperature for which PID will be run. Set the temperature with which you print the most as it will tune it for that the best, however, general stability will improve for all temperatures (PLA/ABS/PETG). After that, nozzle will heat up to the set temperature in 5 cycles. During cycles it is mastering the amount of power needed to reach the temperature and maintain it. 

Be aware that PID tuning is not a solution for all of the temperature fluctuation issues. Always make sure that your printer is located in a room with stable ambient temperatures, more about that in Thermal Runaway and Temperature Drops.

PID for earlier FW versions than 3.0.12. 

If you are seeing unstable temperatures or wide swings in temperatures for the hot end, you may want to run PID tuning to help. To do this, you will need to connect to the printer via USB and be controlling it via Pronterface.

Once connected and initialized, we will use the following M code:

M303 S210; Example for PID Tuning for PLA temps

It's recommended to tune the hot end around the temperature in which you will be printing at. To change the temperature in which it will try and regulate itself around, change the value following the "S" to the desired temperature. You don't need to redo it for every material though.

The printer will now cycle through a number of times and report out recommended PID values.

Now to change and store the new PID values, we need to use a couple of commands, starting with

M301 PXX IXX DXX ; 

Replace the "XX" with the values reported at the end of the PID tuning sequence.

Now that we have stored the new PID values, we need to now save it to EEPROM. To do so we use

M500 ; Store Settings

This will commit the new PID values to the firmware and be permanently stored. If you do not do this step, the PID values will revert back the next time you cycle power.

To verify that the settings have been stored, we can now use the following command to print current stored EEPROM settings

M503 ; Print Settings

Confirm that what you see under the "PID" section is the same as the values in which you entered with the above M301 command.

You have now successfully tuned your PID settings, the hot end should be much more stable now!

Do not hesitate to contact us at info@prusa3d.com if you would have any following questions.


How did we do?