Professional Documents
Culture Documents
EEE334 Mid
EEE334 Mid
EEE334 Mid
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-