News & Articles

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



Build Like A Pyro!
Find many of the parts used on this site at our favorite online electronics shop
Take Me To The Gadgetory!
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.

9 Responses to “Fading LEDs via PWM”

  1. ravannazeer Says:

    I interestingly red.You have explain step by step clearly but the main part is not 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.

  2. Louanne Thackrey Says: is among the world wide leading manufacturers not to mention dealers associated with hardwood and softwood stile and then rail doors, and door components, visit for more offers.

Leave a Reply