You are on page 1of 17

A PROJECT REPORT ON

DIGITAL DICE

SUBMITTED TO: Mr. Piyush Singh, Senior Lecturer, Department of ECE

SUBMITTED BY: ANCHAL (ROLL NO. 0812831016) ANSHULIKA GARG (ROLL NO. 0812831020) HONEY TYAGI (ROLL NO. 0812831043) MANISH SHARMA(ROLL NO. 0812831051)

Department of Electronics and Communication Engineering Bharat Institute of Technology Meerut-250001 (India) May, 2011

Acknowledgements
In the name of GOD, the most Gracious, the Most Merciful for giving me the determination and will to complete this study. We would like to express my gratitude towards the esteemed organisation BHARAT INSTITUE OF TECHNOLOGY, Meerut for being such an enlightening source to me. We would like to express our sincere gratitude and appreciation to our supervisor Mr. Piyush Singh (Senior Lecturer, Department of Electronics And Communication Engineering) for their inspiration, expert guidance and supervision during the research work to complete the dissertation in time. Our appreciation goes to all, who have directly or indirectly helped us in completing our thesis. They will always have a place in our fond memories. We would like to show our gratitude towards our respected faculty members of BIT, our beloved parents and family members for their moral and emotional support. We would like to share this moment of happiness with all of them.

ANCHAL ANSHULIKA GARG


HONEY TYAGI MANISH SHARMA (EC 4th year)

ABSTRACT

The digital dice project is an interesting project that will display in random the number from 1 to 6 on the 7 segment display. This is an alternative device that can be used to replace the traditional dice when you are playing games such as snake ladder, monopoly etc. The generation of clock is done by using a 555 timer which is connected in the astable mode at a frequency of approximately 50 Hz. The outputs of decade counter are connected to a BCD to 7 Segment Decoder which is used to drive a common anode 7 segment display. It will Display a Random Result for the 6 faces of the Dice. This circuit works on +5V power supply.

List Of Figures NAME


1. General dice 2. 555 clock pulse generator 3. 7490 decade counter 4. 7483 4- bit adder 5. 7447 BCD to 7- segment decoder 6. 7- segment display 7. Circuit diagram of Digital Dice

PAGE NO
5 6 8 8 9 10 11

List Of Tables NAME


1. Parts list of digital dice project 2. Pin description for IC 555 timer DIP package 3. Sequence of count for IC 7490 decade counter 4. Pin description for IC 7483 4- bit adder 5. Pin description for 7447 BCD to 7- segment decoder 8 9 10 11 12

PAGE NO

Table Of Contents S. NO. NAME OF TOPIC 1 2 PAGE NO.

INTRODUCTION COMPONENTS LIST IC 555TIMER IC 7490 DECADE COUNTER IC 7483 4- BIT ADDER IC 7447 BCD TO 7- SEGMENT DECODER 7- SEGMENT DISPLAY WORKING OF DEVICE AND COMPLETE CIRCUIT DIAGRAM CONCLUSIONS REFERENCES

6 7 11 11 12 13 14 15 16 16

3 4 5 6 7 8 9 10

List Of abbreviations
Bit- Binary digit. It is the amount of information stored by a digital device or other physical system that exists in one of two possible distinct states. BCDBinary Coded Decimal. In computing and electronic systems, binary-coded decimal (BCD) is a digital encoding method for numbers using decimal notation, with each decimal digit represented by its own binary sequence. IC- Integrated Circuit. An integrated circuit or monolithic integrated circuit (also referred to as IC, chip, or microchip) is an electronic circuit manufactured by the patterned diffusion of trace elements into the surface of a thin substrate of semiconductor material. PB- Push Button. A push-button (also spelled pushbutton) (press-button in the UK) or simply button is a simple switch mechanism for controlling some aspect of a machine or a process. GND- Ground. low level (0 V). TRIG- Trigger. OUT rises, and interval starts, when this input falls below 1/3 VCC. CTRL- Control. Access to the internal voltage divider (by default, 2/3 VCC). RST- Reset. A timing interval may be interrupted by driving this input to GND. R- Resistor. C- Capacitor.

1.INTRODUCTION 1.1Dice
A dice is a small throwable object with multiple resting positions, used for generating random number. This makes dice suitable as gambling devices for games like craps, or for use in non-gambling tabletop games. A traditional die is an often rounded cube, with each of its six faces showing a different number. The design as a whole is aimed at the die providing a randomly determined integer from one to six, each of those values being equally likely. A variety of similar devices are also described as dice; such specialized dice may have polyhedral or irregular shapes and may have faces marked with symbols instead of numbers. They may be used to produce results other than one through six. Loaded and crooked dice are designed to favor some results over others for purposes of cheating or amusement.

Fig 1: General dice

1.2Digital Dice
Digital dice is a device that displays, in random, the numbers from 1 to 9 on the 7 segment display. This is an alternative device that can be used to replace the traditional dice when you are playing games such as snake ladder, monopoly etc.

2.COMPONENTS LIST Table 1: Parts list of digital dice project

3. IC 555 TIMER

The 555 timer IC is an integrated circuit (chip) used in a variety of timer, pulse generation and oscillator applications. Here, it is used in astable mode to generate clock pulse for the decade counter to count.

Fig 2: 555 clock pulse generator

Table 2: Pin description for IC 555 timer DIP package Pin Name Purpose

GND

Ground, low level (0 V)

TRIG

OUT rises, and interval starts, when this input falls below 1/3 VCC.

OUT

This output is driven to +VCC or GND.

RESET

A timing interval may be interrupted by driving this input to GND.

10

CTRL "Control" access to the internal voltage divider (by default, 2/3 VCC).

THR

The interval ends when the voltage at THR is greater than at CTRL.

DIS

Open collector output; may discharge a capacitor between intervals.

V+, VCC

Positive supply voltage is usually between 3 and 15 V.

4. IC 7490 DECADE COUNTER


The 7490 is a decade counter, meaning it is able to count from 0 to 9 cyclically, and that is its natural mode. That is, QA, QB, QC and QD are 4 bits in a binary number, and these pins cycle through 0 to 9.

Fig 3: 7490 decade counter Table 3: Sequence of count for the decade counter
Decimal 0 1 2 3 4 Binary 0000 0001 0010 0011 0100

11

5 6 7 8 9

0101 0110 0111 1000 1001

5. IC 7483 4-Bit ADDER


It is a 4- bit binary adder integrated circuit and adds two 4 bit numbers.

Fig 4: 7483 4- bit adder


Table 4: Pin description for IC 7483 4- bit adder Pin Description Pin Number 1 2 3 4 5 6 Description A4 Input Sum 3 Output A3 Input B3 Input Vcc Sum 2 Output

12

7 8 9 10 11 12 13 14 15 16

B2 Input A2 Input Sum1 Output A1 Input B1 Input Ground C0 Input C4 Input Sum4 Output B4 Input

6. IC 7447 BCD TO SEVEN SEGMENT DECODER


The 7447 IC is a decoder that is connected to the seven segment display. Its function is to light up the proper segments of the display when binary- coded- decimal numbers are applied to its input leads.

Fig 5: 7447 BCD to 7- segment decoder Table 4: Pin description for IC 7447 BCD to 7- segment decoder
Pin Description

13

Pin Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Description BCD B Input BCD C Input Lamp Test RB Output RB Input BCD D Input BCD A Input Ground 7-Segment e Output 7-Segment d Output 7-Segment c Output 7-Segment b Output 7-Segment a Output 7-Segment g Output 7-Segment f Output Positive Supply

7. 7- SEGMENT DISPLAY
A seven-segment display (SSD), or seven-segment indicator, is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot matrix displays. Seven-segment displays are widely used in digital clocks, electronic meters, and other electronic devices for displaying numerical information.

14

Fig 6: 7- segment display 8.WORKING OF DEVICE AND COMPLETE CIRCUIT DIAGRAM


Digital dice is a smarter way to play games such as snake ladder, monopoly etc than the traditional dice. The generation of clock is done by using a 555 timer which is connected in the astable mode at a frequency of approximately 50 Hz. This clock signal is fed into the decade counter outputs of which are connected to 4 bit binary adder which provides a binary output equivalent to binary input + 1. The outputs are then connected to a BCD to 7 Segment Decoder which is used to drive a common anode 7 segment display.

15

Fig 7: Circuit diagram of Digital Dice

As shown in the schematic above, when push button PB is pressed, a square output will be generated from the 555 timer which gives a frequency of approximately 50 Hz to the 7490 decade counter IC.

The frequency of the astable 555 timer is calculated by using the standard formula of the timer. f = 1.44/(1K + 2*1K)(0.01uF) = 48 Hz

9.Conclusions
An alternative device is obtained that can be used to replace the traditional dice when you are playing games such as snake ladder, monopoly etc. It can efficiently work on +5V power supply. 16

555 can generate pulse when connected in astable mode. Circuit of digital dice is actually a cascaded connection of all ICs that are used. Games turn out to be digital rather than manual as used to be earlier.

10.References
http://www.electronics-project-design.com/digitaldice.html http://www.google.co.in/imgres? q=7+segment+display&hl=en&biw=1024&bih=634&gbv=2&tbm=isch&tbnid=N nlXOaMcEuLRvM:&imgrefurl http://www.google.co.in/imgres? q=7447+pin+configuration&hl=en&gbv=2&biw=1024&bih=634&tbm=isch&tbn id=oDWj7xpGghmahM:&imgrefurl http://www.google.co.in/imgres? q=7483+pin+configuration&num=10&hl=en&gbv=2&biw=1024&bih=634&tbm =isch&tbnid=CVukovTIEzRLBM:&imgrefurl http://www.google.co.in/imgres? q=7490+pin+configuration&hl=en&gbv=2&biw=1024&bih=634&tbm=isch&tbn id=_xJXO_iR81qi4M:&imgrefurl

17

You might also like