Simple Programmable Electronic Dice with Numeric Display

Here’s a simple programmable electronic dice with numeric display . This dice can be programmed using a 4-way DIP switch to display any random number between ‘1’ and ‘2,’ ‘1’ and ‘3,’ ….. or ‘1’ and ‘9.’ To obtain the desired dice range, inner switches A, B, C and D of DIP switch are to be set as per the table. For example, if you want the electronic dice to count from 1 to 8, close switches A and D and keep B and C open. On pressing switch S1, the display varies fast between ‘1’ and ‘8.’ When you release S1, the display stops shuffling and the last (latest) number remains on it. IC1 is a dual 4-input Schmitt trigger NAND gate 74LS13. Gate N1 is used as an oscillator built using resistor R2 and capacitor C1 to produce approximately 70kHz clock frequency, which is fed to IC2. Gate N2 loads data at the inputs of IC2. IC2 is a presettable binary counter (74LS191) with parallel loading facility. Whenever its pin 11 goes low, the data present at its inputs D through A (which is ‘0001’) appe...