scorrpeio
Full Member level 5
Hello,
I have interfaced the LED matrix(16x16) to the 89v51rd2.
The ckt diagram is as follows...
I am using scanning technique with Putting data over P0 and P2 i.e. rows and making columns that is pins of P1 and then P3 serially ON.
The delay I used between two successive Columns ON is 1msec.
However, when I make any column driven by 74LS138 ON, and put the data over P0 and P2, all the rows Turn ON.
Even though I deliberately make few rows OFF, in my code, all of them turns ON.
Can anyone tell me, what is the real problem here?
I have checked out voltages and controller pins and even at transistor...it looks fine.
I have interfaced the LED matrix(16x16) to the 89v51rd2.
The ckt diagram is as follows...
Code:
P1 -> 330ohm -> base of BD140 -> collector of BD140 to Anode of LED -> cathode of LED to 180 ohm -> P0 or P2
P3.5-P3.7 -> A0, A1, A2 of 74LS138 ->o/p pins of decoder to 330ohm -> base of BD140 -> collector of BD140 to Anode of LED -> cathode of LED to 180 ohm -> P0 or P2
I am using scanning technique with Putting data over P0 and P2 i.e. rows and making columns that is pins of P1 and then P3 serially ON.
The delay I used between two successive Columns ON is 1msec.
However, when I make any column driven by 74LS138 ON, and put the data over P0 and P2, all the rows Turn ON.
Even though I deliberately make few rows OFF, in my code, all of them turns ON.
Can anyone tell me, what is the real problem here?
I have checked out voltages and controller pins and even at transistor...it looks fine.