fbpx

7400 Series Guide: 74HC58/74LS58 (2/3-input AND-OR gates)

The 74×58 (ex 74HC58) is a chip that comes with a combination of AND-OR gates. It contains one 2-wide 2-input AND/OR gate, and one 2-wide 3-input AND/OR gate. They can be useful for checking several conditions, for example in an access control system.

Learn how it works and how to use it with this beginner-friendly guide and start using 2-wide AND/NOR gates in your projects.

74HC58 / 74LS58 Package And Pinout

What does the 74HC58 / 74LS58 do?

The 74×58 gives you two AND-OR gate combinations. One with 2-input AND gates and another with 3-input AND gates.

An AND gate is a logic gate that outputs 1 (HIGH) if both of it inputs are 1 (HIGH). The OR gate outputs 1 if one if its inputs are 1. This means that to get 1 on the output, all of the inputs to one of the AND gates must be 1.

How To Use This Chip

The 74HC58 comes in a 14-pin package, and you need to connect it to power before you can use it. As with most 7400 ICs, it supports a VCC voltage of 5V. One difference between the HC and LS version of the chip is that the 74HC58 supports 2V to 6V, while the 74LS58 only supports 5V.

The maximum current you can pull out of one output pin is 25 mA. This can differ between models, so check the datasheet of your model to verify.

Once you’ve connected it to power, you can use any of the 2-wide 2/3-input AND-OR gates inside.

7400 series IC connected to 5V on a breadboard
The 74HC58/74LS58 IC connected to power

74×58 Pinout

The 74×58 has 14 pins and contains a 2-wide 2-input AND-OR gate and a 2-wide 3-input AND-OR gate. In the pinout diagram below you can see how they are laid out in the chip:

74HC58 Pinout
Pin #TypeDescription
1InputInput to the first AND gate of the second AND-OR combo.
2InputInput to the first AND gate of the first AND-OR combo.
3InputInput to the first AND gate of the first AND-OR combo.
4InputInput to the second AND gate of the first AND-OR combo.
5InputInput to the second AND gate of the first AND-OR combo.
6OutputOutput from the first AND-OR combo.
7PowerConnect to ground (GND).
8OutputOutput from the second AND-OR combo.
9InputInput to the second AND gate of the second AND-OR combo.
10InputInput to the second AND gate of the second AND-OR combo.
11InputInput to the second AND gate of the second AND-OR combo.
12InputInput to the first AND gate of the second AND-OR combo.
13InputInput to the first AND gate of the second AND-OR combo.
14PowerPositive power supply (VCC). Connect to +5V power.
Pin overview for the 74×58 IC

Alternatives and Equivalents for 74HC58 / 74LS58

There are many versions of the 74×58 chip. They all have the same functionality, but with different specifications such as supported voltages and maximum current output.

Here’s a list of a few equivalents of this chip:

  • 74HC58 (High-speed CMOS)
  • 74HCT58 (High-speed CMOS, TTL compatible)
  • 74LS58 (High-speed TTL)
  • 74LVC58 (Low Voltage TTL)
  • 74AC58 (Advanced CMOS)
  • 74ALS58 (Advanced Low-Power Schottky TTL)
  • 74F58 (Very High Speed)
  • 74C58 (CMOS, similar to the 4000-series)

Some manufacturers also add a prefix, such as the SN74HC58 and SN74LS58 by Texas Instruments.

Can’t find the 74×58 anywhere? Then try one of the following IC alternatives:

  • 74×50 – Dual 2-input AND-OR-Invert gate
  • 74×51 – Dual 2-Wide 2/3-input AND-NOR gate
  • 74×54 – 4-Wide 2/3-input AND-NOR gate
  • 74×55 – 2-wide 4-input AND-NOR gate
  • 74×59 – Dual 2/3-input AND-OR gate
  • CD4085 – Dual 2-input AND-OR-Invert gate

If you can’t find the 74×58 IC in your local electronics store, don’t worry, you’ll most likely find it in one of the stores listed on this page of online stores where you’ll find components and tools for all your electronics projects.

Datasheet for the 74×58 chip

Download the PDF datasheet for your version of the 74×58 here:

Leave a Comment