Electronic-dice

29,535

Circuit Image

The basic die circuit is provided. A 555 timer, IC1, is configured as an astable multivibrator that generates clock pulses. These pulses are sent to a divide-by-six counter, IC2, whose outputs are decoded by gates N1 to N6 to illuminate an array of LEDs in a standard die pattern. When switch S1 is in position B, the reset input of IC1 decreases, inhibiting the oscillator. Power is supplied to the LEDs via switch S1B, activating the display. When the die is rolled by switching S1 to position A, the display is blanked. Capacitor C4 is connected to the positive supply through S1A, producing a short pulse that resets IC2 via gates N7 and N8. The reset input of IC1 is pulled high through resistor R5, allowing the multivibrator to oscillate and provide clock pulses to IC2 through gate N5. When S1 is switched back to position A, the multivibrator is inhibited again, stopping the counter and allowing power to be applied to the LEDs, which then display the value of the throw.

The circuit operates as follows: The 555 timer, configured in astable mode, continuously generates a square wave output that serves as a clock signal. This clock signal is fed into a divide-by-six counter IC, which counts the pulses and outputs a signal corresponding to the number of counts. The output from the counter is then processed through a series of logic gates (N1 to N6), which decode the counter's output into a format suitable for driving the LEDs. Each LED corresponds to a face of the die, illuminating in accordance with the count output.

Switch S1 plays a crucial role in controlling the circuit's operation. In position B, the reset input of the 555 timer is lowered, stopping the oscillation and preventing any clock pulses from reaching the counter. This effectively turns off the LEDs. Conversely, when the switch is flipped to position A, the circuit is activated, and the LEDs can display the current count as determined by the counter IC.

Capacitor C4 serves an important function in resetting the counter. When the switch S1A is engaged, C4 briefly connects to the positive supply, generating a pulse that resets the counter. This ensures that every time the die is rolled, the count starts from zero, providing accurate readings with each roll.

Resistor R5 is used to pull the reset input of the 555 timer high, allowing the timer to oscillate once the switch is in position A. This enables the continuous generation of clock pulses necessary for the counter's operation. When the switch is returned to position A, the oscillation stops, and the counter ceases to increment, allowing the last counted value to be displayed on the LED array.

This circuit design effectively simulates the random number generation of a die, providing a visual representation of the roll through the LED display, making it suitable for various electronic games and applications.The basic die circuit is given. A 555 timer, ICl, is connected as an astable multivibrator. This feeds clock pulses to divide-by-six counter IC2 tbe outputs of which are decoded by gates Nl to N6 to drive an array of LEDs in the familiar die pattern. When switch Sl is in position b, tbe reset input of IC1 decreases and the oscillator is inhibited. Power is fed to the LEDs via Slb so that the display is activated. When the die is rolled by switching Sl to position a, tbe display is blanked. C4 is connected to positive supply via Sla, producing a short pulse which resets IC2 via N7 and N8. The reset input of IC1 is pulled high via R5, so tbe multivibrator begins to oscillate and feeds clock pulses to IC2 via N5. When Sl is switched back to position a, tbe multivibrator is again inhibited. Then, the counter stops and power is applied to the LEDs which display tbe value of tbe throw. 🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713