Sei sulla pagina 1di 13

ELECTRONIC DICE WITH SLOW DOWN

A Project
Presented to the Faculty of the
College of Engineering
Tanauan City College
Tanauan City, Batangas

In Partial Fulfillment
on the Requirements of the Course
AENG9 Circuits 2 of
Bachelor of Science in Computer Engineering

Daniel B. Bermodez
Marife Dacawan
Jessalyn M. Lalap

October 2018
INTRODUCTION

A very simple and easy to construct electronic dice that will display

random symbols of traditional dice with values from 1 to 6 generated by 7

LEDs. This small electronic project is based on IC CD4017 and NE555. This

is an alternative device which can be used to replace the commonly used

dice when playing game such as snake and ladder, monopoly, poker dice,

etc. A well-known multi-vibrator (NE555) IC, and medium speed counter

(CD4107) works at 10MHz and has 8 decoded outputs.

Various components was used and few computations was added to

make the dice combinations produce random output like in a traditional dice.

In combinations of pulse generator and pulse counter many result was

added in random. Since the pulse generator has such a high frequency, the

pulse counter will start counting very rapidly. As a result, different

combinations of LEDs will light up in very quick succession. So it will look as

if all seven LEDs are permanently lit up. As soon as you take your finger off

the touch switch the pulse counter stops counting (it is impossible to say in

advance what number it will stop at - it is simply going too fast). The LEDs

stop in a certain combination.

To play with this electronic dice, you have to push the tactile switch

button. A pressed switch is just like throwing the dice and some of the LEDs

will light up and the LEDs are basically the spots on the dice.
OBJECTIVES

The general objective of this project is to make an electronic dice

using most commonly used components that is accessible by the students

and has availability in the market.

Specifically the project aims:

1. To develop a device using NE555, CD4017 ICs and most commonly

used components which is frequently experimented and studied by

the students.

2. To make random combinations in dice generated electronically using

IC output computations.

3. To create a simple device that make a traditional dice in to an

electronic dice.

TECHNICAL SPECIFICATIONS

The two ICs used to make combinations was CD4017 and NE555 are

widely used in frequency dividers, binary counters, and divide by N counters

and register design applications. The clock pulse is provided by the 555

astable circuit at about 5 KHz for the 4017 counter which contains ten

outputs (Q0 to Q9). Each output becomes high when the clock pulses are

received by them. As only six outputs (Q0-Q5) are needed so Q6 is

connected to reset.
PARTS LIST

NO. MATERIALS VALUE QTY

1. Resistor 330Ω 3

2. Resistor 1kΩ 1

3. Resistor 10kΩ 9

4. Resistor 1MΩ 1

5. Resistor 3.3MΩ 1

6. Resistor 4.7MΩ 1

7. Resistor 10MΩ 1

8. Ceramic Capacitor 100nF 1

9. Electrolytic Capacitor 1uF 1

10. NPN Transistor BC547 3

11. PNP Transistor BC557 2

12. Integrated Circuit NE555 1

13. Integrated Circuit CD4017 1

14. LEDs 5mm 7

15. Push Button Momentary 1

16 Battery Snap Flexible 1

17. Copper Clad Plate 1

18. Battery 5 Volts 1


MATERIALS INFORMATION

MATERIALS DESCRIPTION IMAGE QTY SYMBOL


A resistor is a passive
two-terminal electrical
component that
implements electrical
resistance as a circuit
element. In electronic
Resistor circuits, resistors are 17
used to reduce current
flow, adjust signal levels,
to divide voltages, bias
active elements, and
terminate transmission
lines, among other uses.
A ceramic capacitor is a
fixed-value capacitor in
Ceramic 1
which ceramic material
Capacitor
acts as the dielectric.
An electrolytic capacitor
(e-cap) is a polarized
capacitor whose anode
or positive plate is made
Electrolytic of a metal that forms an
1
Capacitor insulating oxide layer
through anodization.
This oxide layer acts as
the dielectric of the
capacitor.
NPN bipolar junction
NPN transistor commonly
Transistor used in European and 3
(BC547) American electronic
equipment.
The currents in the PNP
PNP transistor flow in the
Transistor opposite directions of the 2
(BC557) currents in the NPN
transistor.
The 555 timer IC is an
integrated circuit used in
a variety of timer, pulse
generation, and
oscillator applications.
NE555 The 555 can be used to
1
Timer IC provide time delays, as
an oscillator, and as a
flip-flop element.
Derivatives provide two
or four timing circuits in
one package.
It is a CMOS decade
counter cum decoder
circuit which can work
out of the box for most of
CD4017 IC 1
our low range counting
applications. It can count
from zero to ten and its
outputs are decoded.
A light-emitting diode is a
two-lead semiconductor
light source. It is a p–n
junction diode that emits
light when activated.
When a suitable current
5mm LED 7
is applied to the leads,
electrons are able to
recombine with electron
holes within the device,
releasing energy in the
form of photons.

Tact switches are tactile


that react to user
Tactile interaction with the
1
Switch button or switch when it
makes contact with the
control panel beneath.
BLOCK DIAGRAM

Figure 1.0

Block Diagram

Showing the function flow in block diagram.

SCHEMATIC DIAGRAM

Circuit diagram was simply made with EAGLE (Easily Applicable

Graphical Layout Editor). It is a scriptable electronic design automation

application with schematic capture, printed circuit board layout, auto-router

and computer-aided manufacturing features.

Figure 1.1
Schematic Diagram
A full detailed layout of components which is already connected and

arrange for board lay-out.


Figure 1.2
PCB Circuit Board Reference
PCB Circuit Board Reference is used to trace the position of every

components in Printed PCB.

Figure 1.3
Printed Circuit Board
Printed Circuit Board is used for PCB Etching which the printed

output is transferred to Copper Clad.


Figure 1.4

Breadboard Prototype

Prototyping was done by using breadboard to secure the operations


and connection before the transferring and soldering in to the Copper Clad.

OPERATIONS AND LOGICAL COMPUTATIONS

The operation of the electronic dice on how does it make its output

will be explained in the following computations:

Pulse Generator

The 14-leg chip or the NE555, the capacitor and resistors together

make up the pulse generator that switches between a high (5-volt) and a low

(0-volt) voltage. If connected, the lamp will blink at a certain frequency. The

frequency of the pulse generator in the electronic dice is 1111 Hz.


Pulse Counter

The 16-leg chip and resistors together make up the pulse counter. As

the name suggests, the pulse counter counts the number of pulses it

receives. The pulse counter in the electronic dice is set in such a way that it

counts from 1 to 6.

Binary Numbers

The pulse counter in the electronic dice is a binary counter. This

means that it counts in zeros and ones. There is a relationship between

various combinations of ones and zeros and the decimal figures that are

normally use for counting (0, 1, 2, 3, 4, 5, 6, 7, 8 and 9).

A decimal number is made up of powers of 10. For instance, the

number 406 is equal to 6 x 100 + 0 x 101 + 4 x 102.

A number in the binary system is made up of powers of 2. For

instance, the number 110 is equal to 0 x 20 + 1 x 21 + 1 x 22. If you calculate

this you get 6.

Operation

The pulse counter in the electronic dice has three outputs (legs),

which are connected via the four resistors to the seven LEDs. Via these

three outputs the pulse counter counts in binary form from 1 to 6. When an

output is on “1” the connected LEDs light up and when an output is on “0”
they are off. In the diagram below you can see how the three outputs are

connected to the seven LEDs. The outputs are shown at the bottom of the

diagram. You can see that five lamps do indeed light up for the number 5

(101).

Figure 1.5

Binary to LED Lights

A binary code was to LEDs of Electronic Dice as an output.

To use less number of diodes and to simplify the circuit the sequence

starts from 2. So that ÷ 10 output can be used for LEDs 6 and 7. Counting

occurs when the push switch makes the disable input low.
Figure 1.6

4017 Counter Output Table

Typically describe the operation of CD4017 on how it produce its

output randomly.

3D Model

Figure 1.7
3D Model of Final Product
The 3D Model was generate by using Sketchup CAD Software.
Dimension and Weight

Weight: 150g
Figure 1.8
Device Dimension and Weight
The model was in top view showing the dimension in Length x Width

generated in Sketchup Lay-out.

Potrebbero piacerti anche