# Hotend PID tuning method?

**URL:** <https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778>\
**Category:** Snapmaker 2.0 (3-in-1)\
**Created:** [July 9, 2021, 6:30pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778 "2021-07-09T18:30:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MooseJuice](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/moosejuice/32/10684_2.png) [@MooseJuice](https://forum.snapmaker.com/u/MooseJuice)\
**Post date:** [July 9, 2021, 6:30pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/1 "2021-07-09T18:30:40Z")

</div>

New patch, new toys!

New patch lets you tune the hotend pid

- Support “M301” G-code for setting up Hotend PID.
  - Parameters
    - [P] [I\<Value\>] [D] for setting up Hotend PID

Lets discuss how to come up with the optimal values for this?

I know Teaching tech has an auto tune guide but apparently this is manually only at this time, per the notes.

I dont really suspect a tremendous difference, but would like to optimize everything i can!

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [July 9, 2021, 6:35pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/2 "2021-07-09T18:35:44Z")

</div>

Marlin has a autotune routine, this worked pretty fine on my original.

---

<div class="post-metadata">

**Author:** ![SabinSnorlax](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/sabinsnorlax/32/24335_2.png) [@SabinSnorlax](https://forum.snapmaker.com/u/SabinSnorlax)\
**Post date:** [July 9, 2021, 7:19pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/4 "2021-07-09T19:19:24Z")

</div>

Maybe I haven’t looked through the 3DP topics carefully enough, but I don’t recall mentions of the temperature fluctuating or otherwise being inaccurate.  
So even though there might be some potential to improve the PID parameters, I’m not sure if this will really impact print quality.  
Perhaps this is more relevant for a planned dual-extruder expansion?

---

<div class="post-metadata">

**Author:** ![MooseJuice](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/moosejuice/32/10684_2.png) [@MooseJuice](https://forum.snapmaker.com/u/MooseJuice)\
**Post date:** [July 9, 2021, 8:08pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/5 "2021-07-09T20:08:22Z")

</div>

maybe, but i dont think my hotend gets as hot as it purports to.

---

<div class="post-metadata">

**Author:** ![NilartPax](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/nilartpax/32/3681_2.png) [@NilartPax](https://forum.snapmaker.com/u/NilartPax)\
**Post date:** [July 9, 2021, 9:27pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/7 "2021-07-09T21:27:26Z")

</div>

My cheapo thermal imager can’t ever get a good read on the hotend. 🤔

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [August 1, 2021, 5:23pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/8 "2021-08-01T17:23:37Z")

</div>

Recently i tried pid autotuning marlin command (M303 C5 E0 S240), it doesn´t work.

After that i saw the pid values set up in the firmware and was wondering:  
M301 P13.00 I0.02 **D106.25**  
In a older firmware release (where pid was not enabled) it was set to:  
M301 P13.00 I0.10 D17.00

There is a huge difference in the two sets of D. The new value makes for me a difference of 3.5°C if i turn the fan on (M106), the old value to about 2°C.

Even the heating needs so much longer with a D of 106.25.  
I guess this D and no autotune are kind of a bug.

I set my machine to the old M301 P13.00 I0.10 D17.00 and it works better with this…

---

<div class="post-metadata">

**Author:** ![dstarke](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@dstarke](https://forum.snapmaker.com/u/dstarke)\
**Post date:** [August 19, 2021, 8:07pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/9 "2021-08-19T20:07:33Z")

</div>

I tried both values, the old and the new one. I found no visual differences with PLA+. But the readings on the touch screen were quite different. Printing at 220°C I got values of 216…224°C with the old settings and 219…220°C with the new settings during extrusion. I will stick to the new values as these seem to give me more stable results.

Just to make sure there is no confusion about this:  
Old settings: `M301 P13.00 I0.10 D17.00` (FW 1.10.1)  
New settings: `M301 P13.00 I0.02 D106.25` (FW 1.12.2)

---

<div class="post-metadata">

**Author:** ![Blackavid](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Blackavid](https://forum.snapmaker.com/u/Blackavid)\
**Post date:** [January 11, 2025, 12:01pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/10 "2025-01-11T12:01:11Z")

</div>

Hi all! After years there is still not PID Autotune working as it seems. My printer doesn’t give anything back and I can’t read the values.

In this thread here I discussed the problems with my inconsistencies and I only found the reason to be the fluctuating temperature which was jumping up and down 4deg around the setting point (197-202deg)

> [@Inconsistent Layerlines](https://forum.snapmaker.com/t/inconsistent-layerlines/38396/4):
>
> Hi all! So yes the feeder is clean so far. I also suspected the Wear of the feeder wheel but for me it seems to grip enough. What I suspect is the temperature swinging around the set point for ±2deg. Support tells me that it is totally normal. I put some thermal paste into the heat blocks hole for the heating cartridge, Sensor is properly attached, nozzle is a Phaetus Tungsten 0.4mm nozzle but the problem occurs also with other hotends. Sadly I can’t modify the PID values or run an autotune. …

Now from this thread I took the D106.25 value from FW 1.12.2 saved them into the EPROM. E voila- the Benchy looks way more consistent. It takes longer to reach the exact temp of lets say 210- it comes to 209, stays for some minutes and then gradually hops to 210 until it almost stays there the whole time

For me this is the reason to say: WE NEED PID AUTOTUNE

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [January 11, 2025, 9:57pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/11 "2025-01-11T21:57:14Z")

</div>

> [@Blackavid](#):
>
> My printer doesn’t give anything back and I can’t read the values.

When you say it doesn’t give anything back, do you mean in the command terminal? What are you using to send commands?

(Luban terminal doesn’t work for getting replies.)

---

<div class="post-metadata">

**Author:** ![Blackavid](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Blackavid](https://forum.snapmaker.com/u/Blackavid)\
**Post date:** [January 12, 2025, 7:46pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/12 "2025-01-12T19:46:24Z")

</div>

Oh does it? Yes I was using the Luban Terminal for giving commands.  
Which Interface can be used instead? Prompterface or something and then connect via Cable?

Does the normal AutoPID command works in general?

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [January 12, 2025, 7:48pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/13 "2025-01-12T19:48:57Z")

</div>

I don’t know about the SM2.0. But I do know they added PID tuning commands to the J1 this year.

And yes, you need to use Pronterface or something, connected to the back USB port. On the J1, at least. I dunno how folks get a two-way terminal on the 2.0.

As you were trying to do, you need to run the command, then set the PID parameters and save them to ROM. This year they later added an actual PID tuning button the J1 screen interface even.

In any case, you will for sure not get any useful responses using the Luban terminal! 😅

---

<div class="post-metadata">

**Author:** ![Mxbrnr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/mxbrnr/32/27569_2.png) [@Mxbrnr](https://forum.snapmaker.com/u/Mxbrnr)\
**Post date:** [January 13, 2025, 11:15pm UTC](https://forum.snapmaker.com/t/hotend-pid-tuning-method/19778/14 "2025-01-13T23:15:40Z")

</div>

The Luban terminal does work actually, but only for certain commands. Some limited responses can be obtained over WiFi, with more only available when connected via USB.
