Question: 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 60 seconds if a 4-digit code is not entered on a 4x4 keypad. There is a 2x16 LCD display that indicates in the first line "ACTIVATED=XX" where XX is the number of seconds counting down from 60 to zero. The second line shows the characters being typed from the 4-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 60 seconds are consumed, the display will show "BOOM!!!" flashing for 5 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 4-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 PIC16F887 microcontroller. Please include a screenshot from the simulator, preferably PROTEUS.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!