Many Electronic circuit projects in simple ways of learning

electronic dice circuit using CD4017

After the I presented a model for many applications. Let’s see some toy circuits. This is an electronic dice circuits. Which looks like a 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 it works.
For playing that when we turn on power supply to circuit. The LED will glow at either portion, since 1-6 LED, as place of real dice.

When we press 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. May be since 1-6 LEDs as form of the dice.

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

The principle of circuit

From circuit in Figure 1 will see that, the circuit separated are: 3 main section. 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 with two transistors and some RC circuit. They are set as high frequencies generators about of 62 Hertz.

Then, will be a normally open pushbutton to connects signal from the first sector to 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 output in a fraction of a second. It will reset the IC, to move the output to pin 3 that is 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 divider output signal of IC to each place of LEDs since 1 to 6 LEDs.


But why use 7 LEDs, because the position of the LED dice like that. Especially at the 1, 3, 5 pts.
If use 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__= 1 pcs.
-LED1-LED6_____LED as you need see text________________= 7 pcs.
-Q1,Q2___C1815__ 45V 100mA NPN Transistor_____________= 2 pcs.
-D1-D9____1N4148___ 75V 150mA Diodes_________________= 9 pcs.
C-10uF 16V___Electrolytic capacitors_____________________= 1 pcs.
C-1uF 16V_____Electrolytic capacitors____________________= 2 pcs.
R-2K___1/4w 5% Resistors_____________________________= 9 pcs.
R-10K___1/4w 5% Resistors____________________________ = 2 pcs.
R-100K___1/4w Resistors______________________________= 1 pcs.
-PCB, 9-volts battery, wires,and others. Etc.

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 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 agian, next so insert IC1 in to the socket IC.

Then later, you apply the supply voltage to this circuit, will see the LED lit up may be any LEDs.

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

This is electronic dice circuit, normally will get the energy from 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 number- 4017 It can be used as well, such as CD 4017, HEF 4017, MC1 4017, HD 4017, since as the same number.

This Post Has 11 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)

Leave a Reply

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

Close Menu