On 17/01/2013 2:18 PM, David Duffy (AVD) wrote: > I have the need to regulate the voltage going out to some LED strips. > These strips are simple 12V DC types that have 3 LEDs and a resistor per > section, repeating throughout the strip. > > The voltage available is nominally 12V, but can vary between 12V and > 14V. The ability to handle up to 18V input is also desired by the > client. The current draw of the LED load is approx 3 Amps. > > My next thought was to use a PIC12 to PWM a logic level MOSEFT and use > the A2D in the PIC to sample the output voltage via an R/C network. In > theory this will allow me to regulate the output and even allow for a > dimming function to be offered as an option. Whilst sketching this out another thought popped to mind. Since the=20 load is fixed, is there any reason not to use the A2D to sample the=20 input voltage and just PWM the output inversely proportional to that? =20 (feed-forward instead of feedback) David... --=20 ___________________________________________ 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 ___________________________________________ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .