- Blog entry posted in '8051 Interfacing', March 10, 2018.
To design LED blinking using 8051, we required Keil 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
Click the following link for circuit keil and proteus simulation
http://skmicrodesign.blogspot.in/2018/03/led-blinking-using-8051.html