# How do I calibrate temperature control in a Repetier firmware?

I have built a 3D printer using RAMPS 1.4. I am trying to raise the hotend temperature over 180 °C. But I can hardly get to 100 °C in 60 minutes. I applied power directly to the heater and I was able to get to 220 °C in about 15 minutes. What am I not doing right? Currently I think the PID isn't correctly calibrated. How do I do that with the Repetier firmware?

P.S. I tried PID tuning but end with an error on timeout.

• Welcome to 3DPrinting.SE! – Pᴀᴜʟsᴛᴇʀ2 Mar 22 '19 at 19:53
• You have problems with your sensor or is selected the wrong type sensor; is possible to reach the temperature in less than 5 minutes if settings are correct. – Fernando Baltazar Mar 29 '19 at 17:58

PID settings can be set not only by uploading a modified firmware version (configuration file), but also by sending commands to the printer over serial terminal connection (e.g. Repetier host, OctoPrint, Pronterface, etc.) or stored in a G-code file and executing it ("printing"). The G-code command to set the PID values is M301. The relevant parameters are: