Micro LR 5
Micro LR 5
EXPERIMENT NO 05
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Date: Signature:
2
Experiment 05
Lab Tasks:
Task1:
Write a code to continuously turn an LED on and off in Keil μVision. Burn
this code on 8051 microcontroller chip and obtain the results. Verify the
results in Proteus.
Code:
org 00h
mov r3,#008h
main:
mov p2,#000h
lcall delay
mov p2,#0ffh
lcall delay
djnz r3,main
delay:
mov r6,#255
dl1:
mov r7,#255
djnz r7,$
djnz r6,dl1
ret
end
Schematics:
3
Conclusion:
The µVision IDE combines project management, run-time environment, build facilities,
source code editing, and program debugging in a single powerful environment. µVision
is easy-to-use and accelerates your embedded software development.
8051 is one of the first most popular microcontroller also known as MCS-51. Intel
introduced it in the year 1981.