Loading...
Pages: [1]   Go Down
Author Topic: PNP for 74HC595 Shift Register  (Read 731 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 37
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello All!

Please view the schematic below and tell me if the PN4917 (PNP transistor) would work. It's hooked up to a 74HC595 shift register with a 1k resistor with 12 volts. The 74HC595 can only supply 35 ma and I need 80+.

LED Matrix by Jeeeps, on Flickr

The idea is based on this Instructable here: http://www.instructables.com/id/LED-matrix-using-shift-registers/step3/The-control-hardware/

And more specifically this schematic

arduinoschematics by Jeeeps, on Flickr
« Last Edit: May 09, 2012, 08:43:24 am by jeeep » Logged

Illinois, USA
Offline Offline
Full Member
***
Karma: 0
Posts: 126
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, you can't connect it the way it is drawn. The pin of the 74HC595 will be exposed to nearly 12V. Either the part will be damaged by the excessive voltage or more likely, the clamp circuit in the IC will limit the pin voltage to about 8-9 Volts, which will keep the PNP transistor on, even when you want it to be off.

Do you really need to switch both the high side and the low side of the LEDs? Connect the resistor to 12V and when the ULN2803 output is on, the LEDs will be on.

If you need to switch the high side, you either need an IC that is tolerant of 12V or you need a level shifter. The simplest is an NPN transistor and a couple of resistors. In this example the "YELLOW LED" is the connection to the level shifter, The 100K resistors should be smaller (1K or so), RTS is the 12V supply and RXD is the connection point for the resistor to your PNP.


Finally You won't get 80mA with this design. 270 Ohms in series with 4 LEDs with 12V supply will be about 30 mA, and it will be less if the LEDs have high voltage drop (e.g. high brightness or white LEDs).
Logged

Pages: [1]   Go Up
Print
 
Jump to: