Hello,
Here is a graduation project to have 10 volt input into a buck converter (step down), where the output is connected to the microcontroller through ADC as a feedback, so any variations of output (load change or whatever) than stated by the reference set by the user the microcontroller...