Emile666 / stc1000_stm8

STC1000p for the STM8 microcontroller (HW version WR-032)
GNU General Public License v3.0
45 stars 10 forks source link

PID for peltier #17

Closed JasperBFH closed 9 months ago

JasperBFH commented 9 months ago

Hi,

I am developing a PID temperature controller for controlling temperature using a peltier element and an H-bridge. The H-bridge is controlled using 2 PWM signals. Heating is faster than cooling, so 2 PID controllers are needed because the parameters are different. I used your PID code, but Kc is never set in the software?

Furthermore, can you give me a tip how I can heat from 10 to 15 degrees and then stay at 15 degrees and the temperature does not rise due to room temperature