Micro Lover
Member level 2
hi
i m using 89C51, the 3 ports (P1, P2, P3) are used for different purpose, but the remaining port (P0) , the Open Drain, is remain, the problem is that, I want to use it for 15 different Lights, using matrix, (3 Rows and 5 columns) the 3 rows are positive volt and 5 are minus/ground (each pin used as switching)
using 5 volt signal, controlling 9 voltage, the hardware is designed with NPN and PNP transistor, the same hardware that i used in Port 1 and Port 2, is working fine, but here the port 0 is open drain, and i also used 10k pullup resistors, but its not showing/glowing any light.
i m using 89C51, the 3 ports (P1, P2, P3) are used for different purpose, but the remaining port (P0) , the Open Drain, is remain, the problem is that, I want to use it for 15 different Lights, using matrix, (3 Rows and 5 columns) the 3 rows are positive volt and 5 are minus/ground (each pin used as switching)
using 5 volt signal, controlling 9 voltage, the hardware is designed with NPN and PNP transistor, the same hardware that i used in Port 1 and Port 2, is working fine, but here the port 0 is open drain, and i also used 10k pullup resistors, but its not showing/glowing any light.