Maker Pro
Maker Pro

LED Blinking using 8051

sk micro

Mar 10, 2018
1
Joined
Mar 10, 2018
Messages
1
LED Blinking using 8051


To design LED blinking using 8051, we required Keil5 software and Proteus software. Keil software is used to write a program for 8051 in assembly or Embedded C. Proteus is used to design 8051 LED blinking circuit and test keil program.

Assembly Program:

org 00h;
led equ P2.0; // set LED pin
up:setb led; // to turn ON LED
acall delay; // Call delay
acall delay;
acall delay;
clr led; // to turn off LED
acall delay;
acall delay;
acall delay;
sjmp up
delay : // Delay Program
mov r1,#0f0h;
l1:djnz r1,l1;
ret
end

Program in Keil Software
Picture11.jpg

Circuit Simulation in Proteus software.
Picture12.jpg

Picture13.jpg


http://skmicrodesign.blogspot.in/2018/03/led-blinking-using-8051.html
 
Top