Aim
The Aim of this project is to learn, study and create different ICs in digital logic and designing and create a unique project. This project gives us an immense knowledge of electronic components which are important to know.
Introduction
Electronic dice is simple electronic circuit with a push button that can be used like a normal dice in games. The dice works by switching Light Emitting Diodes (LEDs) on and off just like the pattern of dots found on a traditional dice.
Playing with dice needs us to pick up a dice and make sure that it is unbiased. Making a block as a dice and cutting it clearly to make sure that it is unbiased is all an old story. The dice becomes biased if the shape is not cut well. Also, the dice can become biased due to deformations. If it is a wooden die, it can deform due to dampness in the atmosphere or due to mechanical stress. To solve all these problems which we have with a conventional dice, we have made a dice circuit which solves all the problems of a conventional dice.
Electronic LED dice is nearly unbiased. There is no chance to cheat as the circuit operates and pulsates at such a high speed that the circuit is almost imperceptible to the human eye. There is also little maintenance and there is hardly any impact on aging of the circuit. The frequency may vary a bit with change in power supply voltage and varying the resistor, aging of the active and passive components but still the randomness will be preserved without any trouble.
The main brain of this project is IC 4017 with the help of IC 555 toggles the LEDs at a decent speed. IC 4511 is used to display and provide the specific LED a Number. The main work is that when we press the switch, it starts series toggling and when we release the switch it stops at a random digit next to the sequence giving you a random number as that for dice.
The clock pulses are given to a counter cum decoder circuit IC 4017 with the seventh output given to reset. It has nine possible outputs out of which, the seventh is given to reset because we only need a count up to 6 as a dice has six faces only. The first six outputs are given respectively to the LEDs so that the respective LED will glow for the corresponding count. If the count is 1, LED-1 will glow. If the count if 2, LED-2 will glow and so on until the sixth count. When the count is six, the sixth LED will glow and after that for the next clock pulse the counter will advance and the count increments to seven. In this count, the circuit resets itself as the seventh count is given to the reset pin which is PIN-15.
Components Used
- Breadboard
- IC 4017
- IC 4511
- IC 555
- Push Switch
- 2 * Resistors (10kΩ)
- 1 * Capacitor (1µF)
- 6 * LEDs
- 7-Segment Display
- 9 * 1N4148 Diodes
- Connecting wires
- 9-V Battery
- Battery Clip
Application
- Designing and implementing a digital instruction-assisted system
- It can be used as a normal dice in any board games
- It can give any random value from 1 to 6.
Circuit Diagram
Block Diagram
Pin Configuration
- IC 4017 – CMOS Counter
IC 4017 or CD4017B is a 5-stage Johnson Counter having 10 decoded outputs. Used to build all kinds of the timer, LED sequencers and controllers circuits. Pin 16 is positive power supply and pin 8 is a ground. The power supply range of 3 volts to 16 volts and Maximum power supply voltage at pin 1 must not much than 18 volts. Pin 13 has Clock enabled pins to controls the clock. When it is “0” logic, the clock is enabled and the counter advances one count for each clock pulse. When “1” logic, the clock input is stopped, and the counter does nothing even when a clock pulse arrives. Pin 14 is the clock triggers one count. Pin 15 is the reset pin. Normally, it is “0”. When made “1”, the counter is reset to “0”. Pins 1-7 and 9-11 are the decoded output pins. The active count pin goes high and all others remain low. Pin 12 is Carry output, for the clock input of an additional counter or an external circuit that the count is complete.
- IC 555 – Timer
The 555 timer datasheet specifies that 555 IC is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. In the time delay mode of operation, the time is precisely controlled by one external resistor and capacitor. For a stable operation as an oscillator, the free running frequency and duty cycle are accurately controlled with two external resistors and one capacitor.
- IC 4511 – CMOS BCD to 7 Segment Latch Decoder Driver
The 4511 datasheet specifies that this IC is a BCD to 7-segment latch/decoder/driver with four address inputs (DA to DD), an active LOW latch enable input (EL), an active LOW ripple blanking input (BI), an active LOW lamp test input (LT), and seven active HIGH NPN bipolar transistor segment outputs.
- 7 Segment Display
A seven-segment display (SSD) is a widely used electronic display device for displaying decimal numbers from 0 to 9. They are most commonly used in electronic devices like digital clocks, timers and calculators to display numeric information. As its name indicates, it is made of seven different illuminating segments which are arranged in such a way that it can form the numbers from 0-9 by displaying different combinations of segments. It is also able to form some alphabets like A, B, C, H, F, E, etc.