Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Power/Alternative Energy
?
?
Power/Alternative Energy??

Software PWM generation for LED dimming and RGB color applications

Posted: 13 Aug 2007 ?? ?Print Version ?Bookmark and Share

Keywords:software PWM signal? LED dimming? color application?

It is convenient and sometimes more practical to use a microcontroller (MCU) that has dedicated pulse-width modulated (PWM) peripherals for these types of applications. However, a software PWM solution allows a less expensive MCU to be used if the frequency and resolution requirements for the application are not too high. Furthermore, the software solution could be used to provide additional PWM channels if the number of PWM peripherals on the MCU is not sufficient.

PWM is an effective way to control the brightness of LEDs. As a demonstration, the software PWM solution will be applied to control the color output of an RGB LED (OPTEK model OVSTRGBBCR8). By generating three software PWM signals red, green, blue or any mix of color, can be generated.

Recent advances in LED technology have allowed LEDs to be used as efficient sources of illumination. The RGB demonstration has a wide range of applications, including automotive interior lighting, architectural lighting, and LCD display backlighting.

This application note describes a software solution that generates one or more PWM signals using a PIC MCU. PWM control signals are widely used in embedded control applications for a variety of tasks that include light dimming, motor speed control, output voltage control, and communication between devices.

Please view the PDF document for more information.




Article Comments - Software PWM generation for LED dimm...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top