Bomb Deactivation Game

28,764

Circuit Image

Should I cut the blue wire... or the red...? This is a very common phrase in many movies when the action hero has a bomb in front of him with little time left and he has to choose which wire to cut and stop the bomb from exploding saving millions of people. This game is just that... a countdown timer and 4 wires of different colors. The player has to remove each wire until it deactivates the bomb. More: R1 1K ohms resistor R2 1K ohms resistor R3 560 ohms resistor R4 560 ohms resistor R5 4K7 ohms resistor R6 10K ohms resistor R7 10K ohms resistor R8 10K ohms resistor R9 10K ohms resistor R10 10K ohms resistor C1 10uF capacitor T1 BC548 Transistor T2 BC548 Transistor Piezo HPE-120 piezo Digits Dual 7 segment display - LTD6410G IC1 16F88 microcontroller from Microchip S1 Push button Others: Box PCB Wires 4.8V Battery Pack Hex program for the microcontroller The PCB used for this Project is double layer and its size is 70.79 mm x 42.01 mm. Turning the power on, the display and piezo will start small introduction. After the introduction, the message "S1" will appear on the display meaning that S1 needs to be pressed for the game to start. All four wires must be plugged in. If one of the wires is not plugged in, the message "EE" will display meaning that an error occurred and the game will not begin. As the game begins, the countdown will start. The display shows the timer and 15 seconds is all the time we have to defuse the bomb. There are four wires - red, green, blue and white. Unplugging them will simulate the cutting of the wire. Only one wire can be unplugged at a time and each wire can only be used once per play. There are four actions possible - defuse the bomb, explode the bomb, increase timer speed and no consequence. There is no need to change the color position because each position will correspond to a random action. Every time a wire is unplugged, its action will be randomly given meaning that it's possible that even all of the wires will not defuse the bomb.

The designed circuit operates as a game simulation of a bomb defusal scenario. The core of the circuit is a Microchip 16F88 microcontroller (IC1), which manages the game logic and timing. The microcontroller is programmed with a hex file that defines the game rules and responses based on user interactions.

The game begins with the activation of a 4.8V battery pack, powering the circuit. Upon powering on, the dual 7-segment display (Digits) illuminates, and a brief introduction is played through the piezo buzzer (Piezo HPE-120). The display then prompts the player to press the push button (S1) to start the game.

The circuit includes several resistors (R1 to R10) and capacitors (C1) that are used for debouncing the button and filtering signals to ensure stable operation. The resistors also help set the biasing of the transistors (T1 and T2), which can be utilized for driving the piezo buzzer or other output signals.

The game mechanics involve four wires—red, green, blue, and white—each connected to the microcontroller through designated input pins. The player must unplug one wire at a time to simulate the act of cutting a wire. The microcontroller randomly assigns an action to each wire, which could either defuse the bomb, cause it to explode, increase the timer speed, or have no consequence. The game is designed to be challenging, as only one wire will successfully defuse the bomb, and the player has a limited time of 15 seconds to make their choice.

The PCB layout is double-layered, measuring 70.79 mm x 42.01 mm, which allows for compact integration of all components while maintaining a clean and organized structure. This layout facilitates easy connections and minimizes signal interference, enhancing the overall reliability of the game.

In summary, this circuit design effectively creates an engaging and interactive game experience, simulating the tension of a bomb defusal scenario while incorporating fundamental electronic components and principles."Should I cut the blue wire... or the red...?" This is a very common phrase in many movies when the action hero has a bomb in front of him with little time left and he has to choose which wire to cut and stop the bomb from exploding saving millions of people. This game is just that... a count down timer and 4 wires of different colors. The player has to remove each wire until it deactivates the bomb. R1 1K ohms resistor R2 1K ohms resistor R3 560 ohms resistor R4 560 ohms resistor R5 4K7 ohms resistor R6 10K ohms resistor R7 10K ohms resistor R8 10K ohms resistor R9 10K ohms resistor R10 10K ohms resistor C1 10uF capacitor T1 BC548 Transistor T2 BC548 Transistor Piezo HPE-120 piezo Digits Dual 7 segment display - LTD6410G IC1 16F88 microcontroller from Microchip S1 Push button Others: Box PCB Wires 4.8V Battery Pack Hex program for the microcontroller I've decided to build my version on a breadboard because it has a more realistic look. All the wires and components create a better game experience. Anyway I have made a pcb drawing making it possible to create a clean build. The PCB used for this Project is double layer and its size is 70.79 mm x 42.01 mm. Turning the power on, the display and piezo will start small introduction. After the introduction, the message "S1" will appear on the display meaning that S1 needs to be pressed for the game to start.

All four wires must be plugged in. If one of the wires is not plugged in, the message "EE" will display meaning that an error occurred and the game will not begin. As the game begins, the count down will start. The display shows the timer and 15 seconds is all the time we have to defuse the bomb. There are four wires - red, green, blue and white. Unplugging them will simulate the cutting of the wire. Only one wire can be unplugged at a time and each wire can only be used once per play. There are four actions possible - defuse the bomb, explode the bomb, increase timer speed and no consequence.

There is no need to change the color position because each position will correspond to a random action. Every time a wire is unplugged, its action will be randomly given meaning that it's possible that even all of the wires will not defuse the bomb.

🔗 External reference