I was always fascinated to see the large boards made of red LEDs and i always thought that some day i will make it i hope you also have same thoughts that's why you are on this page, right?
So let us start with what is a basic dot matrix LED connection?
It is connections of LED in such a way that more LEDs can be accessed by less no. of micro controller pins.
as you can see in figure.
Internally, the LEDs are organized in a matrix. Here's a 5x7 display
internal wiring (requires a minimum of 13 pins, likely to be shipped in a
14 pins package).
so you can access 35 LED with just 13 pins of microcontroller isn't it a great deal?
Now got enough information about dot matrix so let us start with how to use them?
Basically you can turn on those LEDs to which you supply proper forward biasing all the game starts from here.
see in the figure if you want to make left top corner LED(we want to turn on only one LED right now note that) you have to give a high to 1 pin and a low to A pin.
but if you observe something you will come to know that if we apply low to rest of the B to G pins whole first column will glow up but that's not we want. so we have to give A=low and B-G=high to make a LED on.
Hey wait did you again observe something? let me tell you that if we have A=low and B-G=high that's fine but what about the pins 1-5? so if we have 1-5=high and A=low and B-G=high we will get the first row on because of the connections so now what to do ?
we can again change our configurations to 1=high, 2-5=low, A=high, B-G=low.
huh, so is that enough to turn on single LED on your display..?
yes that's all you have to do to make different LEDs on.
Now you have the power to turn on any desired LED of 5x7 matrix.
Are you happy with this thing?
if yes then what about displaying characters on matrix.
where can we find the headers of these..?
ReplyDeletedotmatrix.h etc?
arun.chethalloor@mail.com
thanks alot
ReplyDeletethaks a lot sir,..
ReplyDelete