Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

left . The red led will flash 3 times with a period of 1 second to indicate the number of trials The user has 3

image text in transcribed

image text in transcribed

left . The red led will flash 3 times with a period of 1 second to indicate the number of trials The user has 3 trials to open the safe The system will wait for the user to enter 4 digits and then press Enter. The combinations entered by the user should be displayed on the Serial Monitor If the user enters the wrong code 3 times in a row the system is locked, the red led is turned on permanently and a message is displayed: "System Locked." When a wrong code is entered the red led should flash n times to indicate the number of trials left(3, 2 then 1) If the correct code is inserted, the green Led is turned on. The yellow led should remain on all the time to indicate the system has power. The combination lock should be saved in an array of 4 bytes. Ex: byte code(41=(2,3,0,0); The Arduino program should be clear, structured with functions, and well documented. Project I-Safe Lock We wish to develop a safe lock system. 1. Implement the following design: OO UNO 09 S. ENTER 2. List of Components: Quantity Component 1 Arduino Uno R3 1 Red LED 1 Green LED 1 Yellow LED 3 220 Resistor 6 1k0 Resistor 6 Pushbutton 3. Write a program on Arduino that will be used as a safe lock: Consider having 5 digits 0, 1, 2, 3 and 4 respectively corresponding to 5 pushbuttons. When the microcontroller is turned on the safe is locked. On the Serial Monitor we should see: "System is online." When the system is powered, the yellow led is turned on

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

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

Give the five characteristics of a binomial random variable.

Answered: 1 week ago