Hardware components | ||||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 3 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 24 | ||||
| × | 10 | ||||
| × | 1 | ||||
| × | 600 | ||||
| × | 47 | ||||
| × | 3 | ||||
Hand tools and fabrication machines | ||||||
|
Scrolling LED concept is used to for display various important notices like it is used outside bus to display the location that where that particular bus is going. I have used the same concept to display various pattern to make the VALENTINE DAY special. Various other patterns can be designed depending upon your innovative ideas.
Various Patterns Designed are:1) Heart
2) ILU
Using the Microcontroller we can change the content to be displayed on the Scrolling LED like here i have displayed "ILU" and heart.
The voltage requirement for the system is 5V DC supply which can be provided by making on board power supply or the battery source to make it mobile.
Here i have used 5V DC adaptar for that.
The controller used here is P89V51RD2.
The clock for the controller is provided by crystal 11.0592 MHz.
Reset section for microcontroller is designed using 4 pin tectile switch, 10 uf capacitor and 10 k ohm resistance.
LED matrix is designed by putting all the positive terminal to the row side and connecting it with the microcotroller by using transistor as switch. The transistor used here are BC547. All the negative terminals of the led are connected in the column and they are also connected with the transistor which is performing as a Switch.
If you feel that connection is quite complex on general purpose PCB you can design PCB from the circuit. Here it was on testing basic so I have designed it first on general purpose PCB.
IC 4017The negative terminal of LED which were connected to the transistor for switching are switched using IC4017. Actually all the LED can be able to glow parallely. So LED of first column glows first by giving data through positive terminal and negative terminal is grounded by switching through IC4017. IC4017 is a shift register IC which will operate the column one by one and the switching is done so fast that it seems that all the LED are running parellely.
#include<reg51.h>
#include<intrins.h>
sbit all_clock=P3^2;
sbit master1=P3^3;
sbit master2=P3^4;
sbit master3=P3^5;
sbit input01=P2^0;
sbit input02=P2^1;
sbit input03=P2^2;
sbit input04=P2^3;
sbit input05=P2^4;
sbit input06=P2^5;
sbit input07=P2^6;
sbit input08=P2^7;
sbit input09=P0^0;
sbit input10=P0^1;
sbit input11=P0^2;
sbit input12=P0^3;
sbit input13=P0^4;
sbit input14=P0^5;
sbit input15=P0^6;
sbit input16=P0^7;
sbit input17=P1^0;
sbit input18=P1^1;
sbit input19=P1^2;
sbit input20=P1^3;
sbit input21=P1^4;
sbit input22=P1^5;
sbit input23=P1^6;
sbit input24=P1^7;
void delay(unsigned int q)
{
unsigned int w,h;
for(w=0;w<q;w++);
for(h=0;h<10;h++);
}
void main()
{
unsigned char z;
while(1)
{
for(z=0;z<200;z++)
{
all_clock=1;
delay(1);
all_clock=0;
delay(1);
master1=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=0;
input20=0;
input21=0;
input22=0;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=0;
input20=0;
input21=0;
input22=0;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=1;
input20=1;
input21=1;
input22=1;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=1;
input20=1;
input21=1;
input22=1;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=1;
input20=1;
input21=1;
input22=1;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=0;
input20=0;
input21=0;
input22=0;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=1;
input18=1;
input19=0;
input20=0;
input21=0;
input22=0;
input23=1;
input24=1;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
master1=1;
delay(1);
master2=0;
delay(1);
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=1;
input03=1;
input04=1;
input05=1;
input06=1;
input07=1;
input08=1;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=1;
input04=1;
input05=1;
input06=1;
input07=1;
input08=1;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
master2=1;
delay(1);
master3=0;
delay(1);
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=1;
input02=1;
input03=1;
input04=1;
input05=1;
input06=1;
input07=1;
input08=1;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=1;
input03=1;
input04=1;
input05=1;
input06=1;
input07=1;
input08=1;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=0;
input16=0;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
master3=1;
delay(1);
}
for(z=0;z<200;z++)
{
master1=0;
delay(1);
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=0;
input15=1;
input16=1;
input17=0;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=0;
input14=1;
input15=1;
input16=1;
input17=1;
input18=0;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=0;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
input18=1;
input19=0;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=0;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
input18=1;
input19=1;
input20=0;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=0;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
input18=1;
input19=1;
input20=1;
input21=0;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=0;
input10=1;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
input18=1;
input19=1;
input20=1;
input21=1;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=0;
input09=1;
input10=1;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
input18=1;
input19=1;
input20=1;
input21=1;
input22=0;
input23=0;
input24=0;
all_clock=1;
delay(1);
all_clock=0;
delay(1);
input01=0;
input02=0;
input03=0;
input04=0;
input05=0;
input06=0;
input07=0;
input08=1;
input09=1;
input10=1;
input11=1;
input12=1;
input13=1;
input14=1;
input15=1;
input16=1;
input17=1;
...
This file has been truncated, please download it to see its full contents.
Comments