3 Electronic dice circuit with 7 segment display using CD4017

Let’s see some toy circuits. These are electronic dice circuits. Which looks like real dice. We use only the press switch being thrown. Although this is the high-tech toys. Such as Game PC, Tablet so expensive. But this projects an enchanting are: To start creating your own. Make family time together creatively. My son is always excited when creating these projects.

How electronic dice using ic 4017 works

For playing that when we turn on the power supply to the circuit. The LED will glow at either portion, from 1-6 LED, as a place of real dice. When we press the switch, all LED(7 LED) will flash jointly, with high-speed up.

But when we release switch, LEDs will stop flash, then either led glow. Maybe since 1-6 LEDs as a form of the dice.

In pressing switch each time, it will not glow in the same position always. It will light at any point with uncertainty. Therefore resembles much throw dice.

The principle of the circuit

From the circuit in Figure 1 will see that the circuit separated are 3 main sections. There are: the frequencies generator, the frequencies counter, and LED display. Electronic dice circuit using CD4017

Figure 1 The electronic dice circuit In the frequencies, counter include two transistors and some RC circuits. They are set as high frequencies generators about 62 Hertz.

Then, will be a normally open pushbutton to connects signal from the first sector to the second sector. By the frequency counter which is used as CD4017 is the counter.

Normally this IC number will be Decade counter with 10 decoded outputs IC.

But in at this, we joint pin 5 and 15 together.

Then, taking output at pin 7 to reset pin 15 as soon as pin 7 has an output in a fraction of a second. It will reset the IC, to move the output to pin 3 that is the first position.

Therefore, the output that we have really just 6 volts only. And every time that we press switch-SW1. Next, IC1 will change the output position to emit.

For in the third sector is a display of this circuit is set as the matrix diode. The matrix diode act as a divider output signal of IC to each place of LEDs from 1 to 6 LEDs.

But why use 7 LEDs, because of the position of the LED dice like that. Especially at 1, 3, 5 pts. If using LED just 6 LED only will cause LED is not the center does not look beautiful, so, so I added another one.

The components List

IC1: CD4017: Decade counter with 10 decoded outputs IC LED1-LED6: LED as you need to see text Q1,Q2: C1815, 45V 100mA NPN Transistor D1-D9: 1N4148, 75V 150mA Diodes C: 10uF 16V, Electrolytic capacitors C: 1uF 16V, Electrolytic capacitors 0.25w 5% Resistors R1: 2K, R2: 10K R3: 100K Others -PCB, 9-volts battery, wires, and others. Etc. Note: See Electronics Components Stores. You may get what great things.

Construction

This circuit used PCB copper foil track layout as Figure 2. on actual-size for Solder side. Then, assemble all components to PCB, as Figure 3 the component layout (top view). By small size before the same general projects. printed-circuit-board-copper-foil-track-layout Figure 2 Printed circuit board copper foil track layout of this project. (actual-size) printed-circuit-board-copper-foil-track-layout Figure 3 The components layout of the PCB. When finished assemble, then check the correctness all again.

Next, so insert IC1 into the socket IC. Then later, you apply the supply voltage to this circuit, will see the LED lit up maybe any LEDs.

Next, press switch, each time, LEDs will grow to switch the place continuously by unique. If try to do, then get results like this, so are correctly to use.

You may like to Learn :

This is an electronic dice circuit, normally will get the energy from a 9-volt rectangular battery. But can also use supply voltage between +3V to +15V, by still work normally. The resistors all in-circuit use the power size of ¼ Watts. The LED will be used as a green switch red or all red as you like it.

Note: This IC-No. CD4017, many company product sales. Which the letter begins may be different. But has a number- 4017 It can be used as well, such as CD 4017, HEF 4017, MC1 4017, HD 4017, since as the same number.

What is more? I have other ideas. If we have a 7 segment LED display we can get like this. See below!

Digital dice circuit using 7 segment display

This dice digital circuit would be a favorite of everyone, by using it to display the numbers. When you switch to a spin button or it like is tossing a dice. Looks like a random form normally. Digital Dice circuit A heart of this circuit, an astable oscillator 1Khz with IC 555 and RC networks,it will be output to IC2 is Decade counter IC – 4017.

When I turn off the spin switch, it will be converted to a binary input with a diode matrix D1-D9 (1N4148 or number 1N914). And then changed to a 7 segment display with a decoder drive IC No. CD4511 (IC3).

The brightness of the numeric display may be customized by adjusting the value of R3.

Random counter circuit with 7 segment display using basic digital IC

I am going to show you a fun digital learning. Here is a random counter circuit with 7 segment display using basic digital IC.

Even though many people are interested in Arduino. Because we can use it in a variety of ways. But basic digital IC education, It’s interesting as well.

Sometimes we don’t need to use a lot of resources for small jobs. Imagine, how do you mow the lawn in the front yard? Scissors or large tractor.

So what? Basic simple circuit working.

Learn digital with 0-9 counter

They will show the random nature of the LED 7 segment. You will enjoy this project. It is suitable for digital counter learning.

When we press holding the switch. The numbers change rapidly from 0 to 9 all the time. Until the switch is released. Numbers will stop at either. Such as 5 etc.

It uses three TTL digital ICs as main components:

  • SN74LS47: BCD-TO-SEVEN-SEGMENT DECODERS/DRIVERS
  • SN74LS90 BCD Counter Circuit
  • NE555 timer.

All Parts used in this circuit are easily available in most of the local stores.

block diagram of Random counter circuit with 7 segment display using basic digital-IC

If you still do not get ideas. Let’s continue to look at the circuit.

How this circuit works

Random counter circuit

Look at the circuit above. IC1(NE555), R1, R2, and C2 are an Astable. multivibrator circuit. To generates a Square Wave signal out of pin 3 of IC1.

Related: 2 Coin toss Game circuits diagram

Then, the signal comes to pin 14 of IC2(SN74LS90). It acts as a decade counter circuit.

Next, the output of IC2 sends to the input pin of IC3(SN74LS47). The IC3 serves as a BCD to 7−Segment Decoder/Driver. To drive a 7-Segment LED display in a common anode.

It can display the numbers 0 through 9.

Test the circuit

Working start with. When pressing S1. A stable Astable multivibrator circuit products a rectangular or square Waveform. It results in a 7-Segment LED Display is a number 0 to 9.

We will see it in order from 0 to 9. And starting at 0 new again. In which it will function continuously. The speed of the display depends on the frequency of the multivibrator circuit itself. We can change its frequency by VR1.

At the same time. When pressing S1. The current charge in C1 to full, too.

After that, we released S1. The C1 discharge is current to VR1, R1, R2, C1. It causes the oscillator to run in short. We see the counter runs 7 segment display in short, as well.

Read next: IC 4017/CD4017 Datasheet | Pinout | 15 example circuits

Parts you will need

0.25W Resistors, tolerance: 5%

  • R1, R2: 3K
  • R3: 5K
  • R4-R10: 300Ω

VR1: 100K   Trimmer Potentiometer

Ceramic Capacitors

  • C2: 0.082µF  50V
  • C3: 0.01µF  50V

Electrolytic Capacitors

C1: 47µF  25V

Semiconductors and others

  • IC1: NE555, Standard Timer Single 8-Pin Plastic Dip
  • IC2: SN74LS90, Decade counter
  • IC3: SN74LS47, BCD to 7−Segment Decoder/Driver
  • 7-Segment LED, common anode
  • S1: Normally OPEN Pushbutton switch
  • 5V Power supply

Check out these related circuits, too:

CR: photo by SenMod

Here are a few related circuits you may find helpful, too:

Related Posts

GET UPDATE VIA EMAIL

I always try to make Electronics Learning Easy.

This Post Has 13 Comments

  1. hello again 🙂
    i am planning to use this dice circuit for my airsoft firing range so i can randomize targets 🙂

    questions:
    1. is 6 LEDs the maximum, or can it be increased? if so, how?
    2. can you incorporate an electronic switch to each LED such that the electronic switch is ON when the LED is lit?

    thanks.

    1. Hi i have used ic555 and cd4017 for electronic dice circuit and has 7 leds in it. Pls can u explain me the working of project

  2. update on #2 above: i’ll just parallel a relay to the LED… 🙂

    thanks.

  3. hi momename,
    in paralleling relays to the LEDs of this project:
    1. can i just parallel it directly, or do i need other components like diodes/capacitors/resistors/etc?
    2. do i use a 12v-coil, or a 6v-coil?
    thanks very much. 🙂

  4. Hi,alex morfe
    I feel happy to you.
    Thanks you use this projects keep your hobby.

  5. hello again.

    help please…
    is there a way to make the LEDs to NOT light up while switch in ON (while randomizing next number)?

    thanks!

  6. Hi,alex morfe
    Thanks for you feedback.
    I am sorry, I never build this circuit.
    Please check circuit again.
    And it may be that: R-2K limit current LEDs.
    You may be use R-1K instead.

    If your project works please show me again.

    Thanks

  7. hi momename,
    me again 🙂
    could you please show me how to add the option to roll the die via a signal from another circuit (instead of SW1, like in your 4026 up counter circuit)?

    here’s the link to what I have built so far: https://www.facebook.com/video.php?v=10204953731460292&set=vb.1151274622&type=2&theater
    this has 4 of your circuits:
    1. dice (minus the 4017)
    2. running lights (minus the 4017)
    3. up counter using 4026
    4. 555 tester

    thanks! 🙂

  8. Hi momename,
    May I know that which pin of the IC should I connect for the switch? I tried on my own at pin 12,14,and 16 respectively but the circuit only works when I connected the switch to pin 16. However the leds light up in sequence not in random,and the leds should light up rapidly when the switch is pressed but they didnt.

  9. What is the value of the missing resistor from the list?
    ( to the right of the 1n4148s)

  10. this is SHIT

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu