Introduction - If you have any usage issues, please Google them yourself
This is a typical PID process, using the microcontroller as a control in the cpu, make some simplifications, the specific PID parameters must be experimentally determined by specific objects.