Development and Simulation of a Low Cost Closed Thermal System to Generate Thermal Cycles through PID Control and IoT Applications