Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 1/23 1. Write an ALP to generate 10 khz square wave 2. Write an ALP to generate 10 khz freq. Using interrupts. 3. Write an ALP to interface one microcontroller with other serial/parallel communication. 4. Write an ALP for temperature measurment to display on intelligent LCD display. 5. Write an ALP for temperature measurement to display on intelligent LCD display. 6. Develop an embedded system for traffic light controller using microcontroller. 7. Develop an embedded system for automatic motion of a car & susequet display on LCD using microcontroller. 8. Write an ALP to add two numbers & display the result on LED 9. Write an ALP to add two numbers & display the result on LCD 10. Write an ALP to multiply two numbers & display the result on LED 11. Write an ALP to multiply two numbers & display the result on LCD MICROCONTROLLER & EMBEDDED SYSTEM LAB LIST OF EXPERIMENTS:
23
Embed
MICROCONTROLLER & EMBEDDED SYSTEM LAB · 2021. 2. 16. · Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 2/23 Write an ALP to generate 10 khz square wave using
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 1/23
1. Write an ALP to generate 10 khz square wave2. Write an ALP to generate 10 khz freq. Using interrupts.3. Write an ALP to interface one microcontroller with other serial/parallel communication.4. Write an ALP for temperature measurment to display on intelligent LCD display.5. Write an ALP for temperature measurement to display on intelligent LCD display.6. Develop an embedded system for traffic light controller using microcontroller.7. Develop an embedded system for automatic motion of a car & susequet display on LCD
using microcontroller.8. Write an ALP to add two numbers & display the result on LED9. Write an ALP to add two numbers & display the result on LCD10. Write an ALP to multiply two numbers & display the result on LED11. Write an ALP to multiply two numbers & display the result on LCD
MICROCONTROLLER & EMBEDDED SYSTEM LAB
LIST OF EXPERIMENTS:
Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 2/23
Write an ALP to generate 10 khz square wave using 8051 microcontroller.
Keil software, PC, Embedded system kit.
mov tmod ,#01h // This will initialize timer0 in 16 bit timer modeagain: mov Tl0,#0d2h
mov th0,#0ffhsetb tr0 // This will start timer
back: jnb tf0,backclr tr0cpl p1.5 //Generate square wave on 6th pin of port 1clr tf0sjmp again
end
Square wave will be generated at P1.5 pin.
GENERATION OF 10 KHz SQUARE WAVEUSING 8051 MICROCONTROLLER
OBJECT:
APPARATUS REQUIRED:
PROGRAM:-
COMMENT:
Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 3/23
Write an ALP to generate 10 khz square wave using 8051 microcontroller.
main: mov tmod ,#01h // This will initialize timer0 in 16 bit timer modemov Tl0,#0d2hmov th0,#0ffhmov ie,#82h //This will activate exeternal interrupt 1setb tr0
here: sjmp hereend
Whenever we will give any interrupt signal at P3.2 pin frequency will be generated at P1.5.
APPARATUS REQUIRED:
PROGRAM:-
COMMENT:
GENERATION OF 10 KHz SQUARE WAVEUSING INTERRUPTS
OBJECT:
Lab Manuals (MES) Department of ECE, BRCM CET, Bahal (Bhiwani) Page 4/23
write an ALP to interface one microcontroller with other serial/parallel communication.