20
Development System EasydsPIC6
MikroElektronika
page
14.0. LEDs
LED (Light-Emitting Diode) is a highly efficient electronic light source. When connecting LEDs, it is necessary to use a current limiting
resistor. A common LED voltage is approximately 2.5V, while the current varies from 1 to 20mA depending on the type of LED. The
EasydsPIC6
uses LEDs with current I=1mA.
There are 42 LEDs on the
EasydsPIC6
development system which visually indicate the state of each microcontroller I/O pin. An
active LED indicates that a logic one (1) is present on the pin. In order to enable the pin state to be shown, it is necessary to select
appropriate port (PORTB/C, PORTA/D, PORTE or PORTE/F) using the DIP switch SW12.
Figure 14-2
: LEDs and port PORTB connection schematic
Figure 14-1
: LEDs
Microcontroller
SMD resistor limiting current
flow through an LED
Notch indicating the SMD
LED cathode
Port PORTB LEDs are turned on