You are on page 1of 2

BRAC University

Department of Electrical & Electronic Engineering


EEE365/ EEE373 [Embedded System Design]
Mid Exam, Fall-2023
Section-2
Time: 1 Hour Total Marks: 40

There are 2 questions and all of them are mandatory. You must proceed with all the
relevant steps for calculations and analysis.
1. 2 seven-segment displays are connected with PORTx. The seven-segment displays
will count 00-99 with a unity increment after a time delay of 1 second. After showing
99, the 2 seven-segments displays will again start the operation by displaying 00.
NB: The 2 seven-segment displays are multiplexed and all of them are common
cathode and active low.
i. What is Multiplexing operation for seven-segment displays? [CO1] [6]
ii. Draw the required interfacing circuit connection mentioning the [2]
ATmega32 pin numbers you choose. [CO1]
iii. Write an embedded C program for the system. [CO2] [12]

2. A common cathode active low seven-segment display shows H for High AC


temperature and L for Low AC Temperature. Based on the status of remote, the
course teacher presses Switch #1 to show H and Switch #2 to show L. Once the
switch is pressed, the H/L status is shown for 10 seconds. If no switch is pressed, the
display shows nothing.
i. What is a pull-up resistor? How will you activate the internal pull-up [3+3]
resistors? [CO1]
ii. Draw the required interfacing circuit connection mentioning the [2]
ATmega32 pin numbers you choose. [CO1]
iii. Write an embedded C program for the above-mentioned scenario. [12]
[CO2]

You might also like