You are on page 1of 20

Lingaya’s Institute of Management and Technology, Faridabad

“Par excellence with human touch”

B.TECH.
Semester – VII

DIGITAL SIGNAL PROCESSING


(EE-427-E)

PRACTICAL NOTE BOOK

Nachauli, Old Faridabad – Jasana Road,


Faridabad – 121002, Phone – 2201008, 2201009
E-mail: limat@limat.org

Name : RAJAT GUPTA


Roll No. : 5-EC-84 Branch : ECE
Group : G3 Session : 2008-2009

Prepared by ECE deptt.


Ms. Amrita Rai
Ms. Richa Jain
Lingaya’s Institute of Management and Technology, Faridabad
“Par excellence with human touch”

B.TECH.
Semester – VII

EMBEDDED SYSTEM DESIGN


(IC-417-E)

PRACTICAL NOTE BOOK

Nachauli, Old Faridabad – Jasana Road,


Faridabad – 121002, Phone – 2201008, 2201009
E-mail: limat@limat.org

Name : RAJAT GUPTA


Roll No. : 5-EC-84 Branch : ECE
Group : G3 Session : 2008-2009

Prepared by ECE deptt.


Ms. Seema
Lingaya’s Institute of Management and Technology, Faridabad
“Par excellence with human touch”

B.TECH.
Semester – VII

DIGITAL COMMUNICATION
(EE-427-E)

PRACTICAL NOTE BOOK

Nachauli, Old Faridabad – Jasana Road,


Faridabad – 121002, Phone – 2201008, 2201009
E-mail: limat@limat.org

Name : RAJAT GUPTA


Roll No. : 5-EC-84 Branch : ECE
Group : G3 Session : 2008-2009

Prepared by ECE deptt.


Mr. G.Jagdeesh

EMBEDDED SYSTEM DESIGN LAB

List of Experiments

1. Study of development tools/environment for Microcontrollers (8051 & PIC) programme.


2. Write a program to add 2 numbers and display the result on LED’s in Binary form on port 0.
3. Write a program of flashing LED’s connected at port 1 of the microcontroller.
4. Write a program to multiply two numbers and display the result on ports.
5. Write a program for Seven Segment Display.
6. Write a program for alternate LED connected at port 0 of the microcontroller.
7. Write a program to generate 10 KHz square wave.
8. Write a program to generate 10 KHz frequency using interrupts.
9. Write a program to interface one microcontroller with other using serial/parallel
communication.
10. Write a program for temperature & pressure measurement & to display on intelligent LCD
display.
11. Develop an embedded system for traffic light controller using Microcontroller.
12. Write a program for PWM based speed control of motor.
13. Write a program for PWM based regulator of voltage.
EXPERIMENT NO. : 02

AIM:
Write a program to add 2 numbers and display the result on LED’s in Binary form on port 0.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

PROGRAM:

RESULT:
EXPERIMENT NO. : 03

AIM:
Write a program of flashing LED’s connected at port 1 of the microcontroller.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

PROGRAM:

RESULT:
EXPERIMENT NO. : 04

AIM:
Write a program to multiply two numbers and display the result on ports.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

PROGRAM:

RESULT:
EXPERIMENT NO. : 05

AIM:
Write a program for Seven Segment Display.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

PROGRAM:

RESULT:
EXPERIMENT NO. : 06

AIM:
Write a program for alternate LED connected at port 0 of the microcontroller.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

PROGRAM:

RESULT:
EXPERIMENT NO. : 07

AIM:
Write a program to generate 10 KHz square wave.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor, CRO.

THEORY:
The 8051 has two timers: timer 0 and timer 1. They can be used either as timers or as event counters.
Both timer 0 & timer 1 are 16 bits wide. Since the 8051 has an 8-bit architecture, each 16 bit timer is
accessed as two separate registers of low byte and high byte. Both timer use the same register, called
TMOD, to set the various timer operation modes. TMOD is an 8-bit register in which the lower 4 bits are
set aside for timer 9 and the upper 4 bits for timer 1. In each case, the lower 2 bits are used to set the timer
mode and the upper 2 bits to specify the operation.

PROGRAM:

RESULT:
EXPERIMENT NO. : 08

AIM:
Write a program to generate 10 KHz frequency using interrupts.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor, CRO, interrupting kit.

THEORY:
The six interrupts in the 8051are allocated as follows:
1. Reset when the reset pin is activated, the 8051 jumps to address location 0000. This is the power-up
reset.
2. Two interrupts are set aside for the timers: one for timer 0 and one for timer 1. Memory locations
000BH and 001BH in the interrupts vector table belong to timer 0 and timer 1. Respectively.
3. Two interrupts are set aside for external hardware interrupts. Pin numbers 12(P3.2) and 13(P3.3) in
port 3 are for the external hardware interrupts INT0 and INT1, respectively. These external interrupts
are also referred to as EX1 and EX2. Memory locations 0003H and 0013H in the interrupt vector
table are assigned to INT0 and INT1, respectively.
4. Serial communication has a single interrupt that belong to both receive and transmit. The interrupt
vector table location 0023H belong to this interrupt.

PROGRAM:

RESULT:
EXPERIMENT NO. : 09

AIM:
Write a program to interface one microcontroller with other using serial/parallel communication.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor.

THEORY:
Serial data communication uses two methods, asynchronous and synchronous. The synchronous method
transfers a block of data at a time, while the asynchronous method transfers a single byte at a time. It is
possible to write software to use either of these methods, but the programs can be tedious and long.

PROGRAM:

RESULT:
EXPERIMENT NO. : 10

AIM:
Write a program for temperature and pressure measurement & to display on intelligent LCD.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor, temp. kit.

THEORY:
The sensors of the LM34 series are precision integrated- circuit temperature sensors whose output voltage
is linearly proportional to the Fahrenheit temperature. The LM34 requires no external calibration since it
is internally calibrated. It outputs 10mv for each degree of Fahrenheit temperature change.

PROGRAM:

RESULT:
EXPERIMENT NO. : 11

AIM:
Develop an embedded system for traffic light controller using microcontroller.

APPARATUS:
Universal microcontroller kit, 8051 IC, power supply, adaptor, traffic control kit.

PROGRAM:

RESULT:
EXPERIMENT NO. : 12

AIM:
Write a program for PWM based speed control of motor.

APPARATUS:
Universal microcontroller kit, PIC, power supply, adaptor, speed control kit.

PROGRAM:

RESULT:
EXPERIMENT NO. : 13

AIM:
Write a program for PWM based regulator of voltage.

APPARATUS:
Universal microcontroller kit, PIC, power supply, adaptor, speed control kit.

PROGRAM:

RESULT:
Q1: How many timers do we have in the 8051?

Q2: In the instruction “MOV TH1,#-200”, find the hex value for the TH register.

Q3: What is the job of the TMOD register?

Q4: For counter 0. which pin is used to input clocks?

Q5: Give another instruction to perform the action of “SETB TR0”.


Q1: Which technique, interrupt or polling, avoids tying down the microcontroller?

Q2: Including reset, how many interrupts does 80510have?

Q3: In 8051, what memory area is assigned to the interrupt vector table?

Q4: Which pin of 8051 is assigned to the external hardware interrupt INT0 and INT1?

Q5: How many bytes of ROM space are assigned to the reset interrupt, and why?
Q1: Which timer of the 8051 is used to set the baud rate?

Q2: Which mode of the timer is used to set the baud rate?

Q3: When is T1 raised?

Q4: Which register has the SMOD bit, and what is its status when the 8051 is powered up?

Q5: Which register is used to set the data size?


INDEX

S.No. List of Experiments Date Remarks


1. To represent basic signals(unit step, unit
impulse, ramp, sin, cos, tan, cot)
2. To develop program for discrete convolution
3. To develop program for discrete correlation
4. To understand stability test
5. To understand sampling theorem
6. To design analog filter(low pass, high pass,
band pass, band stop)
7. To design butterworth filter
8. To design FIR filter using windows technique
9. To design chebychev filters
10. To develop a program for computing parallel
realizarion values of IIR digital filter

You might also like