74LS245 Octal bus transceiver, three-state

The 74LS245 connects two 8-bit buses in either direction. With the enable G′ low, DIR chooses the way: high passes A to B, low passes B to A. With G′ high, both sides are disconnected. Every A and B pin is both an input and an output.

74LS245 pinout

VCCDIRG′A1B1A2B2A3B3A4B4A5B5A6B6A7B7A8B8GND201192183174165156147138129111074LS245

Top view of the 20-pin DIP package. Pin 1 is at the bottom left, beside the notch, and the numbers run anticlockwise. Power is on pin 20 (VCC, +5 V) and pin 10 (GND).

PinNameTypeWhat it is
1DIRInputInput
2A1OutputThree-state output
3A2OutputThree-state output
4A3OutputThree-state output
5A4OutputThree-state output
6A5OutputThree-state output
7A6OutputThree-state output
8A7OutputThree-state output
9A8OutputThree-state output
10GNDGround0 V
11B8OutputThree-state output
12B7OutputThree-state output
13B6OutputThree-state output
14B5OutputThree-state output
15B4OutputThree-state output
16B3OutputThree-state output
17B2OutputThree-state output
18B1OutputThree-state output
19G′InputInput, active-low
20VCCPower+5 V supply

74LS245 function table

74LS245 function table
G′DIRWhat happens
00B data to A
01A data to B
1XIsolated: both sides disconnected

What the 74LS245 is used for

  • Buffering a bidirectional data bus
  • Connecting a memory or peripheral to a shared bus
  • Isolating one part of a circuit from a bus until it is needed

Electrical summary

Package20-pin DIP
Supply voltage5 V (4.75 V to 5.25 V)
Output typeThree-state — drives high and low, or disconnects when disabled
Output current, lowsinks up to 24 mA
Output current, highsources up to 3 mA
Input current, low0.4 mA out of each input held low
Fan-outone output can drive about 60 LS inputs

Typical figures for quick reference when planning a board. Check the manufacturer's datasheet for limits and timing before committing a design. The 74HC245 and 74HCT245 use the same pin numbers, with different electrical values.

The 74LS245 and the Breadboard Simulator

The 74LS245 is not in the Breadboard Simulator's parts library yet — this page is a reference. The simulator seats the gates, decoders, multiplexers, adders and buffers marked on the chips page, so the logic around a 74LS245 can be planned and wired there.

Related chips

Build it before you build it.

Seat real 74-series chips on a virtual breadboard, wire them and probe every pin.