Vernier Software and Technology
Vernier Software & Technology

LED Color Mixer


LEDs (Light Emitting Diodes) are long-lasting light sources made from a special semiconductor material that converts electrical current directly into light. Unlike incandescent lamps that emit broad-spectrum white light (all the colors of the rainbow), LEDs emit a small wavelength range that appear as a single color. In the human eye, the receptors that interpret hues of color are called cones. Cones can be classified into three basic types based on their responsiveness to long, medium, and short wavelengths, or red, green, and blue color. A 3-color LED (sometimes called an RGB LED) emits the three colors of light (red, green, and blue) that trigger the cones in the eye. A RGB LED actually contains three individual LEDs encased in one shell. It looks like a single LED with four leads or wires – one for each color and a fourth lead for the common ground. Additional colors can be perceived by the human eye when the individual LEDs are illuminated simultaneously in different combinations.


In this Project, you will build a circuit and write a LabVIEW program to illuminate the three different colors of light (red, green, or blue) in a RGB LED. The user should be able to select any one of the three colors by name from a front panel control and be able to turn off all three colors while the program is running. Since LEDs can be destroyed if too much current flows through them, you should wire each of the three leads in series with three current-limiting resistors.

Sensors and Equipment

This project features the following Vernier sensors and equipment.

Additional Requirements

You will also need

Engineering Projects with NI LabVIEW and Vernier

See other experiments from the lab book.

1Build a Temperature Sensor
2Digital Control Systems
3LED Color Mixer
4Hot Wire Anemometer
5DC Motor Control
6Light Intensity & Stepper Motors
7Servo Motors
8Analyzing the Heart with EKG
9Blood Pressure
10Strain Gage Measurements
11Propeller-Powered Pendulum
12PID Ping Pong Ball Levitation

Project 3 from Engineering Projects with NI LabVIEW and Vernier Lab Book

<i>Engineering Projects with NI LabVIEW and Vernier</i> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top