标题: [NUC240] ADC, PWM with PID Control [打印本页] 作者: admin 时间: 2022-5-23 16:28 标题: [NUC240] ADC, PWM with PID Control
Application: NUC240 uses PID Controller to adjust PWM output DC voltage in RC filter and read ADC value.
BSP Version: NUC240 BSP CMSIS v3.01.001
Hardware: NuEdu-EVB NUC240 V2.1 with NuEdu-Basic01 V2.0
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.