Professional Documents
Culture Documents
DIGITAL DICE
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.
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.
PAGE NO
5 6 8 8 9 10 11
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.
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.
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.
Table 2: Pin description for IC 555 timer DIP package Pin Name Purpose
GND
TRIG
OUT rises, and interval starts, when this input falls below 1/3 VCC.
OUT
RESET
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
V+, VCC
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
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
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
15
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