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

  • KH: IMHO PCA9685 is not a really good part for this application. It's a PWM LED driver for goodness' sake. NXP _does_not_ mention servos in the...
  • KH: So it's a servo library designed by a software guy, or a library targeted at embedded newbies, or a learner bike. Given the design of...
  • Max: A thing I wish I knew getting into Arduino-controlled servos is that the typical "180 degrees" servos DO NOT move 180 degrees for the standard...
  • Max: I have certainly noticed certain suppliers (like Adafruit, Pololu) being... "western-facing" - which is another way to say their prices definitely aren't Eastern Europe compatible,...
  • Shawn: Hello