CMP - United Business Media TechOnline
All Articles Products Courses Papers VirtuaLabs Webinars Web



 
LoginRegister
      TechOnline > Electronics Company Directory > Technical Paper
Technical Papers
Software PWM Generation for LED Dimming and RGB Color Applications

Click to Download
pdf logo
Application Note
320 KB (22 pages)
February 16, 2007
 

Parthiv Pandya
Microchip Technology

Pulse-width modulation is an effective way to control the brightness of LEDs. 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. This application note describes a software solution that generates one or more pulse-width modulated (PWM) signals using a PIC microcontroller (MCU). As a demonstration, the software PWM solution is 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. The RGB demonstration has a wide range of applications, including automotive interior lighting, architectural lighting, and LCD display backlighting.

 
Rate this paper
WORSE | BETTER
1 2 3 4 5

submit a paper

Microchip Technology
   

TECH PAPER
1. Use Rowley CrossWorks and the MAXQ3120 Evaluation Kit to Create a Light Meter Application

TECH PAPER
2. System ACE Configuration Solution for Xilinx FPGAs

TECH PAPER
3. Interface Products Design Guide

TECH PAPER
4. Maintaining Data/Clock Synchronization with Spread-Spectrum EMI Reduction