Embedded Systems Laboratory EE-306
Embedded Systems Laboratory EE-306
Embedded Systems Laboratory EE-306
EE-306
TASK#2
Submitted by:
THUMUKINTA VIDYA-716EE4103
TABLE OF CONTENTS:
S NO. Content Page
1 Title 01
2 Objective 01
3 Equipment and Software Used 01
4 Theory 01
5 Circuit diagram 05
6 Procedure 06
7 Code with comments 07
8 Observations 10
9 Tabulation 11
10 Conclusion 11
1. Proteus 8 professional
2. Matlab
Theory:
Digital filter:
Circuit Diagram: -
The above is the circuit followed for the experimental design and was
implemented in the proteus design environment. Then, the code was written in
proteus environment from which the hex file was generated and dumped in the
microcontroller for execution.
Procedure: -
Code:
org 0000h
org 0003h
sjmp sample ;Jump to Interrupt service subroutine
main:
clr P3.1
;Interrupt service
subroutine=======================================
sample:
mov R0,P1
mov A,R5
add A,R6
mov R2,A
mov R1,A
setb P3.0
setb P3.1
clr P3.0
clr P3.1
reti
end
Observations:
Frequency response of Low Pass filter with 328 Hz as Cut off frequency:
Coefficients obtained From MATLAB FDA-Tool are:
Tabulation:
Conclusion:
The design of low pass FIR filter is done with the help of MATLAB and
Proteus and the outputs were observed and measured for frequencies below the
cut-off frequency and above the cut-off frequency