Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions