Hi everyone, first forum post
I was trying out several circuits in order to have digital control of a power supply. The first method I tried was extremely non-linear (PWM output of the ATMega328 compared to the output voltage), and this made the programming v. difficult. It was done by using a number of transistors to amplify the voltage and current of the PMW or DAC to be able to vary the output voltage. Sadly, I cant find the schematic, I will post a link of where I found it soon.
Basically, my program consists of a voltmeter, ammeter sketch along with 6 control buttons (Current +,-, Voltage +, -, etc.). I wanted to see whether I could feed in a voltage from the ATMega328 PWM output (filtered of course) to the feedback pin of a very popular switching regulator, the LM2576. So I proceeded to buy one of those cheap LM2576 DC-DC buck converter boards from eBay. However, as I dialled up the voltage using the potentiometer on the board, the feedback pin maintained a constant voltage.
Thanks