Simple Dice Using IC 555 and IC 4017: Aman Chadha, and Abhijeet Ballani, TE, EXTC
Simple Dice Using IC 555 and IC 4017: Aman Chadha, and Abhijeet Ballani, TE, EXTC
TABLE I
Abstract— While playing board games, we have been PIN ASSIGNMENT OF IC 555
rolling dice. However we were looking at a more appealing
way to implement a dice. hence we came up with a simple Pin Name Function
dice which is nothing but a random number generator
1 GND Ground, low level (0 V)
from 1-6 with the help of IC – 555. Every time you press
2 TRIG OUT rises, and interval starts, when
the reset button a new LED glows denoting a number from
this input falls below 1/3 VCC.
1-6. The simple dice works on a 9V again giving it
3 OUT This output is driven to +VCC or GND.
portability and an efficient solution to our need.
4 RESET A timing interval may be interrupted by
driving this input to GND.
I. INTRODUCTION 5 CTRL "Control" access to the internal voltage
divider (by default, 2/3 VCC).
input and when suitable logic levels are applied to the reset
and enable inputs. The 4017 are 5-stage and 4 stage Johnson
counters having 10 and 8 decoded outputs respectively.
The 4017 are monolithic integrated circuits, fabricated in
standard Al-gate CMOS technology. Are available in 16-iead
dual in-line plastic package. Inputs include a CLOCK, a
RESET and a CLOCK inhibit signal Schmitt trigger in the
CLOCK input circuit provides pulse shaping that allows
unlimited clock input pulse rise and fall times. These counters
are advanced one count at the positive clock signal transition if
the CLOCK INHIBIT signal is low. Counter advancement via
the clock line is inhibited when the CLOCK INHIBIT signal is
high. A high RESET signal clears the counter to its zero count.
Use of the Johnson decade-counter configuration permits high-
speed operation. 2-input decimal-decode gating and spike-free
Fig. 2. IC 555 Pin Structure decoded outputs. Anti-lock gating is provided thus assuring
proper counting sequence. The decoded outputs are normally
low and go high only at their respective decoded time slot. It is
used in Decade counter/decimal decode display,
Binary counter/decoder, Frequency division, Counter
control/timers and Divide by N counting.
B. Overview
Print up the PCB traces on suitable paper and transfer the
toner to the copper. Etch the board, remove the toner and
drill. The PCB is ready.
C. Printing PCBs
Use a transparency of good quality. To save time, effort and
expenses it's a good idea to combine multiple images to try
and fill the entire 8.5x11 page with PCBs. Remember that
Fig. 5. Schematic of the Simple Dice. In the above schematic, R1=R2=10K these must be printed as mirror images of the final PCB in
Ω, R3=100K Ω, R4=570Ω, G1=5V, C1=0.01µF order to be correct after transferring them to the copper
board.
A. Schematic Description
Press the push switch to ‘throw’ the dice: this makes the
circuit rapidly cycle through the dice numbers so that an
effectively random dice number is displayed by the LEDs
when the push switch is released. Drill seven 5mm holes in a
dice pattern to mount the LEDs on a panel such as a plastic
box lid or sheet of thin plywood. They should be a tight fit but
a little glue can be applied from the underside if necessary.
The 555 astable circuit provides clock pulses at about 5kHz
for the 4017 counter which has ten outputs (Q0 to Q9). Each
output becomes high in turn as the clock pulses are received.
Only six counts (Q0-Q5) are needed so Q6 is connected to
reset. Appropriate outputs are combined with diodes to supply
Fig. 7. Placing the PCB mirror image face down on the copper
the LEDs: for example Q1, Q3 and Q5 are combined for LED
A. E. Transferring the Image
The dice sequence has been started at 2 so the ÷10 output To proceed you will need a cutout of a single PCB image
can be used for LEDs B1 and B2, this saves diodes and from the glossy paper, a very clean copper board and a
simplifies the circuit. Pressing the push switch makes the clothes iron. Place the PCB mirror image face down on the
disable input low so that counting occurs. copper, ensuring it is correctly positioned. You can use a
few pieces of tape to secure the glossy paper to the board
but I find that, if you are careful when you begin to iron, the
paper sticks and stays in place on its own. Preheat your
trusty clothes iron, using the hottest setting it’s got (cotton,
linen or above). Iron the entire area of paper, pressing firmly
and staying long enough to ensure the toner melts a bit and
binds to the copper. Carefully remove the paper. If certain
areas seem particularly difficult to peel off, you can try
soaking a bit more.
REFERENCES
[1] Block Diagram of the 555 Timer IC [Online]. Available:
http://ecelab.com/555-block-diagram.htm
[2] ChipFind Datasheet Archive [Online]. Available:
http://schematicwiring.com/simple-electronic-applications/dice-circuit-
diagram-using-timer-and-counter-ics/
[3] 4017B Decade counter (5-stage Johnson counter) [Online]. Available:
http://www.doctronics.co.uk/4017.htm
[4] Electronic Dice [Online]. Available:
http://users.otenet.gr/~athsam/electronic_dice_2.htm
[5] Digital Dice [Online]. Available http://www.electro-tech-
online.com/electronic-projects-design-ideas-reviews/103250-digital-
dice-2.html
[6] DatasheetCatalog [Online]. Available:
http://www.datasheetcatalog.com/datasheets_pdf/N/E/5/5/NE555.shtml
[7] Datasheet [Online]. Available: http://www.datasheetarchive.com/555-
datasheet.html
[8] National Semiconductors: http://www.national.com/ds/LM/LM555.pdf