App note: High power LED driver with PIC12F675

Posted on Saturday, September 15th, 2012 in Uncategorized by DP

A current controlled buck converter for driving high-power LEDs. The PIC12F675 microcontroller has an integrated comparator, which in combination with a low pass filter provides a control circuit for the SMPS.

The circuit is based on a buck topology switching power supply using the on-chip comparator peripheral within the PIC12F675 microcontroller. The switching power supply design ensures efficient power transfer between the system battery and the output LED. Using the attached Flash microcontroller as a control for the driver circuit expands the capability of the circuit to include intensity control, automated intensity compensation for low battery conditions, and the ability to playback preprogrammed Flash sequences. The Flash microcontroller also allows the creation of a custom PC-based graphical user interface, using the PICkit Flash Starter Kit for programming the preprogrammed Flash sequences. The combination of the switching power supply design and the microcontroller results in an efficient circuit with advanced automated features while keeping the circuit simple and inexpensive.

This entry was posted on Saturday, September 15th, 2012 at 1:00 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “App note: High power LED driver with PIC12F675”

  1. Jarek says:

    I made turn signal lamps for my brother’s motorbike using circuit presented in this application note. I used 3W white LEDs as a light source, LM339 comparator and a PMOS transistor from Vishay. I must say it works pretty fine and it has never failed. The ripple current is very close to the calculeted one using equations given there. If you are looking for a cheap and reliable (to some point) circuit – just use it.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Nathan Johnson: 100 channels. Not many are legal in any given area. Be sure to comply with local laws.
  • William Brodie-Tyrrell: It's getting to the point where it's cheaper and definitely easier to use a Pi Zero or similar and a $20 3G USB dongle. Power...
  • KH: IIRC most of the actual operating system of modern HDDs is in one of the platter(s); the stuff on the 25VF010 is a bootup firmware......
  • Trev: I don't know of any inexpensive 3G modules (prices start around $US 50), but it does explain why 2G modules are relatively inexpensive by comparison....
  • Zonie: This site Rocks!