Tuesday 24 December 2013

Running LED or LED chaser Using AVR

Running LED or LED chaser Using AVR


OBJECTIVE :

The main objective of this project is build a Running LED or LED chaser Using AVR

COMPONENTS 


1.ATTiny2313 micrcontroller

2.CRISTAL 10MHz

3.CAPACITOR 22pf X 2

4.POWER SUPPLY +5V

5.RESISTOR 1K X 16

6.LED (15)


DESCRIPTION :


*This running LED or LED chaser is a good project for beginners in the micro-controller technology

*It is easy to build, and the assembler program code can be easily adapted

*This running LED light has 15 red 3mm LED's

*The 15 outputs of ports B and D are used to drive the leds

*The LED's light up in a pattern that can be made in the program code

*The LEDs run back and forth

*With a push button you can select another pattern at which the LEDs runs

*There are three running LED patterns which you can run: with one led, three leds and five leds.


HARDWARE DESCRIPTION :



*The project uses the ATTiny2313 micrcontroller but the ATTiny2313 can also be used

*The AVR port can draw 20mA current so you only have to place a resitor at the port of the AVR to limit the current to 20mA.

* The LEDs are connected to ground so when the output of the port is high the LED will go on

*The circuit uses a ceramic resonator of 10Mhz as oscillator

* When you use ATTiny2313 you can discard the resonator because they have an on chip clock source
SOFTWARE DESCRIPTION :

*The program code is written in assembler
*You can use AVR Studio to write the software



BLOCK DIAGRAM OF LED CHASER


No comments:

Post a Comment