EEE334 Mid

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Department of Electrical & Electronic Engineering

Independent University, Bangladesh


BAETE
Accredited

Q. No. COs Marks Total Course EEE 334


1 CO1 Term Autumn 2021
2 CO2 Test Midterm Exam
3 CO2 Section 1

Marks 4 CO2 Full Marks 30


Obtained 5 CO1
6 CO3 Time (30 + 60) minutes
7 (I) CO3
7 (II) CO3
Date November 14, 2021
7 (III) CO4
1. Answer ALL questions
2. All questions have different points.
Instructions
3. Mobile phones or any electronic gadget is not allowed as a calculator.
4. Partial grading is available.
Student Name Student ID

Q.1. Employ the following terms of your microcontroller’s: digital ports, i/o pins, analog channels, PWM,
Timer, bit no. 3

Q.2. Elaborate RMS value and how can you calculate RMS voltage and current to display it on LCD with a
corresponding circuit diagram and code instructions steps. Explain the importance of detecting zero-
crossings to measure these values. 4

Q.3. Derive the instruction to create a PWM signal frequency in kHz according to your ID’s last 2 digits
with the appropriate equation and Timer 2 setup explanation. 3

Q.4. Explain, how can you control the duty cycle of a PWM signal with a reference voltage and display it to
an Oscilloscope by using a 20MHz clock? Explain it with a corresponding circuit diagram and code
instructions steps. 3

Q.5. Interpret the instruction for: conditional while loop, seven-segment function, adc read from a channel, adc
clock setup, PWM channel setup, declaring a float variable. 3

Q.6. Compute the range of an input signal to your microcontroller and the range in the side of ADC of 8 bit?
2

Q.7. Project:

Submit the given experiments; Q2, Q4 and Q8 by using Proteus Design Suite, and CCSE Compiler and
complete the following task: 4+4+4
i. Assemble and analyze circuit design by using Proteus Design Suite.
ii. Create the firmware (Code) by using the CCS C compiler.
iii. Demonstrate and submit the project.

Q.8. MT Experiment: Design and develop the Proteus Simulation circuit for: 3 push bottoms, 3 LEDs and a
LCD, 1 temperature sensor and complete the following tasks-

a. Press push bottom 1: LED blinks 1 by 1.


b. Press push bottom 2: Display 00 to IDs last two digits in 7-segment.
c. Press push bottom 3: Display temperature in LCD.

You might also like