8051 Interface – LED

 This tutorial you can learn hello wold LED Blinking project in keil for micro controller. choosed AT89S51 micro controller(You can select any other keil support micro controller) and demonstrated, this is very simple and follow this below steps,
Light Emitting Diodes (LEDs) are simple and most commonly used electronic components to display the digital signal states. The LED emits light when current is passed through it. It could blow up if we pass more current, hence we put a current limiting resistor. Usually, 220, 470 and 1K ohm resistors are commonly used as limiting resistors. You can use any of these depending on the required brightness. Lets, start blinking with LEDs and then generate the different patterns using the available LEDs.
The basic and important feature of any controllers is the number of GPIO’s available for connecting the peripherals. 8051 has 32-gpio’s grouped into 4-Ports namely P0-P3

Required software

 

Required components and Programmer

  • 1x AT89S51 Controller
  • 1x 4Mhz Crystal
  • 2x 22pf capacitor
  • 1x LED 5v
  • ISP AVR USB programmer

 

Circuit Diagram

 C code

 

Assembly Code

 



 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

if you have any queries call us +918300026060 or WhatsApp Dismiss

0

Your Cart

%d bloggers like this: