Basically, I am designing a switched mode power supply that is controlled via a microcontroller. Is it fine to measure the output voltage via an adc and respective voltage divider and then output a pwm to a mosfet driver to control the supply or am I missing something?
I'll also use current control, but thats for later.
I'll also use current control, but thats for later.