Electronic Dice Circuit

Home > Circuits > Light/Laser > Electronic Dice
Author Views Views Today Rank Comments
190,497 10 10

An electronic dice is a classic first project for those getting interested in electronics. A timer, counter and a few LEDs makes a circuit that can also add a new twist to some old boring board games. When the switch is pressed, a 555 timer in astable mode pulses a BCD counter which lights up a series of LEDs wired to mimic a dice. Two AND gates are used to reset the count back to one whenever the BCD output is seven. Thus, the circuit is not truly random but the natural bounce present in a pushbutton and the normal human ability to operate much slower then the oscillator make the output of the circuit seem random.


Schematic for the Electronic Dice Circuit


Total Qty.
R1, R5, R6322K 1/4W Resistor
R2110K 1/4W Resistor
R314.7K 1/4W Resistor
R41150K 1/4W Resistor
R7 - R137330 Ohm 1/4W Resistor
C111uF Electrolytic Capacitor
C214.7uF Electrolytic Capacitor
D111N4148 Signal Diode
D2 - D87Red/Green/Yellow LED
Q112N3904 NPN Transistor
U11555 Timer IC
U2174LS192 4 Bit Counter IC
U3174LS08 Quad Intengreted AND Gate IC
S11SPST Momentary Pushbutton Switch
MISC1Board, Wire, Sockets For ICs, Case


  1. Pushing and holding S1 causes the LEDs to rapidly cycle. Releasing the button locks the pattern and shows a number from 1 to 6.
  2. When building the circuit, make sure to position the LEDs as shown on the schematic. Otherwise the pattern of the dice will look weird.
  3. Two circuits can of course be both powered by one switch to make a dual dice.

Related Circuits

3 Channel Spectrum Analyzer, 40W Fluorescent Lamp Inverter, Fantastic Atom Expander, Black Light, LED Chaser, Simple Colour Organ, TRIAC Light Dimmer, 12VDC Fluorescent Lamp Driver, Infa-Red Remote Control, IR Remote Jammer, LASER Transmitter/Receiver, Light/Dark Detector, Colour (Sound) Organ, Flash Slave Trigger, Strobe Light, Adjustable Strobe Light, LED Thermometer, Electronic Dice, IR Remote Switch, LED Metronome, IR Remote Extender


Add A Comment

Electronic Dice
Thursday, March 09, 2017 12:01:24 PM
r u stupid kid theres 7 LED's because you arrange them like the face of a die to make the numbers appear like they do on the face of a die
Electronic Dice
Tuesday, February 16, 2016 2:39:56 PM
why 7 led's for 6 numbers?
Electronic Dice
Saturday, April 13, 2013 6:01:17 AM
Wow I just constructed this circuit in tina circuit Simulator and it works perfect
Electronic Dice
Thursday, March 10, 2011 11:31:02 AM
I believe that the pin 7 on IC LS192 that is pulled to VCC should be left open and pin 15 should be set to VCC instead. Please note that pin 7 is an output and that Pin 15 is the least significant input digit.
Electronic Dice
Friday, November 19, 2010 4:30:58 AM
Dice is plural, if you've only got one of them it's a die.Anyone heard the expression "The die is cast" ?
Electronic Dice
Tuesday, October 26, 2010 11:39:23 PM
Dear Anonymous of Monday, May 03, 2010. Is that a question. Well, if you look at the diagram, it says he is using 5v, so any capacitor of 6v an more is adequate. Just make sure you have a regulated 5v power supply. for anonymous saturday, september 26, 2009. Obviously not enough! I have bought them many times over on eBay, nice and safely using paypal! yes, it is that easy. You register with paypal, using either your bank account (dependant on country) or a credit / debit card. Simple.
Electronic Dice
Monday, October 18, 2010 10:58:10 PM
HELP!!! i have done this circuit, but only output number 1,2,3,6... the 4 and 5 is missing...
Electronic Dice
Monday, May 03, 2010 1:52:02 PM
How many volts are the capacitors?
Electronic Dice
Wednesday, January 06, 2010 11:28:48 PM
i think and gate is 74ls08.
Electronic Dice
Saturday, September 26, 2009 2:23:14 PM
Where can I buy the 4 bit counter and the AND gate IC's? I have looked everywhere!
The last 10 comments are currently shown. Show All Comments. Add A Comment

Back To Circuits Page | Mail Me | Search