Site icon Circuit Ideas for You

Random LED Number Generator Circuit

This circuit is for simple Random LED Number Generator Circuit using IC CD4017 decade counter and IC CD4011 NAND gate.

It works on 9V power supply and the LEDs in the circuit represent the numbers.

When we press the switch, one LED remains ON, because the counter runs very fast and the final LED looks random.

Therefore, this circuit works like an electronic dice which is simple to build and is useful for games, school projects and learning digital electronics.

Circuit Working:

Random LED Number Generator Circuit Diagram

Parts List:

ComponentsSpecificationQuantity
Resistor1k 1/4 watt2
Capacitor Electrolytic 4.7uF 25V or higher1
SemiconductorsIC CD4017 Decade Counter1
IC CD4011 Quad NAND Gate1
LED 5mm any color10
Push Button Switch1
Power Supply 9V Battery or 9V DC Adapter1

At first, when power supply 9V is given the IC CD4011 then NAND gate starts working.

Two NAND gates are connected as astable multivibrator and therefore, it produces continuous clock pulses, the speed of pulses depends on resistor R1 and capacitor C1.

If R1 value increases then the speed becomes slow and similarly if C1 increases then delay becomes more.

Now these clock pulses go to pin 14 of CD4017 and this CD4017 is decade counter IC which has 10 outputs from Q0 to Q9.

Initially, Q0 becomes HIGH then first LED turns ON and when next clock pulse comes, Q1 becomes HIGH and previous output becomes LOW.

As a result, second LED turns ON and in the same way the LEDs glow one by one from LED1 to LED10.

After Q9 the counter resets automatically to Q0 and thus the cycle repeats continuously.

Reset pin is connected properly so counting remains from 0 to 9 and therefore, smooth chasing effect is obtained.

How to Build:

To build a Random LED Number Generator Circuit following are the steps we require for connection:

Conclusion:

This Random LED Number Generator Circuit is simple and low cost project.

It uses very common ICs and therefore, it is best for beginners and students.

Also, circuit is easy to build on breadboard and by changing resistor or capacitor value the speed can be adjusted easily.

Finally, this project helps to understand counters and oscillators clearly and so it is good basic electronics learning project.

References:

Datasheet IC CD4017

Datasheet IC 4011

Exit mobile version