Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Instructions:   1) Your solution should be uploaded through Blackboard as a single compressed zip file

Instructions:   1) Your solution should be uploaded through Blackboard as a single compressed zip file

Computer Science

Instructions:

 

1) Your solution should be uploaded through Blackboard as a single compressed zip file.

parts as HW-1.pktHW-2.pkt.

 

2. Use meaningful names for variables and identifiers. Add comment to your code.

It should have Good programming practices.

 

 

Preparation:

1. In Packet Tracer (PT), go to Help>Tutorials. Watch the following tutorials:

14-3: Actuators, Sensors and Smart Devices

14-6: Web Server

14-7: Things Editor and Device Manager

2. Many sample programs can be found by going to File> Open Samples

3. Cisco Packet Tracer Labs Youtube channel has many videos with examples, you can find

them in the following playlist:

https://www.youtube.com/playlist?list=PLjQ5ns7ugQskwYe8sMC5YVCMS9SBAlyyQ

 

Homework Problems:

 

Part 1: (70 Points) Using MCU or SBC to control devices:

 

You are required to design “Smart Store Door” using an MCU or SBC. The system must include:

 

1. An SBC (an MCU cannot run a webserver)

2. Two smart doors (Entry and Exit)

3. Two trip sensors (one for each door)

4. A home router or Gateway

5. An end device (Laptop or smart phone)

 

(Hint: You need to modify the ports of the trip sensor to connect it to the SBC)

 

The system will work as follows:

 

1. When either of the trip sensors is triggered, the corresponding door is opened.

2. The door stays open for 10 seconds before it closes again.

3. The MCU/SBC runs a program that monitors the status of the sensors and controls the doors. In addition, the program counts the number of people who enteredleft, and the number of people currently inside the store.

4. The system must allow a maximum of 10 people to enter the store at the same time. The entry door must be locked when 10 people are inside the store.

 

5. The SBC must run a real HTTP server that shows:

· The number of entrants 50

· Customers in the store 6 Remaining entries 4

 

6. Your system must allow viewing the system status using a smart device or web browser by connecting to the web browser.

 

(Hint: Use a real HTTP server code available under “Programming” of the MCU/SBC).

 

Test: Hover the mouse over the trip sensor while holding ALT and you should the door should

open.

 

Part 2: (70 Points) Using MCU or SBC to control devices:

You are required to design “Smart Store Door” using an MCU or SBC. The system must include:

 

1. An SBC (an MCU cannot run a webserver)

 

2. Two smart doors (Entry and Exit)

 

3. Two trip sensors (one for each door)

 

4. A home router or Gateway

 

5. An end device (Laptop or smart phone)

(Hint: You need to modify the ports of the trip sensor to connect it to the SBC)

The system will work as follows:

1. When either of the trip sensors is triggered, the corresponding door is opened.

2. The door stays open for 10 seconds before it closes again.

3. The MCU/SBC runs a program that monitors the status of the sensors and controls the

doors. In addition, the program counts the number of people who enteredleft, and the

number of people currently inside the store.

4. The system must allow a maximum of 10 people to enter the store at the same time.

The entry door must be locked when 10 people are inside the store.

5. The SBC must run a real HTTP server that shows:

· The number of entrants 50

· Customers in the store 6

· Remaining entries 4

6. Your system must allow viewing the system status using a smart device or web browser

by connecting to the web browser.

(Hint: Use a real HTTP server code available under “Programming” of the MCU/SBC).

Test: Hover the mouse over the trip sensor while holding ALT and you should the door should

open.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE