Sunday, November 17, 2024

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages

Seven-Colour LED Lighting

Presented here is a simple circuit that uses six red, green and blue (RGB) LEDs to generate a running-light effect in seven colours—blue, green, red, cyan, yellow, magenta and white. The RGB LEDs have four pins, one for each colour and a common cathode. Different colours can be produced by mixing the primary colours (i.e., red, green and blue).

Fig. 1: colours produced by three basic colours
Fig. 1: colours produced by three basic colours

Circuit and Working

The circuit diagram for the seven-colour LED lighting is shown in Fig. 2. The circuit is built around timer NE555 (IC1), decade counter CD4017B (IC2), four-bit binary counter 7493 (IC3), driver IC ULN2003 (IC4), six RGB LEDs (RGB1 through RGB6), three BC547 transistors (T1 through T3) along with some basic components.

Circuit of seven-colour LED lighting
Fig. 2: Circuit of seven-colour LED lighting

The timer IC NE555 (IC1) is wired in astable multivibrator mode. It provides low-frequency clock pulses, the frequency of which is decided by timing components R1, VR1 and C2. The frequency of the timer can be varied using the preset VR1.

- Advertisement -

The output of IC1 at pin 3 is fed to decade counter CD4017B (IC2). IC2 has ten outputs, which go high in sequence when a source of pulses is connected to its CLK input (pin 14). Q0 through Q5 of IC2 are connected to IN1 through IN6 of IC4. Pin Q6 of IC2 is connected back to its reset pin 15 and input pin 1 of IC3 via diode D1. When Q6 pin of IC2 goes high, it resets IC2 and, at the same time, provides the high input clock to IC3 each time after the sixth clock of IC1.

BZD_table1

- Advertisement -

IC3 is a four-bit binary counter, and its outputs QB through QD are connected to the bases of transistors T1 through T3 via resistors R21 through R23, respectively. The binary outputs of IC3 make corresponding transistors conduct and select a different colour after each cycle (see Table I).

The common-cathode pins of each RGB LED are connected to the outputs of IC4 as shown in Fig. 2. ULN2003 is used for driving these LEDs. You can add even more RGB LEDs in parallel to the existing ones to make a larger lighting system.

The working of the circuit is simple. When the circuit is switched on, the clock pulse is generated from pin 3 of the timer IC1, making outputs of IC2 high, sequentially, which decides the switching rate of LEDs that can be changed through VR1. The colours are selected by the binary output of IC3, which changes after every sixth pulse from IC1.

Construction and testing

A single-side PCB for seven-colour LED lighting is shown in actual size in Fig. 3, and its component layout is shown in Fig. 4. After assembling the circuit on a PCB, enclose it in a suitable case. You can wire LEDs the way you like and connect on the PCB. The circuit uses a 5V DC supply.

Fig. 3: A single-side PCB layout in actual size for seven-colour LED lighting circuit
Fig. 3: A single-side PCB layout in actual size for seven-colour LED lighting circuit
Fig. 4: component layout for the PCB
Fig. 4: component layout for the PCB

Download PCB and component layout PDFs: click here

To test if the circuit is functioning properly, check the input supply at TP1 with respect to TP0. The output pulses generated by IC1 can be checked at TP2 with the help of an oscilloscope. The frequency of these clock pulses can be varied by VR1. The clock pulse to the binary counter IC3 can be checked at TP3.

127_test


Riju Thazhathu Veettil is R&D engineer at Technonics R&D Lab, Malappuram, Kerala

2 COMMENTS

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Electronics News

Truly Innovative Electronics

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics