Why not just PWM all the way to the LEDs? Then you don't need a regulator. -- Bob Ammerman RAm Systems=20 -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of David Duffy (AVD) Sent: Thursday, January 17, 2013 12:36 AM To: Microcontroller discussion list - Public. Subject: Re: [PIC] Simple PWM Regulation On 17/01/2013 3:06 PM, Bob Axtell wrote: > This is really a stepdown regulated power supply project. You will=20 > need a good MOSFET, a fast diode, an inductor, a low ESD capacitor,=20 > then a pic10fxxx to drive everything. The PIC will charge the=20 > inductor, then the inductor will charge an output capacitor according=20 > to the PIC's A/D value. Another A/D input will have to be a reference=20 > voltage input, such as two 1n4148's in series. > > You might take a look at Roman Black's regulator, if I remember=20 > correctly, it is very close to what you need. Will those solutions let me run the input right down to the target voltage though? (12V out when input drops to 12V) I was thinking the PWM should allow Vout to be the same as Vin (except for the MOSFET loss) when the PWM is at 100%. David... -- ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membershi= p options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .