Hot glue guns are pretty simple beasts: there’s an on/off switch, a heating element, and a source of current, be it battery or wired. You turn it on, and the heater starts warming up; ...
The ABCs of PID control. Considerations for interfacing elements in the electrical circuit to accomplish those parts of the PID function for position control. Firmware code implementation.