牛卧堂MCU技术交流

标题: [NUC240] ADC, PWM with PID Control [打印本页]

作者: admin    时间: 2022-5-23 16:28
标题: [NUC240] ADC, PWM with PID Control
The PWM CH4 waveform to filters output the DC voltage via the RC filter circuit, the voltage is read by the ADC CH1, and the feedback voltage is gradually adjusted to a predetermined value using the PID controller. The code preset is SET = 1.5V for target voltage.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1217115659





欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2