SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
CIRCUIT
      IDEAS

DIGITAL DICE                                                                                     S.C. DW
                                                                                                        IVEDI




   SAGAR G. YADAV                               The circuit is divided into three sec-       LED2 and LED5 always glow at the
                                            tions: counter, logic and display.           same count, as do LED1 and LED6,


T
       he digital dice presented here           The counter section is built around      and LED3 and LED4. Using these three
        acts just like a normal dice. It    binary counter IC CD4060BC (IC1).            pairs of LEDs and LED7, four logical
        has six faces (refer Fig. 2) like   The counter frequency (f) is decided         combinations have been made in the
the normal dice and uses four differ-       by the in-built oscillator formed by re-     circuit. LED1 and LED6 glow at all
ent logic gate combinations to bring        sistor R1 and capacitor C1 as follows:       counts, except ‘0’ and ‘1.’ Further, it
out the six faces of the dice.                  f=1/2.2R1C1.                             can be noticed that they glow when
    At the heart of the circuit is a 14-    Here, the frequency is fixed at around       ‘A’ or ‘B’ is high, hence a NOR gate
stage ripple-carry binary counter IC        2056 Hz.                                     whose output is A+B according to
CD4060BC (IC1) with built-in oscilla-           Only the first three outputs of the      Boolean algebra will perform the job




Fig. 1: Digital dice

                                                       counter (designated as A, B       of operating these LEDs.
                                                       and C, respectively) have             LED3 and LED4 glow at all counts,
                                                       been used in the circuit. The     except for the first three counts, i.e.,
                                                       counter is designed to reset      they glow when either A, or B and C
                                                       at the sixth count (110) as       are high. This logic function can be ob-
                                                       only six counts are required      tained by using an OR gate and an
                                                       for operation. This is done       AND gate, but since we are using only
                                                       with the help of diodes D1        NAND and NOR gates in the circuit
                                                       and D2 and resistor R3,           we make use of two NAND gates and
                                                       which are connected such          a NOR gate (with A+BC output) to
                                                       that they generate an AND         perform this function.
                                                       logic.                                LED2 and LED5 glow only at the
                                                           From the table it can be      first and fifth counts. In other words,
Fig. 2: Different faces of dice
                                                       noticed that at the sixth         they glow only when the complement
tor. The logic section is designed          count, the counter outputs A and B           of B and C outputs goes high. This
around CMOS quad 2-input NOR gate           hold logic 1 simultaneously for the first    function can be obtained by using two
IC CD4001BC (IC2) and quad 2-input          time, so by ANDing A and B outputs           NAND gates such that their output
NAND gate IC CD4011BC (IC3). The            you can give logic 1 to the reset termi-     corresponds to the Boolean expression
display section is formed by a group        nal of the counter at the sixth count,       BC or B+C according to De Morgan’s
of seven LEDs.                              thereby resetting the counter.               theorem.


100 • OCTOBER 2005 • ELECTRONICS FOR YOU                                                                    WWW.EFYMAG.COM




                                                                 CMYK
CIRCUIT
                                                                                                        IDEAS
                                                                                    LEDs of the display section
              Dice Score and LEDs Lit at Different Counts                           will appear to glow simultaneously
Count Dice     A   B   C                         LEDs lit                           due to the high counter frequency.
      score
                                                                                    This high-frequency counting will
0     1        0   0   0   —      —      —       LE D7                              make the dice foolproof. When you
1     2        0   0   1   —      —      LED2    —          LED5
2     3        0   1   0   LED1   —      —       LED7       —      —       LED6     remove your finger from the touch
3     4        0   1   1   LED1   LED3   —       —          —      LED4    LED6     pad, the counter will stop counting
4     5        1   0   0   LED1   LED3   —       LED7       —      LED4    LED6     and the display section will show any
5     6        1   0   1   LED1   LED3   LED2    —          LED5   LED4    LED6     one of the six possible faces with a
6     —        1   1   0   —      —      —       —          —      —       —
                                                                                    probability of 1/6.
                                                                                        The entire circuit can be powered
    LED7 glows at even counts like 0,    common cathodes, as do LED2 and            by a 9V battery as the inbuilt oscilla-
2 and 4. In other words, it glows        LED5, and LED3 and LED4. The an-           tor of the counter IC will not work
when the C output is low. This func-     odes of all the LEDs are tied together     properly below 7V. Use of CMOS ICs
tion can be achieved easily by invert-   to the positive terminal of the battery    means less power consumption.
ing the C output twice using the re-     via resistors R4 through R10, respec-          The circuit can be constructed on a
maining two NAND gates. The out-         tively.                                    general-purpose PCB and housed in-
put will also be buffered by these two        When you place your finger on         side a plastic case with the LEDs array
inverter gates.                          the touch pad, the oscillator starts os-   mounted on the top as shown in Fig.
    The display section comprises        cillating. The counter will start count-   2. The touch pad can be mounted be-
seven LEDs. LED1 and LED6 have           ing at the rate of 2056 Hz and all the     side the array.




WWW.EFYMAG.COM                                                                ELECTRONICS FOR YOU • OCTOBER 2005 • 101




                                                               CMYK

Weitere ähnliche Inhalte

Was ist angesagt?

Electronics schematic circuits for the hobbyist
Electronics   schematic circuits for the hobbyistElectronics   schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyist
Naga Tejaswi
 
Automated alarm circuits
Automated alarm circuitsAutomated alarm circuits
Automated alarm circuits
viv3ksharma
 
1 100 transistorcircuits
1 100 transistorcircuits1 100 transistorcircuits
1 100 transistorcircuits
Alejandro Perez
 
Add on stereo channel selector
Add on stereo channel selectorAdd on stereo channel selector
Add on stereo channel selector
Prajwal Prakash
 
project - Copy
project - Copyproject - Copy
project - Copy
piedaholic
 

Was ist angesagt? (20)

Led chaser
Led chaserLed chaser
Led chaser
 
LED Chaser /Sequencer
 LED Chaser /Sequencer  LED Chaser /Sequencer
LED Chaser /Sequencer
 
Electronics schematic circuits for the hobbyist
Electronics   schematic circuits for the hobbyistElectronics   schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyist
 
Automated alarm circuits
Automated alarm circuitsAutomated alarm circuits
Automated alarm circuits
 
555 timer-digital-clock
555 timer-digital-clock555 timer-digital-clock
555 timer-digital-clock
 
1 100 transistorcircuits
1 100 transistorcircuits1 100 transistorcircuits
1 100 transistorcircuits
 
a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555
 
Add on stereo channel selector
Add on stereo channel selectorAdd on stereo channel selector
Add on stereo channel selector
 
Lica unit4 ppt
Lica unit4 ppt Lica unit4 ppt
Lica unit4 ppt
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
IC 555
IC 555IC 555
IC 555
 
Digital dice
Digital dice Digital dice
Digital dice
 
Anti bag snatching alarm
Anti bag snatching alarmAnti bag snatching alarm
Anti bag snatching alarm
 
100 IC Circuits
100 IC Circuits100 IC Circuits
100 IC Circuits
 
First Project
First ProjectFirst Project
First Project
 
Remotely Secured Device Automation using Infrared
Remotely Secured Device Automation using InfraredRemotely Secured Device Automation using Infrared
Remotely Secured Device Automation using Infrared
 
ELECTRONIC HOUSE
ELECTRONIC HOUSEELECTRONIC HOUSE
ELECTRONIC HOUSE
 
Mc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msjMc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msj
 
project - Copy
project - Copyproject - Copy
project - Copy
 
Ppt on interfacing led and 7 segmentwith 8951
Ppt on interfacing led  and 7 segmentwith 8951Ppt on interfacing led  and 7 segmentwith 8951
Ppt on interfacing led and 7 segmentwith 8951
 

Ähnlich wie Digital dice

Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
sanket1996
 

Ähnlich wie Digital dice (20)

Digital clock presentation
Digital clock presentationDigital clock presentation
Digital clock presentation
 
08 decoder
08 decoder08 decoder
08 decoder
 
BCD Counter
BCD CounterBCD Counter
BCD Counter
 
The decoder
The decoderThe decoder
The decoder
 
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdfChapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
 
Arduino Projects.pptx
Arduino Projects.pptxArduino Projects.pptx
Arduino Projects.pptx
 
Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuit
 
a simple bcd counter project
a simple bcd counter projecta simple bcd counter project
a simple bcd counter project
 
logic gates using IC cbse class 12
logic gates using IC cbse class 12logic gates using IC cbse class 12
logic gates using IC cbse class 12
 
Physics logic gates 2
Physics logic gates 2Physics logic gates 2
Physics logic gates 2
 
9525.ppt
9525.ppt9525.ppt
9525.ppt
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
 
Microprocessor based system design
Microprocessor based system designMicroprocessor based system design
Microprocessor based system design
 
seven segment display using 74LS78 IC decoder
seven segment display using 74LS78 IC decoderseven segment display using 74LS78 IC decoder
seven segment display using 74LS78 IC decoder
 
De lab manual
De lab manualDe lab manual
De lab manual
 
Dot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry PiDot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry Pi
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counter
 
Automatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off CircuitAutomatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off Circuit
 
Seven segment display
Seven segment display Seven segment display
Seven segment display
 

Mehr von viv3ksharma

Friendly charger for mobile phones
Friendly charger for mobile phonesFriendly charger for mobile phones
Friendly charger for mobile phones
viv3ksharma
 
Flashing cum running light
Flashing cum running lightFlashing cum running light
Flashing cum running light
viv3ksharma
 
Fire alarm using thermistor
Fire alarm using thermistorFire alarm using thermistor
Fire alarm using thermistor
viv3ksharma
 
Electronic watchdog
Electronic watchdogElectronic watchdog
Electronic watchdog
viv3ksharma
 
Electronic security system
Electronic security systemElectronic security system
Electronic security system
viv3ksharma
 
Electronic bicycle lock
Electronic bicycle lockElectronic bicycle lock
Electronic bicycle lock
viv3ksharma
 
Dtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 testerDtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 tester
viv3ksharma
 
Electric window fence charger
Electric window fence chargerElectric window fence charger
Electric window fence charger
viv3ksharma
 
Drinking water alarm
Drinking water alarmDrinking water alarm
Drinking water alarm
viv3ksharma
 
Dice with 7 segment display
Dice with 7 segment displayDice with 7 segment display
Dice with 7 segment display
viv3ksharma
 
Desktop power supply
Desktop power supplyDesktop power supply
Desktop power supply
viv3ksharma
 
Computerised universal timer
Computerised universal timerComputerised universal timer
Computerised universal timer
viv3ksharma
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzer
viv3ksharma
 

Mehr von viv3ksharma (20)

Friendly charger for mobile phones
Friendly charger for mobile phonesFriendly charger for mobile phones
Friendly charger for mobile phones
 
Flying saucer
Flying saucerFlying saucer
Flying saucer
 
Flashing cum running light
Flashing cum running lightFlashing cum running light
Flashing cum running light
 
Flashing beacon
Flashing beaconFlashing beacon
Flashing beacon
 
Fire alarm using thermistor
Fire alarm using thermistorFire alarm using thermistor
Fire alarm using thermistor
 
Electronic watchdog
Electronic watchdogElectronic watchdog
Electronic watchdog
 
Electronic security system
Electronic security systemElectronic security system
Electronic security system
 
Electronic horn
Electronic hornElectronic horn
Electronic horn
 
Electronic bicycle lock
Electronic bicycle lockElectronic bicycle lock
Electronic bicycle lock
 
Dtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 testerDtmf reciever ic mt 8870 tester
Dtmf reciever ic mt 8870 tester
 
Electric window fence charger
Electric window fence chargerElectric window fence charger
Electric window fence charger
 
Drinking water alarm
Drinking water alarmDrinking water alarm
Drinking water alarm
 
Dice with 7 segment display
Dice with 7 segment displayDice with 7 segment display
Dice with 7 segment display
 
Desktop power supply
Desktop power supplyDesktop power supply
Desktop power supply
 
Current sensor
Current sensorCurrent sensor
Current sensor
 
Computerised universal timer
Computerised universal timerComputerised universal timer
Computerised universal timer
 
College quiz buzzer
College quiz buzzerCollege quiz buzzer
College quiz buzzer
 
Clock timer
Clock timerClock timer
Clock timer
 
Clap switch
Clap switchClap switch
Clap switch
 
Child's lamp
Child's lampChild's lamp
Child's lamp
 

Digital dice

  • 1. CIRCUIT IDEAS DIGITAL DICE S.C. DW IVEDI SAGAR G. YADAV The circuit is divided into three sec- LED2 and LED5 always glow at the tions: counter, logic and display. same count, as do LED1 and LED6, T he digital dice presented here The counter section is built around and LED3 and LED4. Using these three acts just like a normal dice. It binary counter IC CD4060BC (IC1). pairs of LEDs and LED7, four logical has six faces (refer Fig. 2) like The counter frequency (f) is decided combinations have been made in the the normal dice and uses four differ- by the in-built oscillator formed by re- circuit. LED1 and LED6 glow at all ent logic gate combinations to bring sistor R1 and capacitor C1 as follows: counts, except ‘0’ and ‘1.’ Further, it out the six faces of the dice. f=1/2.2R1C1. can be noticed that they glow when At the heart of the circuit is a 14- Here, the frequency is fixed at around ‘A’ or ‘B’ is high, hence a NOR gate stage ripple-carry binary counter IC 2056 Hz. whose output is A+B according to CD4060BC (IC1) with built-in oscilla- Only the first three outputs of the Boolean algebra will perform the job Fig. 1: Digital dice counter (designated as A, B of operating these LEDs. and C, respectively) have LED3 and LED4 glow at all counts, been used in the circuit. The except for the first three counts, i.e., counter is designed to reset they glow when either A, or B and C at the sixth count (110) as are high. This logic function can be ob- only six counts are required tained by using an OR gate and an for operation. This is done AND gate, but since we are using only with the help of diodes D1 NAND and NOR gates in the circuit and D2 and resistor R3, we make use of two NAND gates and which are connected such a NOR gate (with A+BC output) to that they generate an AND perform this function. logic. LED2 and LED5 glow only at the From the table it can be first and fifth counts. In other words, Fig. 2: Different faces of dice noticed that at the sixth they glow only when the complement tor. The logic section is designed count, the counter outputs A and B of B and C outputs goes high. This around CMOS quad 2-input NOR gate hold logic 1 simultaneously for the first function can be obtained by using two IC CD4001BC (IC2) and quad 2-input time, so by ANDing A and B outputs NAND gates such that their output NAND gate IC CD4011BC (IC3). The you can give logic 1 to the reset termi- corresponds to the Boolean expression display section is formed by a group nal of the counter at the sixth count, BC or B+C according to De Morgan’s of seven LEDs. thereby resetting the counter. theorem. 100 • OCTOBER 2005 • ELECTRONICS FOR YOU WWW.EFYMAG.COM CMYK
  • 2. CIRCUIT IDEAS LEDs of the display section Dice Score and LEDs Lit at Different Counts will appear to glow simultaneously Count Dice A B C LEDs lit due to the high counter frequency. score This high-frequency counting will 0 1 0 0 0 — — — LE D7 make the dice foolproof. When you 1 2 0 0 1 — — LED2 — LED5 2 3 0 1 0 LED1 — — LED7 — — LED6 remove your finger from the touch 3 4 0 1 1 LED1 LED3 — — — LED4 LED6 pad, the counter will stop counting 4 5 1 0 0 LED1 LED3 — LED7 — LED4 LED6 and the display section will show any 5 6 1 0 1 LED1 LED3 LED2 — LED5 LED4 LED6 one of the six possible faces with a 6 — 1 1 0 — — — — — — — probability of 1/6. The entire circuit can be powered LED7 glows at even counts like 0, common cathodes, as do LED2 and by a 9V battery as the inbuilt oscilla- 2 and 4. In other words, it glows LED5, and LED3 and LED4. The an- tor of the counter IC will not work when the C output is low. This func- odes of all the LEDs are tied together properly below 7V. Use of CMOS ICs tion can be achieved easily by invert- to the positive terminal of the battery means less power consumption. ing the C output twice using the re- via resistors R4 through R10, respec- The circuit can be constructed on a maining two NAND gates. The out- tively. general-purpose PCB and housed in- put will also be buffered by these two When you place your finger on side a plastic case with the LEDs array inverter gates. the touch pad, the oscillator starts os- mounted on the top as shown in Fig. The display section comprises cillating. The counter will start count- 2. The touch pad can be mounted be- seven LEDs. LED1 and LED6 have ing at the rate of 2056 Hz and all the side the array. WWW.EFYMAG.COM ELECTRONICS FOR YOU • OCTOBER 2005 • 101 CMYK