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.
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.
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.
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.
Up to $20 shipping discount on first order now: https://jlcpcb.com/quote