Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A briefcase that, when opened, activates a bomb that will explode in 6 0 seconds if a 4 - digit code is not entered on
A briefcase that, when opened, activates a bomb that will explode in seconds if a digit code is not entered on a x keypad. There is a x LCD display that indicates in the first line "ACTIVATEDXX where XX is the number of seconds counting down from to zero. The second line shows the characters being typed from the digit secret code to deactivate the bomb; four numbers and the symbol # are typed for each attempt. If deactivated successfully, the first line will indicate "DEACTIVATED." If the seconds are consumed, the display will show "BOOM!!!" flashing for seconds. We must place a speaker with a capacitor in series to make a "beep" every second to make the bomb simulation more realistic. When it explodes, try to make some noise in this speaker.
There should be a mechanism to program the security code. This is when the bomb is deactivated; I can press the C key, and the display then asks for a digit code and press the A key to enter the new code that will work from then on
The mechanism to activate will be to close the briefcase, press a switch, and when the briefcase is opened, the countdown described is activated. Also, place a red LED that, when turned on indicates that the bomb and countdown are active. When deactivated, this red LED will turn off.
Try to develop a sound in the speaker that is more like a real explosion.
Note: This task must be implemented in MikroC using a PICF microcontroller. Please include a screenshot from the simulator, preferably PROTEUS.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started