On Wed, Feb 22, 2012 at 11:03 PM, V G wrote: > On Mon, Feb 13, 2012 at 6:35 AM, wrote: > >> For extra brownie points make a project out of a PIC that has a 12 bit >> ADC, and a keypad for setting the voltage, and maybe also current limit, >> and be able to display both current and voltage. >> > > Sounds like my next project. I should be able to get the PIC to drive a > switched mode power supply with its PWM, but I don't know how to make a > switched mode power supply and how to calculate the PWM values and stuff = to > create voltage/current/whatever. > > Any hints? I think the previously mentioned EEVblog series on power supplies should do the trick, of which episode 4 addresses PWM: http://www.eevblog.com/2011/12/07/eevblog-225-lab-power-supply-design-part-= 4-pwm-control/ -Eric --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .