0% found this document useful (0 votes)
62 views3 pages

CSE 360 Final Summer 2020 Set 1 PDF

This document contains instructions for a final exam for a computer interfacing course. It details 4 questions to be answered in 2 hours and provides context and scenarios to consider for each question. Question 1 involves suggesting solutions for fingerprint registration and queue length estimation systems for COVID testing centers. Question 2 describes interfacing a matrix keyboard and 7-segment display with an 8255 chip. Question 3 involves designing a smart gardening system to measure temperature and humidity using sensors and an LCD display. Question 4 asks about protocols for communication between multiple Arduino master devices and slave devices.

Uploaded by

kaiser hira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views3 pages

CSE 360 Final Summer 2020 Set 1 PDF

This document contains instructions for a final exam for a computer interfacing course. It details 4 questions to be answered in 2 hours and provides context and scenarios to consider for each question. Question 1 involves suggesting solutions for fingerprint registration and queue length estimation systems for COVID testing centers. Question 2 describes interfacing a matrix keyboard and 7-segment display with an 8255 chip. Question 3 involves designing a smart gardening system to measure temperature and humidity using sensors and an LCD display. Question 4 asks about protocols for communication between multiple Arduino master devices and slave devices.

Uploaded by

kaiser hira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

BRAC UNIVERSITY

Department of Computer Science and Engineering

Examination: Final Semester: Summer 2020


Duration: 2 Hours (120 minutes actual) + 30 Full Marks: 40
minutes extra for uploading the document +
other issues.
CSE 360: Computer Interfacing

Your actual time for answering these 4 questions is 2 Hours (120 minutes) + Extra 30 minutes is
for internet, load-shedding issue, and the most important is converting your answer sheet to pdf,
renaming it by your Section_ID (for example- 02_160217) and uploading it on buX. Any request
of “can’t upload the document because the time is over, I was writing till the end of 2 hours and
can’t upload the document” will NOT be accepted. There will be no backup final. Hope for the
best.

Questions ( Set 1)

Q1. In this pandemic, to help mass people, BRAC settled down some COVID testing Mark
Booths all over the country. They are facing some scenarios depending on this
pandemic situation. Write the answer of the following scenario-based questions
according to the marks. [Total 10]
a) Scenario1: COVID testing booths are recently trying to establish fingerprint 4
mechanism for each patient to register their name directly on register book of
COVID Patient (except under 18). Can you suggest them how they can
establish a secured fingerprint sensor by explaining them the working of that
sensor and connect it with Arduino or Raspberry Pi to anyone of the BRAC
Software and Development team? You must explain the data flow of the
Sensor, GPIO (if used) and a processing unit (Arduino / Raspberry Pi)?
Describe shortly.

b) Scenario2: For COVID test, the patients are having long queue in front of 4
every testing booth. When they start from home, they don’t know how many
patients will be tested on that time. They are sick people and don’t like to
stay long in a queue. It will be really helpful, if they can know the queue size
in advance from home. (for example: You can use any sensors or device or
counter that will count the number of patients, record the data on cloud and
send the user via mobile sms). Can you establish a system for them by using
any Sensor, GPIO devices and a processing unit (Arduino / Raspberry Pi)?
Describe shortly.

c) Scenario3: The recently established COVID testing booths of BRAC are 2


now targeting to increase security system. Can you suggest how they can do
it by Raspberry Pi?

This study source was downloaded by 100000870860068 from CourseHero.com on 09-01-2023 01:25:07 GMT -05:00

https://www.coursehero.com/file/71390853/CSE-360-final-Summer-2020-Set-1pdf/
NB: Answer can be different for each student. You can use any sensor, GPIO
or processing device from your knowledge, but the answer must be logical.

Q2. Let's assume a scenario, A Matrix Keyboard is connected to 8255. Suppose, rows
are connected to port A and columns are connected to port B of 8255. User wants
to see the pressed key in a seven-segment display [no handshaking is needed].
(For example: If the user press 5 in matrix keyboard, it will be displayed on the
seven-segment display). [Total 10]

Figure: Matrix Keyboard and Seven-Segment Display Interfacing with 8255.

a) How can you connect a matrix keyboard and a seven-segment display in 1.5
8255 in which ports and in pins?
b) What is the value of the control word register? [mention the reason] 1.5
c) Suppose the user pressed the button 5 in matrix keyboard and 5 is displayed 3.5
on Seven-segment display. Explain the input and output mechanism of 8255
and the devices. You must mention the port and pin number, signals, type of
data passing through ports.
d) You know that, in matrix keyboard the buttons are usually push-buttons. 3.5
Moreover, we face key-debouncing when we use push buttons in keyboard.
Explain key-debouncing and key-debouncing technique (Software or
Hardware).

Q3. a) Suppose, we would like to make an artificial smart gardening system in UB2 4
of BRAC University, we know to make a smart and suitable garden for
plants, we need to measure temperature and humidity from environment.
Explain the sensors and working mechanism of those sensors which can
serve the above purposes. [Total 10]

b) While using those sensors, to display reading from those sensors, we want to 2
use LCD Display. On the display, cursor will move from left to right.

This study source was downloaded by 100000870860068 from CourseHero.com on 09-01-2023 01:25:07 GMT -05:00

https://www.coursehero.com/file/71390853/CSE-360-final-Summer-2020-Set-1pdf/
Figure: Humidity and temperature measurement using Arduino and displaying data on LCD

From the above scenario, Explain In which case Data register will perform,
and in which case command register will perform. Explain the reasons also.

c) How IC will send data to LCD. Explain them in both cases of half byte and 2
full byte mode. What are the differences between them?
d) There is a RAM inside LCD. What values will be stored there if the humidity 2
is 35. You can just show the values stored in LCD RAM for 35 only.

Q4. Suppose, to design an interfacing project, you have to use two Ardiuno as Master
devices for multitasking. You can connect several slave devices easily with these
master devices. Now answer the following questions. [Total 10]
a) Identify the protocol and explain the working mechanism of the protocol 4
b) If there arises a scenario, where two masters have to transfer data at the same 2
time, then how will the protocol solve this conflicting issue?
c) Can you identify another protocol with the same synchronous property but a 4
little bit faster than it and has no byte transfer limitation? List the differences
of these two protocols.

This study source was downloaded by 100000870860068 from CourseHero.com on 09-01-2023 01:25:07 GMT -05:00

https://www.coursehero.com/file/71390853/CSE-360-final-Summer-2020-Set-1pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like