Connect with us

LED Blinking using 8051

Discussion in 'Microcontrollers, Programming and IoT' started by sk micro, Mar 10, 2018.

Scroll to continue with content
  1. sk micro

    sk micro

    1
    0
    Mar 10, 2018
    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
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    10,574
    2,357
    Nov 17, 2011
    Is there a question hidden somewhere?
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-