Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Semiconductors & ICs
  4. ›Logic Gate ICs

Concept explainer · Beginner · 3 min read

Logic Gate ICs

74HC, 74HCT and CD4000 Explained

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerThe six basic gates74HC vs 74HCT vs CD4000Wiring rules that prevent strange faultsTry itCommon mistakesFAQsParts and next steps
Short answer

Logic gate ICs combine digital signals: AND, OR, NOT, NAND, NOR and XOR each give a HIGH or LOW output from their inputs. The 74HC family runs from 2 to 6 V and is fast, 74HCT accepts 5 V TTL-level inputs, and the CD4000 family runs from 3 to 15 V. A typical 14-pin chip has four 2-input gates with power on pin 14 and ground on pin 7.

Key specs at a glance

74HC supply
2 to 6 V
74HCT supply
4.5 to 5.5 V, TTL-compatible inputs
CD4000 supply
3 to 15 V (18 V absolute maximum on most parts)
Package
DIP-14 or DIP-16 for breadboards, SOIC for PCBs
Output current
About 4 to 6 mA per output for 74HC at 5 V; less for CD4000
Power pins
Pin 14 VCC, pin 7 GND on most 14-pin 74xx gates
01

The six basic gates

GateOutput is HIGH whenCommon 74HC chipCD4000 chip
NOT (inverter)Input is LOW74HC04 (six gates)CD4069
ANDAll inputs are HIGH74HC08CD4081
ORAny input is HIGH74HC32CD4071
NANDAny input is LOW74HC00CD4011
NORAll inputs are LOW74HC02CD4001
XORInputs are different74HC86CD4070
NOT (inverter)
Output is HIGH when:
Input is LOW
Common 74HC chip:
74HC04 (six gates)
CD4000 chip:
CD4069
AND
Output is HIGH when:
All inputs are HIGH
Common 74HC chip:
74HC08
CD4000 chip:
CD4081
OR
Output is HIGH when:
Any input is HIGH
Common 74HC chip:
74HC32
CD4000 chip:
CD4071
NAND
Output is HIGH when:
Any input is LOW
Common 74HC chip:
74HC00
CD4000 chip:
CD4011
NOR
Output is HIGH when:
All inputs are LOW
Common 74HC chip:
74HC02
CD4000 chip:
CD4001
XOR
Output is HIGH when:
Inputs are different
Common 74HC chip:
74HC86
CD4000 chip:
CD4070
02

74HC vs 74HCT vs CD4000

74HC is the default for new hobby circuits: CMOS, low power, fast, and happy at 3.3 V or 5 V. 74HCT has input thresholds that match old TTL parts, so it is the safe choice when a 3.3 V board must drive a 5 V chip: a 3.3 V HIGH is read correctly by a 5 V 74HCT, but not reliably by a 5 V 74HC. CD4000 parts are slower but run up to 15 V, which suits 9 V and 12 V circuits, and the family includes handy counters such as the CD4017 decade counter and CD4060 oscillator-counter.

The 74HC14 has Schmitt-trigger inputs with hysteresis, so it cleans up slow or noisy signals such as a button or an RC delay. For more outputs from few pins see the 74HC595 shift register; for level conversion see logic level shifting.

03

Wiring rules that prevent strange faults

  1. 1
    Put a 100 nF decoupling capacitor across VCC and GND, close to every chip.
  2. 2
    Tie every unused input to VCC or GND. Floating CMOS inputs drift, oscillate and waste current.
  3. 3
    Do not drive LEDs or relays straight from a gate beyond a few mA; use a transistor or a ULN2003.
  4. 4
    Handle CMOS chips by the body, not the pins, to avoid static damage.
  5. 5
    Check the datasheet pinout: the 74HC02 NOR has a different pin layout from the 74HC00 NAND even though both are quad 2-input gates.
04

Try it: LED resistor calculator

Change the values and the diagram and results update as you type.

05

Common mistakes to avoid

  • !Leaving unused inputs floating.
  • !Driving a 5 V 74HC input from a 3.3 V board instead of using 74HCT.
  • !Skipping the 100 nF decoupling capacitor.
  • !Assuming every quad gate chip shares the 74HC00 pinout.
  • !Loading a gate output with an LED or relay directly.
06

Frequently asked questions

What is the difference between 74HC and 74HCT?

Both are CMOS. 74HCT inputs switch at TTL levels, so they read a 3.3 V HIGH correctly when the chip runs at 5 V. 74HC needs a HIGH of about 3.5 V at 5 V.

Why is NAND called a universal gate?

Any other logic function, including NOT, AND, OR and XOR, can be built from NAND gates alone. NOR gates are universal too.

Can I use a logic gate IC with Arduino?

Yes. A 74HC part at 5 V matches an Uno, and a 74HC part at 3.3 V matches an ESP32 or Pico. Share ground between the board and the chip.

What should I do with unused gates?

Tie their inputs to GND or VCC and leave their outputs unconnected.

Are CD4000 chips still useful?

Yes, for circuits running at 9 to 15 V and for parts like the CD4017 counter, though they are slower and weaker than 74HC.

Parts for this guide

  • 74HC Logic IC: 74HC00, 74HC02, 74HC04, 74HC08, 74HC32, 74HC86, 74HC138, 74HC595 (DIP)
    ₹12View
  • CD4000 Logic IC: CD4017, CD4026, CD4051, CD4067, CD4511, CD4011 (DIP)
    ₹13View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
Shop Logic ICs (74xx)Shop Logic ICs (CD4000)

Calculators

LED resistor calculator

Terms in this guide

Logic gateA circuit that gives a HIGH or LOW output from one or more digital inputs according to a fixed rule, such as AND, OR, NOT, NAND, NOR or XOR.Truth tableA table listing every combination of a logic circuit's inputs and the output each one produces.CMOSComplementary metal-oxide-semiconductor: the low-power transistor technology used in 74HC and CD4000 logic and in most microcontrollers. CMOS inputs draw almost no current but must never float.Schmitt triggerAn input with hysteresis: it switches HIGH at one voltage and back LOW at a lower one, which turns slow or noisy signals into clean digital edges.Floating inputAn input pin that is connected to nothing, so it picks up noise and reads random HIGH or LOW values. Fix it with a pull-up or pull-down resistor.Decoupling capacitorA small capacitor, usually 100 nF, placed next to an IC's power pins to supply short current bursts and block noise.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 2 hoursLogic gates lab: build every truth table with 74HC chips and DIP switchesView project
Browse all 1 project

Keep learning

How-toIntermediate74HC595 Shift RegisterThe 74HC595 turns three microcontroller pins (data, clock and latch) into eight outputs, and you can chain more chips to get 16, 24 or more outputs from the same three pins.3 min read · Semiconductors & ICsHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & WiringComponent guideBeginner555 Timer ICThe 555 timer is an 8-pin IC that creates time delays and oscillations with just a resistor and capacitor.3 min read · Semiconductors & ICsHow-toBeginnerHow to Use a BreadboardA solderless breadboard lets you build circuits by pushing parts and wires into holes, with no soldering.3 min read · Prototyping & WiringHow-toIntermediateTransistors and MOSFETs as SwitchesA transistor lets a small microcontroller signal switch a much larger current.4 min read · Semiconductors & ICs

Sources

  • Nexperia and Texas Instruments 74HC/74HCT family datasheets
  • Texas Instruments CD4000B series datasheets

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerThe six basic gates74HC vs 74HCT vs CD4000Wiring rules that prevent strange faultsTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹45

74HC Logic IC: 74HC00, 74HC02, 74HC04, 74HC08, 74HC32, 74HC86, 74HC138, 74HC595 (DIP) · CD4000 Logic IC: CD4017, CD4026, CD4051, CD4067, CD4511, CD4011 (DIP) · 4-Channel Logic Level Converter (BSS138)

Ask the Community

Ask a question