im task to build a 14rows and 40columns led matrix.. as of now i have build a 10x40 led matrix display.. what should i do? im using 74hc595 in my columnss and 74ls154 in my rows with tip147.. and my scroll should be scroll to right and left.. and in static mode.. and also do some blinking.. anyone have a code for this scroll? btw im using pic16f877a microcontroller.. this is a two liner led matrix.. how can i input characters from first line and another different message in the second line? i really need some help because im new to this..
Hey i wonder how it would be done! well i m not that expert but this link might help you.
h**p://www.avrprojects.net/index.php?option=com_content&view=article&id=79:dot-matrix-scrolling-led&catid=38:avr-projects-with-leds&Itemid=58
---------- Post added at 21:17 ---------- Previous post was at 21:15 ----------
You can connect output of 74LS154 to your pnp transistor's (eg 2N3906) base through 4.7K resister. Since you use pnp (for rows), you have to connect emitter to +Ve (not the ground). Then connect collector to LED-anode through 1K resister. (then LED cathode to -Ve directly)
i have thiz as my reference.. i think the row is in cathode and the column is in anode.. and he said that in reality in a common anode i have to connect PNP tranziztor.. so when i connect a tranziztor to the row, the display is broken..
According to above diagram LED block should have "common cathode" along a row; (since 74LS138 select the line by grounding). But in reality you have "common anode" LED block along a row, and you connected PNP transistor for those rows.
Also you replaced 74LS138 with 74LS154. Am I correct ?
Then how you connect other pin of LED block; is it directly to 74hc595 like in above schematic ?
(If you can post your modified schematic, it will be easy.)
so in reality my row is cathode and my column in anode? yes your right im replacing that 74ls138 to 74ls154.. i dont have any modified schematic.. that is my only reference to build my own led matrix.. thats why i need professional help on you guys..
Ok,
7 LEDs Column is anode : you use 74HC595 as on schematic, it out "high" (+ve) to turn on LED
5 LEDs row is cathode : You can use 74 LS138 as a replacement for 74ls154. It out "Low" (-ve) to turn on LED
So no need of transistors. However you should able to connect pins of LED in matrix as "5 LEDs row is cathode" and "7 LEDs Column is anode". Is this possible in your LED matrix ?
you mean 5 led Column is anode and 7 led row is cathode? i never tested it in actual thats why i need some advice.. and im applying it to 14x40 led matrix with 14 rows and 40 columns..