Sometimes we need to make a quick decision but choosing is not easy, so we flip a coin.
Now imagine doing the same with electronics.
This Transistor Based Coin Toss Game Circuit works like a real coin toss and it gives random result every time.
When power is applied, no one knows the result.
One LED will glow randomly and so the decision is fair.
Moreover, the circuit is very simple and also it is good for beginners.
Therefore, this project is fun and useful.
Circuit Working:

Parts List:
| Components | Value | Quantity |
|---|---|---|
| Resistors | 470Ω | 2 |
| 1k, 10k, 3.3k | 2 each | |
| Capacitors | Electrolytic 10uF 25V | 2 |
| Electrolytic 220uF 25V | 1 | |
| Semiconductors | Transistors BC547 | 2 |
| Open Push Button Switch | 1 | |
| LEDs any color | 2 | |
| Power Supply 9V DC | 1 |
This circuit works as an astable multivibrator and it uses two NPN transistors in cross-coupled connection.
In astable multivibrator, no state is stable and both transistors switch ON and OFF again and again.
This action depends on resistors and capacitors.
First, 9V supply is given and then push button S1 is pressed.
Capacitor C2 gives a short power pulse and at the same time C1 and C3 start charging.
Now both transistors try to turn ON, but due to small component difference one transistor turns ON first.
So balance breaks and one transistor goes ON and other goes OFF.
If Q1 turns ON then LED1 glows and if Q2 turns ON then LED2 glows.
After switch release the oscillation stops and only one LED stays ON.
So output looks random and hence, circuit works like electronic coin toss.
Formula with Calculation:
Below is Astable multivibrator time period formula:
T = 0.693 × (R × C)
here,
- R is 10k
- C is 10uF
So,
T = 0.693 × 10000 × 10 × 10^-6
T = 0.0693 seconds
Frequency formula:
F = 1 / T
F = 1 / 0.0693
F = 14.4 Hz
This fast switching creates randomness.
How to Build:
To build a Transistor Based Coin Toss Game Circuit follow the below connection steps:
- Gather all the parts as shown in circuit diagram.
- Q1 transistor emitter pin goes to ground
- Collector pin goes to LED1 and resistor R1, R2 and R3.
- Base pin connects to resistor R3, R5, R6 and capacitor C3
- Q2 transistor emitter pin goes to ground
- Collector pin goes to LED2 and resistor R8
- Base pin connects to resistor R4 and capacitor C1.
- Resistor R2 connect parallel to LED1 and resistor R7 connect parallel to LED2
- Capacitor C2 positive connects switch one end.
- And negative connects to GND.
- Power Supply 9V positive goes to VCC line.
- 9V negative goes to ground.
Conclusion:
To conclude, this Transistor Based Coin Toss Game Circuit is simple and fun to try for.
It uses basic electronic components and it works on a simple concept.
Because of transistor mismatch, randomness is produced.
Therefore, results cannot be predicted.
Finally, this circuit is ideal for beginners as it helps to understand multivibrators clearly.
So, it is a good learning project.
References:
A boolean circuit used as a one-way function for the coin-toss
Leave a Reply