CSCI381: Embedded Systems Design

61 LED Star

by William W.

The original project is available through this link

Video
clip
AVI ~7.1Mb

The star project uses 60 single color LEDs and one RGB LED. The LEDs are set into a matrix of eight rows and eight columns. The rows are connected to pins RA0 through RA7 which correspond to PORTA, these are also the anodes of the LEDs. The columns are connected to pins RB0 through RB7 which corresponds to PORTB, these are the diodes of the LEDs. In addition, the RGB LED is connected to pins RC0 (blue), RC1 (green), RC2 (red)

Construction Board Matrix

I did not write my own code for the project and used the code provided from the original project website. However, I did look up some ideas on how to program the star and hope to implement them on a future date. First off since the LEDs are in a matrix one would have to turn on a row to say that the corresponding pin when set to output would need to be set on PORTA to 1 and this would send current through the wire to the corresponding pin also set for output on PORTB and set to 0, completing the flow of current. In this fashion one could make a combination of lit up LEDs to form a routine that allows more than a star shape.

The original parts list is as follows. There was a few changes the center LED is a RGB with 4 pins and NOT 3 individual LEDs. The RGB was purchased at RadioShack, The other LEDs are manufactured by Cree Inc. and purchased from digikey.com. In addition the voltage regulator on board is not heating up at all, so the heat sink is not necessary.

ComponentValue Notes
C1 0,1μF Small 50v type
C2 0,1μFSmall 50v type
C3 10μF 16 or 25v working electrolytic
C4 100μF 25v working electrolytic
D1 1N4002 Or 1N4001
IC1 PIC18F2620Plus a 28pin 0.3" socket
IC2 ULN2803 Or ULN2803A
IC3 7805CT Standard 5V regulator
R1 180R All resistors are 0.25W carbon
R2100R
R3100R
R456R
R556R
R656R
R756R
R856R
R956R
R10100R
R11100R
R1210K
R1310K
S16mm Tactile 6x6mm pushbutton
S26mm Tactile
Blue LEDS (5mm)LC503FBL1-30P-A3 x 25
Green LEDS (5mm) LC503FPG1-30P-A3 x 15
Red LEDS (5mm) LC503UHR1-30Q-A x 20
RGB (4 lead) LED RadioShack

Downloads


Last modified:Mon, Jan 23, 2023.

01480