I have a current project that has an array of LEDs (over 200). They're arranged in a matrix in rows and columns. It's all controlled by a Nano.
They are connected thus,
The Row Select and Column Select go to Arduino pins. My question is with regard to turning off the top transistor, When the Arduino pin is high or tristated then (assuming protection diodes) will effectively be at 5V and keep the transistor on. Does anyone have experience of this? Will putting a 7V zener in series with R1 fix it. Any other suggestions?
The obvious way to fix it is to use an NPN but that upsets the logic - both outputs high rather than one high, one low. As this is for education I want to keep the logic (what I consider) logical. I know I could add a second NPN to the Row transistor but that adds two more transistors and my board is already a little cramped.
Thanks,
Whoops, forgot (above only - not in my schematic) the current limiting resistor in series with the LEDs.
Mike.
They are connected thus,
The Row Select and Column Select go to Arduino pins. My question is with regard to turning off the top transistor, When the Arduino pin is high or tristated then (assuming protection diodes) will effectively be at 5V and keep the transistor on. Does anyone have experience of this? Will putting a 7V zener in series with R1 fix it. Any other suggestions?
The obvious way to fix it is to use an NPN but that upsets the logic - both outputs high rather than one high, one low. As this is for education I want to keep the logic (what I consider) logical. I know I could add a second NPN to the Row transistor but that adds two more transistors and my board is already a little cramped.
Thanks,
Whoops, forgot (above only - not in my schematic) the current limiting resistor in series with the LEDs.
Mike.
Last edited: