• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LED Blinking using 8051

    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

    Comments
 

EE World Online Articles

Loading

 
Top