Universal High-Power LED Driver – Firmware update using PIC16F1823

Here’s the updated firmware for my Universal High-Power LED Driver.

This version has on-board current set up function, so you can change the drive current without re-programming the PIC microcontroller.

You can either download the ZIP file containing the while project, or just the HEX file.
LED Driver
After upgrading your firmware, you can change the drive current of the LEDs connected to the driver by using the buttons on board.
Here are the steps:

  1. Connect the LEDs and power up the unit.
  2. Turn the dimmer knob all the way to the left/counter-clockwise. LEDs will be dim.
  3. Push both buttons and hold for a second, until the status LED starts blinking.
  4. The number of blinks shows the current level: 1=350mA, 2=700mA, 3=1,000mA, 4=1,400mA (apox.).
  5. Push right button to up the current, left button to lower the current. (You can move the dimmer knob to see how the LEDs light up during this process.)
  6. Push both buttons again for a second to get out of the config mode. Status LED will stop blinking.
  7. The setting is now stored in the non-volatile memory (EEPROM).

You can change the current setting as many times as you want

 

For more detail: Universal High-Power LED Driver – Firmware update using PIC16F1823

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter