Parts
74HC595 vs TPIC6B595: logic outputs or power outputs
By Bulan Sarkar
Both chips are an 8-bit serial-in, parallel-out shift register feeding an 8-bit storage register. You clock bits in, pulse the register clock, and eight outputs change at once. Both cascade through a serial output. The difference is what sits on the output pins.
The 74HC595 has ordinary logic outputs. Each pin drives high to VCC or low to ground, and TI caps the load at 35 mA per pin and 70 mA for the whole chip. The pins can never go above VCC, which is 6 V at most. It is the right chip for LEDs at a few milliamps each, for feeding other logic, and for driving a transistor or driver IC.
The TPIC6B595 has eight open-drain power MOSFETs. Each output can only pull its load to ground, but it sinks 150 mA continuously with all eight on, and the load can sit on a supply of up to 50 V. It has a built-in clamp for relay and solenoid kick-back and a current limit around 500 mA. It is the chip for 12 V LED strings, relays and solenoids, with no extra driver.
Rule of thumb: if the load runs from the chip's own 5 V and draws under about 8 mA per pin, the 74HC595 is enough. If the load needs its own higher supply or more current, use the TPIC6B595.
The pinouts do not match. The 74HC595 is a 16-pin part and the TPIC6B595 is a 20-pin part, so neither drops into the other's socket. The TPIC6B595 also will not read 3.3 V logic (see example 4).
Datasheet: Texas Instruments TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D) (PDF)
Pinout by package
Top view, notch up: QB to QH down the left on 1 to 7, GND on 8, QA on 15 beside VCC on 16.
Source: Texas Instruments SNx4HC595 8-Bit Shift Registers With 3-State Output Registers (SCLS041J), p. 3 (Table 5-1 pin functions: QB-QH pins 1-7, GND 8, QH' 9, SRCLR 10, SRCLK 11, RCLK 12, OE 13, SER 14, QA 15); Texas Instruments SNx4HC595 8-Bit Shift Registers With 3-State Output Registers (SCLS041J), p. 13 (Application schematic showing VCC on pin 16)
Top view, notch up: NC on 1, VCC on 2, DRAIN0 to DRAIN3 on 4 to 7, GND on 10, 11 and 19, DRAIN4 to DRAIN7 on 14 to 17.
Source: Texas Instruments TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D), p. 3 (Figure 4-1 DW or N package 20-pin top view (SRCK on pin 13; table 4-1 on the same page misprints it as 15)); Texas Instruments TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D), p. 1 (Logic symbol: SRCK on pin 13)
Same logic, different pins
The control pins do the same jobs on both chips, under slightly different names. Only the latch clock sits on the same pin number. The TPIC6B595 spreads its outputs over both sides and gives ground three pins (10, 11 and 19).
Behind each output there is a different circuit. A 74HC595 output has a transistor to VCC and one to ground, so it can push current out to a load on ground or pull it in from VCC. A TPIC6B595 output is one MOSFET from the pin to ground, with a 50 V clamp across it. The load connects from its own supply to the drain.
Side by side
| Parameter | SN74HC595NDIP-16 | TPIC6B595NDIP-20 |
|---|---|---|
| What it is | 8-bit shift register + storage register | the same, with 8 DMOS power switches |
| Output type | push-pull logic: drives high and low | open drain: pulls low only |
| Output voltage | 0 V to VCC, never above | load supply up to 50 V |
| Current per output | 35 mA absolute max; specified at 6 mA | 150 mA continuous, all on, case at 25 °C |
| Whole-chip current | 70 mA through VCC or GND | set by heat (example 3) |
| Inductive loads | no clamp | 50 V clamp, 30 mJ single-pulse avalanche |
| Current limit | none listed | about 500 mA typ per output, falls as it heats |
| Supply (VCC) | 2 to 6 V | 4.5 to 5.5 V |
| Thermal resistance RθJA | PDIP 67 °C/W, SOIC 73 °C/W | PDIP 57 °C/W, SOIC 75.3 °C/W |
| Temperature range | −40 to 85 °C ambient | −40 to 125 °C case |
| Package | 16 pins (PDIP, SOIC, TSSOP and others) | 20 pins (PDIP, SOIC) |
| Parameter | SN74HC595NDIP-16 | TPIC6B595NDIP-20 |
|---|---|---|
| On-resistanceat 100 mA | not given as a resistance (VOH 3.84 V min at 6 mA, 4.5 V) | 4.2 Ω typ, 5.7 Ω max; 9.5 Ω max at 125 °C |
| Logic high needed | 3.15 V at VCC 4.5 V (4.2 V at 6 V) | 0.85 × VCC (4.25 V at 5 V) |
| Supply current, idle | 80 µA max | 20 µA typ (100 max) all off; 150 µA typ (300 max) all on |
| Clock speed | 25 MHz max at 4.5 V | no maximum given; 40 ns minimum pulse, 20 ns setup |
| Enable pin | OE (13): high = outputs float | G (9): high = all drains off; usable for PWM dimming |
| Clear pin | SRCLR (10): clears the shift register only | SRCLR (8): clears all registers |
Two rows trip people up. A 74HC595 output that is high and an output that is "on" are the same thing, but a TPIC6B595 output that is "on" is pulling low. A 1 in the data still means "load on" for both chips, provided you wire the 74HC595 load from Q to ground. And the enable pins behave differently: OE high lets the 74HC595 outputs float, while G high firmly switches every TPIC6B595 drain off.
Data goes in the same way on both. Eight shift clocks move eight bits in, and one latch pulse moves them to the outputs together.
The difference that decides it: whose supply does the load use?
A 74HC595 output is a logic pin. Whatever it drives gets its voltage and current from the chip's own VCC, and the whole chip shares 70 mA. Eight LEDs at 20 mA each would ask for 160 mA, more than twice that limit. At 70 mA across eight pins you get 8.75 mA each, and that is an absolute maximum, not a design target. The 74HC595 page works through the resistor for eight LEDs at TI's 6 mA test point.
A TPIC6B595 output is a switch to ground. The load connects between its own supply and the drain pin, so a 12 V LED string or a 24 V solenoid never touches the chip's 5 V rail. The chip only has to survive the current through the switch and the voltage across it when off.
So decide by where the load gets its power. If that is the 5 V logic rail and the current stays small, the 74HC595 handles it. If the load has any other supply, you need a switch, and the TPIC6B595 is eight switches with the shift register already attached.
Worked examples
1. Eight 12 V LED strings (TPIC6B595)
Example input, not a datasheet value: each string is three red LEDs in series at about 2.0 V each, so 6.0 V, and you want 20 mA per string from a 12 V supply. This is close to TI's own example on pages 14 and 15 of the datasheet, which uses a 12 V battery and 20 mA per LED.
Wire the LED anodes and resistors to +12 V and the cathode end of each string to one DRAIN pin.
- Resistor, ignoring the chip: (12 − 6.0) ÷ 0.02 = 300 Ω
- Voltage lost in the chip at 20 mA: 0.02 × 5.7 Ω = 0.11 V worst case at room temperature, 0.19 V at 9.5 Ω hot
- Current with a 300 Ω resistor: 19.7 mA (4.2 Ω typ), 19.4 mA (9.5 Ω hot). The chip barely changes it.
- Heat in the chip, all eight on: 8 × 0.02² × 5.7 = 0.018 W, about 1 °C of rise in a PDIP
That runs cold. A 74HC595 cannot do this job at all: its outputs stop at VCC, so it cannot switch a 12 V string, and 160 mA is past its whole-chip limit.
TI's own note on this circuit: if the LED supply is a car battery that swings from 9 V to 16 V, the current swings with it (14 to 28 mA in TI's 2 V LED case). Use a regulated supply or a constant-current LED driver if that matters.
2. A 12 V relay (TPIC6B595)
Example input, not a datasheet value: a 12 V relay with a 400 Ω coil.
- Coil current: 12 ÷ (400 + 5.7) = 29.6 mA
- Voltage lost in the chip: 0.17 V
- Heat in the chip: 0.005 W
The relay connects between +12 V and a DRAIN pin, with no transistor and no base resistor. When the output turns off, the coil's kick-back drives the drain up until the built-in 50 V clamp catches it, and the coil's stored energy turns into heat inside the chip. TI rates one avalanche pulse at 30 mJ. A small relay is far below that, but if a relay or solenoid switches often, our practice is to add a diode across the coil anyway, so the energy goes back into the coil instead of the chip.
A 74HC595 needs help here: it would drive a transistor or a driver IC such as the ULN2003A, which TI rates at 500 mA per output and 50 V. That pairing works, but it is two chips and the ULN2003A has seven channels, so one of the 595's eight outputs is left without a driver. The ULN2003 vs L293D page shows that chip on a relay.
3. How much current with all eight on? (TPIC6B595)
TI rates 150 mA per output, all outputs on, with the case held at 25 °C. On a real board the case runs hotter. Example inputs: 40 °C air, and we keep the junction at 125 °C or below, which is our margin under TI's 150 °C absolute maximum. Use the hot on-resistance, 9.5 Ω.
- Heat allowed, PDIP (57 °C/W): (125 − 40) ÷ 57 = 1.49 W, or 0.186 W per output
- Current per output: √(0.186 ÷ 9.5) = 140 mA
- Same sum for the SOIC (75.3 °C/W): 1.13 W in all, 122 mA per output
At the full 150 mA on all eight, the chip makes up to 1.71 W hot, which would put a PDIP junction near 137 °C and a SOIC near 169 °C in 40 °C air. The SOIC case is over the limit. So read 150 mA as a ceiling, plan for about 120 to 140 mA when all eight run continuously, and give the GND pins (10, 11, 19) plenty of copper. If only a few outputs are on at once, each one can carry more.
4. A 3.3 V board (ESP32, Raspberry Pi Pico)
Neither chip lists a 3.3 V-input mode, so check the logic-high threshold.
- TPIC6B595: logic high is 0.85 × VCC. Its VCC must be 4.5 V to 5.5 V, so it needs at least 3.82 V (at 4.5 V) or 4.25 V (at 5 V). A 3.3 V pin is below both. It will not read reliably, and TI says nothing works below 4.5 V of VCC.
- 74HC595 on 5 V: TI asks for 3.15 V at VCC 4.5 V. A 3.3 V pin clears that by only 0.15 V, and the requirement rises with VCC (4.2 V at 6 V).
- 74HC595 on 3.3 V: it runs from 2 V to 6 V, so power it from 3.3 V and it reads 3.3 V logic. Its outputs then swing to 3.3 V, which suits LEDs and logic at 3.3 V.
The fix for the TPIC6B595 on a 3.3 V board is a level shifter or buffer powered from 5 V whose input threshold accepts 3.3 V. Check that part's own datasheet for its logic-high figure. The logic levels lesson explains the thresholds.
Worked example in numbers
- 12 V string current
- 19.7 mA
- Relay coil current
- 29.6 mA
- All-on limit, PDIP at 40 °C
- 140 mA
- TPIC6B595 logic high at 5 V
- 4.25 V
What happens if you swap them
They don't share a footprint (16 pins against 20), so you can't swap them by mistake on a socketed board. On a breadboard, the two traps are polarity and voltage. An LED wired from a 74HC595 output to ground does nothing on a TPIC6B595 because the drain can only pull down; rewire it from the supply to the drain. And a load on a 12 V supply connected to a 74HC595 pin breaks TI's rule that outputs are never pulled above VCC.
| Part | Pins | Verdict |
|---|---|---|
| TPIC6B595 for a 74HC595 | different pinout (20 pins against 16) | Not in the same socket. Rewire every load from its supply to a drain, and feed it 5 V logic.Texas Instruments TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D), p. 3; Texas Instruments TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D), p. 4 |
| 74HC595 for a TPIC6B595 | different pinout (16 pins against 20) | Only for loads on the chip's own supply under a few mA each; a 12 V load on its pins breaks TI's rule.Texas Instruments SNx4HC595 8-Bit Shift Registers With 3-State Output Registers (SCLS041J), p. 14 |
| 74HC595 + ULN2003A | two chips | Does the TPIC6B595's relay and 12 V job, with seven driven channels instead of eight.Texas Instruments SNx4HC595 8-Bit Shift Registers With 3-State Output Registers (SCLS041J), p. 14 |
Which to buy
- Buy the 74HC595 if you are adding outputs to a microcontroller for indicator LEDs, a seven-segment display at a few milliamps per segment, or the inputs of other chips. It works from 2 V to 6 V, so it also runs straight from a 3.3 V rail.
- Buy the TPIC6B595 if the load has its own supply above 5 V or needs tens of milliamps or more, such as 12 V LED strings, relays and solenoids. It replaces a 74HC595 plus a driver chip and handles relay kick-back by itself. Its logic side needs a 5 V supply and 5 V logic.
- If you already have 74HC595s and a ULN2003A in the parts box, the pair does the TPIC6B595's job for relays and 12 V loads. Expect one more chip and seven driven channels instead of eight.
Tips and checks
- Pulse SRCLR low at power-up. TI suggests clearing the TPIC6B595 during start-up, and there it clears every register. On the 74HC595, SRCLR clears only the shift register, so follow it with one RCLK pulse to copy the zeros to the outputs.
- Hold G (or OE) high until your first byte is latched, then pull it low. On the TPIC6B595 this keeps every load off while the microcontroller boots. On the 74HC595 the outputs float instead, so add a pull-down resistor on any output whose load must stay off.
- Use G for dimming. TI notes that a PWM signal on the TPIC6B595's G pin dims all eight outputs together.
- Check the pin number for SRCK yourself. The TPIC6B595 datasheet's pin table lists SRCK as pin 15, but its pinout drawing, logic symbol and test circuit all show pin 13 (pin 15 is DRAIN5). Pin 13 is correct.
- Put a 0.1 µF capacitor at VCC on every chip in a chain. TI's 74HC595 sheet recommends it and its TPIC6B595 example uses it too.
What we'd do
For indicator LEDs and logic on a 3.3 V or 5 V board we'd use the 74HC595 and keep each output to a few milliamps. For anything on 12 V or 24 V, or any relay, we'd fit a TPIC6B595 on a 5 V logic rail, add a diode across coils that switch often, and plan for about 122 mA per output when all eight stay on.
Where to go next
The 74HC595 page has the full pin table, the resistor for eight LEDs and the cascade wiring. The TPIC6B595 page works TI's 12 V car LED panel and the relay kick the clamp absorbs. The MOSFET as a switch lesson explains what sits behind each TPIC6B595 drain, and driving a relay covers the coil kick-back from the inside.
One email a month from the bench
New circuits, lessons, part guides and calculators, on the first Sunday of each month.
Used in these lessons
Lessons that go deeper
Datasheets this page was checked against
- Texas Instruments, SNx4HC595 8-Bit Shift Registers With 3-State Output Registers (SCLS041J) (SCLS041J, December 1982, revised October 2021)
- Texas Instruments, TPIC6B595 Power Logic 8-Bit Shift Register (SLIS032D) (SLIS032D, July 1995, revised April 2025)
Makers revise datasheets. If the copy you download has a newer revision and a number here disagrees with it, the datasheet wins, and we would like to hear about it.