PID (proportional-integral-derivative) tuning sets the parameters for controlling the temperatures of your hot ends. P, I, and D values need to be defined to accurately control the nozzle temperatures.
- Connect your Gigabot's power and USB cables.
- Using Pronterface, connect to your Gigabot.
- Turn on the head fan by typing "M106 S255" command in the lower right corner of Pronterface.
- In Pronterface, type one of the following into the data entry box at the lower right corner:
- For GB2, use “M303 S200.”
- For GB3, Left Extruder, use “M303 E0 S200.”
This will start the PID auto-tune function in the Marlin Firmware. The hot end will cycle the heat up and down for a couple of minutes until displaying the message: "PID Autotune Complete." Write down the last set of output values given.
- Classic PID
- Kp: 50.03
- Ki: 1.98
- Kd: 150.98
Adjusting the Firmware
- In Pronterface, DISCONNECT from Gigabot, close Pronterface, and RESTART Pronterface.
- Connect to your Gigabot.
- In Pronterface, type the following into the data entry box at the lower right corner: "M301 H1 P(your Kp value) I(your Ki value) D(your Kd value)".
- It should look like this using the example above: "M301 H1 P50.03 I1.98 D150.98" This will TEMPORARILY change the current settings for the temperature controller.
- In Pronterface, type the following into the data entry box at the lower right corner: "M500" and press Enter. This will make changes permanent.
- In Pronterface: Set hot-end temperature to 200C and watch the temperature overshoot the target temp slightly, undershoot slightly, and then settle onto the target temp within 1-2 deg.
Important: With versions of Marlin prior to 2.0.6, the PID values that are set will be used for both extruders. In other words, you can not tune each extruder separately and have PID values for each hot end. You can follow the same instructions for the Single Extruder tune.