10 LED Projects for Geeks: Build Light-Up Costumes, Sci-Fi Gadgets, and Other Clever Inventions

10 LED Projects for Geeks: Build Light-Up Costumes, Sci-Fi Gadgets, and Other Clever Inventions — page 7
Figure 2 A bicolor LED has two LEDs connected anode-to cathode A bicolor LED contains two LEDs in the same two-lead package typically with the individual LEDs connected anode-to-cathode as shown in Figure 2 Usually the two LEDs have different colors enabling the circuit to display two different colors using only two leads For example if cur rent travels through the circuit from left to right the lower LED turns on If current travels through the circuit from right to left the upper LED turns on Another fun type is the candle flicker LED which contains a small computer chip that turns the LED on and off in a flickering pattern designed to emulate the natural flicker of a candle You’ve probably seen these LEDs at fancy restaurants or wedding receptions or anywhere you want to have the ambiance of a candle without the risk of fire red-green-blue lED The red-green-blue RGB LED packages three LEDs into one and actually allows you to create a whole spectrum of colors not just red green and blue For example you can combine red and green light to make yellow green and blue light to create cyan and red and blue light to make violet Mixing all three colors of light at the same intensity produces white light By combining these three colors of light at varying levels of brightness for each individual color you can make millions of colors this is the same method your TV and phone use to display full-color images Usually to vary the brightness each color is switched on and off very rapidly which tricks our eyes into seeing each color at a different level of intensity The simplest RGB LED has four connec tions one for each of the three colors plus one connection common to all three LEDs This common connection can be either a common anode CA or common cathode CC which describes the internal connections of a four-pin RGB LED Figure 3 shows a diagram of the connections of a common anode RGB LED 5 i n t rO d u c t i O n