Professional Documents
Culture Documents
18DSB007 Epi&d - DJS RK
18DSB007 Epi&d - DJS RK
18DSB007 Epi&d - DJS RK
(18DSB007)
June 2019
2 Hours
_____________________________________________
_____________________________________
Answer ALL Four questions
University approved calculators are permitted
Formula Sheet provided
ALL QUESTIONS are worth 25 Marks each
_____________________________________________
____________________________
Figure 1: Non-inverting Schmitt trigger circuit and its expected Hysteresis curve
(a) Derive an expression that relates voltage at the inverting terminal ‘E’,
values of resistors R1 and R2, input voltage Vin and output voltage Vout
(5)
(c). Back substitute the value of ‘E’ derived from Q2a in equation from
Q1a to determine the values of resistors R1 and R2 (8)
(a). Draw a simple block diagram of the system that identifies the inputs
and outputs of the system (4)
(b). Draw a schematic of the system showing how the various input and
output components interface with the microcontroller (6)
(d). Write down the lines of code for a PIC18F45K20 in C language that
enables the PIC18F45K20 to monitor the number of people entering the
museum and closing the door when the number is 50 or more. (5)
Fig Q3
Fig Q4