Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
In railway stations, near restaurants etc we see fortune telling systems with
different LED running patterns. One such application is the project Dancing LEDS. The
Project Dancing LEDs is the basic and the most fundamental part in microcontrollers. In
order to write a code for a particular application, we interface many devices to our
microcontroller for perfect functionality. The basic interfacings which are used in almost
all applications are mainly two. They are switch and LED.
It is important to know that each diode will be immediately destroyed unless its
current is limited. This means that a conductor must be connected in parallel to a diode.
In order to correctly determine value of this conductor, it is necessary to know diode’s
voltage drop in forward direction, which depends on what material a diode is made of and
what colour it is. Values typical for the most frequently used diodes are shown in table
below: As seen, there are three main types of LEDs. Standard ones get full brightness at
current of 20mA. Low Current diodes get full brightness at ten times lower current while
Super Bright diodes produce more intensive light than Standard ones.
SWITCHES LED1
ARRAY
LED 2
8 LED 3
0
LED 4
CRYSTAL 5
CIRCUIT
1 LED 5
LED 6
RESET
CIRCUIT
LED 7
LED 8