News & Articles

PyroEDU
Get started learning to build your own electronics by following our FREE online courses below!
Learn More »

Categories

Sponsors

Build Like A Pyro!
Find many of the parts used on this site at our favorite online electronics shop
Take Me To The Gadgetory!


MCM Electronics Daily Deal and Bulk Bargain

Fading LEDs via PWM

Posted January 19, 2012 by Chris

A very neat feature that PWM (pulse with modulation) offers is being able to control the brightness level of LEDs. By varying the duty cycle percentage, we can control the exact brightness of any LED. This article takes you through a simple example design step-by-step using a PIC microcontroller. The end result is an LED controller that can set an LED to 100 unique brightness levels.

One Response to “Fading LEDs via PWM”

  1. ravannazeer Says:

    I interestingly red.You have explain step by step clearly but the main part is not explained.you have explain in 2,3 places about diagram & components but those can easily understand,when come to coding (main main interesting part)nothing is explained so I lost the interest.Please be kind enough to explain the coding otherwise this article will be useless for beginners.

Leave a Reply