Interfacing of Led With AVR Microcontroller

by embeddedbymedhavi in Circuits > Microcontrollers

133 Views, 1 Favorites, 0 Comments

Interfacing of Led With AVR Microcontroller

led_pic.jpg

Led ( Light emitting diode) : Light Emitting Diodes are the mostly commonly used components in many applications. They are made of semiconducting material. This article describes about basic interfacing of LEDs to the 8051 family microcontrollers.

Circuit Diagram for Blinking a Led:

ledavr4.png

Program for Blinking a Led:

ledavr1.png

Simulation of LED is given in above.

C Code of LED :

Program to Switch on and Off an 32 Leds Connected at PORTA, PORTB, PORTC,PORTD.

ledavr2.png

Simulation of LED is given in above.

C Code of LED :

Downloads

Program to Moving 32 Leds Connected at PORTA, PORTB, PORTC,PORTD.

ledavr3.png

Simulation of LED is given in above.

C Code of LED :

Downloads

Video of Led With AVR Microcontroller

Interfacing of Led with AVR Microcontroller:

Any Query related Embedded System , IOT and Raspberry PI go to My Blog:

embeddedbymedhavi