Design And Construction Of An Electronic Dice Display With Audio Unit

7 Chapters
|
67 Pages
|
8,669 Words
|

An electronic dice display with an integrated audio unit offers a modern and interactive approach to traditional dice games, combining visual and auditory elements to enhance the gaming experience. This innovative device features a digital display that accurately simulates the rolling of dice, providing players with instant results while eliminating the need for physical dice. Additionally, the built-in audio unit complements the visual feedback by producing sound effects corresponding to the dice roll, further immersing players in the game. With its seamless integration of visual and auditory components, this electronic dice display with an audio unit elevates gaming dynamics, making it an engaging choice for enthusiasts seeking an enhanced and immersive gameplay experience.

ABSTRACT

This work deals extensively with the design and construction of an electronic dice display (EOD) with audio unit. The device displays the of a hudo dice in numberical form and also produces sound as it displays the number.
The device works with principle of chance employee by ludo game players. The output of the display is usually very rapid that the player does actually sex the number when the device is switched on so that it will purely be a game of chance. When the off key is pressed, a patellar number is displayed and this number is the number, the player got.
The operation of the device starts by the generation of a pulse frequency. The pulse frequency (square wave signal) generated by times (555 times) by connecting in an instable multibibrator. The output from this timer is used in clocking the binary counter (mod to counter) but this counter is biased to count just from zero through six (0-6) as we have in a lodo game dice. To achieve this bias in the mod 10 counter, the output from Qo, Q1 and Q2 were connected to the riset prins so that once the counter finishes the count of six or goes back to zero.
The result from the binary counter is then fed to the decoder driver before connecting it to seven segment so that the decoder will be able to covert the binary values to the decinal values that are being used in the ludo game dice. The seven segment then displays the numbers by lighting the diodes that make up that particular value.
This device is being regulated by a latch (4-edge triggered flipflope) which has two switches, one is used for putting the power supply and the other two push switches for the working of the dice display.

TABLE OF CONTENT

Title page
Approval page
Dedication
Acknowledgement
Abstract
Organization of work
List of figures
List of table
Table of content

CHAPTER ONE
INTRODUCTION 1
1.0 Statement of problem 1
1.1 purpose of study 2
1.2 Aims and objectives 2
1.3 Scope 3
1.4 Limitations 3
1.5 Definitions of terms 5

CHAPTER TWO
Literature Review 9

CHAPTER THREE
Description and Analysis of the Existing System 15
Organization structure 16
Objectives of the existing system 17

CHAPTER FOUR
Design of the New System 18
Output specification and design 20
Input specification and design 29
File design 38
Procedure chart 39
System flow chart 41
System requirement 42

CHAPTER FIVE
Implementation 47
Program flowchart 49

CHAPTER SIX
Documentation 51

CHAPTER SEVEN
Recommendation and Conclusion 53
7.1 Recommendation 53
7.2 Conclusion 53
Reference 55

CHAPTER ONE

INTRODUCTION
Instrumentation engineering has advanced widely with the introduction of medium scale integration (MSI), large scale integration (LSI) and very large scale intergration (VLSI). For purpose of accuracy and reliability, analogue instruments are being replaced by the digital ones. The electronic dice display (DD) with audio unit is among this new bread of instruments.

1.0 STATEMENT OF PROBLEM
The design of an electronic dice display is invented because of the quest for reducing strenuous activities encountered by man, especially in the area of its recreational activities. This device is used in indo game. The indo game in its manual operation can be manipulated by the experts so that it can no longer be a game of chance. Sometimes players can employ tricks on their opponents when playing the game, for example, of the both players are not vigilant, one of them can event thoart the dice and claimed that nothing happened. The players too may get tired after playing two or three times because of the stress in shaking and playing the dice, the frequent hitting of the dice’s can on the ludo board can even give cracks in the glass covering the ludo board. One can even experience the dice getting cost in the game because the dice is very small so if care is not taken it can fall out from the board. All these problems were taken into consideration before constructing the electronic dice display.

1.1 PURPOSE OF STUDY
As stated earlier, the design of this device is to help man conguer his environment with the advent of medium scale integration (MSI), integrated circuits (IC) can be used to design devices. That can help man perform his work effectively, with little or no stress and even sometimes at a cheaper into. The devices too will eradieated all the stress, tricks and pranks encounted when playing ludo game.

1.2 AIMS AND OBJECTIVES
The device will in crease the fun derived in play the game, even little kids can now join since they only need to press buttons for the device to work. The game will now be prvely based on chance because all bias will be eradicted no expert can manipulate the device no mater how many times you use it. The normal phenomenon of playing tricks will be in thing of the past.

1.3 SCOPE
The work covered the playing and displaying of the number got. This means that the device when switched on and start button is pressed it will be rapidly displaying the numbers, that is, all the numbers of a ludo dice but when the stop button is dressed a particular number will be shown and this is the number the player got. This means that the player still needs to get a ludo board and the seeds for the game.

1.4 LIMITATIONS
It will be an unfair treatment to this project of the discussion of limitations that handicapped this important research work is overlooked. Hence it is considered necessary for it will be a stepping stone for the improvement in further work.
The work is limited to just playing and displaying of the number got and the generation of sound though enyshasis was not laid on the sound system. Part of the limitations in this project is as a result of their non-inclusion in the scope while others are due to constraints. The design specification was to achieve an electronic dice display that can display from 1-6. also the system is not protected from wrong voltage supplies. Voltage polarities wrongly connected or supplies greater than the specified supply voltage will damage the system.
Most of the constraints were due to lack of tests with detailed information on the theory and the practice of electronic dice display (EDD). As 90% of the components are povety digital, they are not readily available on the market, some of the components especially the transistors used in sound display were not found in the market so I was forced to use the equivalents as specified in the data book and when some of these components are found they are usually very expensive.
Another problem was lack of equipment in to departmental laboratory for the execution and monitoring of the project, some of the equipment used in the other department market were bad and gave false result. The oscilloscope used was not supplicated enough to display very low frequency outputs of about 1Hz. Also lack of textbooks was another major problem. The few books seen treated components of dice display so shallowly. This calls for designing and redesigning till a working circuit was realized.

1.5 DEFINITION OF TERMS
And gate: it is a circuit which gives a high outputs (i.e logic 1= high and logic 0= low, if all inputs are high. An and gate is represented by a dot to indicate that it is a multiplicateion.
Capacitors: it provides a means of storing electrical energy in form of an electric field.
Counter: a circuit which gives output pulse for every 2 inputs pulses. If the input pulses are irregular the circuit is regarded as counter. Counters usually come as integrated circuit.
Decoder / driver; a decoder can be the reverse of on decoder circuit, there are a variety of decoders designed for specific purpose. In this case it is used as a code commerted where it is required to covert from binary coded decimal (BCD) to decimal.
Diode: Diodcs are two terminal devices which exhibit low resistance to current flow in the other.
Flipflop: it is a combinational logic that can be able to hold one bit at a time.
Latch: a catch is a combination of flipflops, in ther particular (1c7474) latch, it has a combination of 4 positive edge triggered flipflops. It changes state on receipt of an input signal but this particular latch was connected in such a way that it does not change state.
Multiobrator (astable): may are flipflop that has no stable states. It is called astable or free running multivibrator. This type of logic circuitswitches back and forth (osscilates) between unstable states. Useful for providing clock signals for asynehrorous digital circuits.
Resistors: resistor provides us with a means of controlling voltage in a circuit. I is necessary for the operation of every electonic circuit.
Seven segment display; this is a method of displaying the numberals from 0-9 by ollumenating or more elements out of the seven arranged in a form. If all the elements 1,2, 7,5 and Y are alluminated a 5 is displayed. Seven segment display is extensively need in electronic equipment e.g recoders, calculators and digital waltches.
Times: timers are used to generate continous waves or plulse frequency which is usually used in clocking the counter. The 555 times is an 8- pin deal in line package in both bipolar and CMOS forms.

Transistor: transistors are invariably silicon types and are available in either n-p-nor p-n-p forms. They are usually used for unear applications such as lower level amplification, for switching applications, high frequency application and can also be designed to handle high voltage.

SIMILAR PROJECT TOPICS:
Save/Share This On Social Media:
MORE DESCRIPTION:

Design And Construction Of An Electronic Dice Display With Audio Unit:

Designing and constructing an electronic dice display with an audio unit is a fun and educational project that involves both hardware and software components. In this project, I’ll outline the basic steps and components needed to build such a device. Please note that this is a simplified overview, and you may need to adapt it to your specific requirements and expertise level.

Components Needed:

Microcontroller: You can use an Arduino, Raspberry Pi, or a similar microcontroller as the brain of your electronic dice. For this example, we’ll use an Arduino.

LED Display: A 7-segment LED display is a common choice for displaying the dice numbers. You can use one or more 7-segment displays depending on the size and complexity of your project.

Push Button: You’ll need a push-button switch to trigger the dice roll.

Audio Unit: You can use a small speaker or a piezo buzzer for generating sound effects.

Resistors: You’ll need current-limiting resistors for the LEDs and a resistor for the push button.

Transistors (Optional): Depending on the power requirements of your LED display and audio unit, you may need transistors to control them.

Power Supply: Depending on your components’ voltage requirements, you may need a power supply (battery or AC adapter).

Wires, Breadboard, and Soldering Iron: For connecting and assembling the components.

Construction Steps:

Circuit Design:
Connect the LEDs of the 7-segment display to the microcontroller pins, using current-limiting resistors.
Connect the push button to a digital input pin with a pull-down resistor.
Connect the audio unit (speaker or piezo buzzer) to a digital output pin.
If necessary, use transistors to control the power supply for the LEDs and audio unit.
Connect the power supply to the microcontroller.

Programming:
Write the Arduino code to control the dice simulation and display the result on the 7-segment display.
Add code to generate audio effects for each dice roll outcome.
Program the microcontroller to respond to the push button press by simulating a dice roll and playing the corresponding sound effect.

Assembling:
Connect all the components on a breadboard first to test your circuit and code.
Once everything works as expected, you can solder the components onto a prototyping board or design a custom PCB for a neater and more permanent setup.

Enclosure:
Design or obtain an enclosure for your electronic dice. It should have openings for the display, push button, and audio unit.
Ensure the enclosure is appropriately sized to accommodate all components.

Final Assembly:
Place the components inside the enclosure.
Wire everything together as per your circuit design.
Secure the components in place with screws or adhesive.

Testing and Debugging:
Test your electronic dice for functionality and make any necessary adjustments to the code or connections.
Ensure that the audio unit produces the desired sound effects.

Final Touches:
Label or decorate your electronic dice display as desired.

Once you’ve completed these steps, your electronic dice display with an audio unit should be ready to use. Press the button to roll the dice, and it will display the result on the LED display while playing a sound effect to enhance the user experience.