In this project I will show you how to build a circuit that will generate a random number between 0 and 99 by a simple press of a button.
The circuit uses two 7 segment displays driven by a decade decoder. The decade decoder is suppled a clock signal from a 555 timer. A tactile button is placed in series of the clock signal so when it is pressed it will supply the decade counter with a signal and it will count the displays up.
I designed a PCB so that all the components can be neatly connected together. The circuit can be powered using 5 volts it can be connected to the PCB via the screw terminal in the top left of the PCB.
To use the project supply the circuit with 5 volts and then press the button it will then scroll though the numbers. let go of the button and it will select a number.
I thank PCBWay & LCSC Electronics for the partnership.
PCBWay is a cheap and reliable service where you can get your PCBs manufactured. All the PCBs are high quality and the engineers are very helpful. Sign up today and get a $5 welcome bonus. Check out PCBWay's Hackster page. Also check out their Gift shop and Gerber viewer.
LCSC Electronics Is China's leading Electronic Components Distributor. LCSC sells a wide variety of high quality electronic components at low prices. With over 150, 000 parts in stock they should have the components you need for your next project. Sign up today and get $8 off on your first order.
Check out more of my other projects on my website.