• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Build Electronic Circuits

Build Electronic Circuits

Electronics explained in a simple way

  • Tutorials
    • 555 Timer
    • Arduino
    • Basic Electronics
    • Capacitors
    • Circuit Building
    • Circuits & Projects
    • Digital Electronics
    • Diodes
    • Electronic Components
    • KiCad
    • Learn Electronics
    • Light-Emitting Diodes
    • Logic Gates
    • Microcontrollers
    • PCB Design
    • Repair Electronics
    • Resistors
    • Schematic Diagrams
    • Soldering
    • Transistors
  • Electronics Courses
  • About Me
  • Contact
You are here: Home / List of 4000 Series IC / CD4081 – An IC With Four AND Gates

CD4081 – An IC With Four AND Gates

Pinout for the CD4081 IC

The CD4081 is a CMOS chip with four AND gates. An AND gate is a logic gate that gives a HIGH output only when all its inputs are HIGH.

This particular Integrated Circuit (IC) has four AND gates and each gate has two inputs. Therefore it’s often called a Quad 2-Input AND Gate.

Pin Overview

Pin NamePin #TypeDescription
VDD14PowerSupply Voltage (+3 to +15V)
GND7PowerGround (0V)
A1 to A41, 5, 8, 12InputInputs A of the four AND gates
B1 to B42, 6, 9, 13InputInputs B of the four AND gates
Q1 to Q43, 4, 10, 11OutputOutputs from the four AND gates
Pin overview for the 4081 IC

What is an AND gate?

An AND gate is one of the basic logic gates. It can have two or more inputs. It gives a HIGH output only when all of these inputs are HIGH. The basic AND gate has two inputs and you can see its symbol and truth table below.

Schematic symbol for AND gate
AND gate symbol
Input AInput BOutput Q
000
100
010
111
Truth Table for the AND gate

How To Use the CD4081

To be able to use any of the AND gates in the chip, you must first connect the VDD pin and GND pin to the power supply. You’ll need a power supply voltage of anywhere from 3V to 15V.

Some versions of the chip support up to 20V. Check the datasheet of your version of the chip for exact values.

The A and B pins are the inputs to the four AND gates in the IC. What you input here decides the output.

The Q pins are the outputs from the AND gates.

Pinout for the CD4081 IC
CD4081 Pinout

CD4081 Example Circuit

Here’s a practical circuit example that you can build using a CD4081 chip.

The circuit demonstrates the basic operation of an AND gate. A fun project for understanding the operation of an AND gate.

Normally, both inputs to the AND gate are pulled LOW by the resistor. Push any of the pushbuttons to create a HIGH on either input pin and see what the AND gate outputs. A lit LED represents a HIGH output. An unlit LED represents a LOW output.

To build this you’ll need:

  • Two pushbuttons
  • A Red LED
  • Three 10 kΩ resistors
  • A chip with AND gates such as the CD4081BE

Connect the circuit as shown using any of the four gates available. For instance, pins 1 and 2 are the inputs to the AND gate with its output at pin 3.

But remember that you also need to connect the VDD and GND pins to your power supply in order for the AND gates to work – even though this is not shown in the circuit diagram.

Alternatives and Equivalents for 4081

You likely find the 4081 IC marked as CD4081, NTE4081, MC14081, HCF4081, TC4081, or HEF4081. Usually with a few extra characters at the end (Ex: CD4081BE).

This has to do with the manufacturer of the chip and the technology used. But the functionality and the pins are the same.

If you can’t find any of these in your local electronics store, check out my list of online stores where you can find components and tools for all your electronics projects.

Or try one of the following IC alternatives with 2-input AND gates:

  • 74HC08: Quad 2-input AND gate
  • 74HC09: Quad 2-input AND gate

4081 Datasheet

Download the PDF datasheet for the IC 4081 here:

CD4081B (Texas Instruments)
HEF4081B (Nexperia)

Reader Interactions

Comments


  1. P.greensill says

    November 26, 2020

    Hi there,
    I’ve just been looking at you circuit with ref to this chip. You say that by pushing any of the switches it will creat a high out put and light the neon.
    This is true of a OR gate not an AND gate.
    Could you please advise. Thanks.

    Reply

    • admin says

      November 26, 2020

      When you push any of the buttons, you create a HIGH on the input, not the output. But I’ll specify it so that it’s clearer.

      Reply

      • Stephen Hookings says

        August 10, 2022

        Well really it is a question to the reader – what happens when you press any of the buttons. Nothing … until you push them both simultaneously.

        Really like the guide. Wondering if there is a TTL version? From what little I understand – HC is CMOS but it isn’t clear if I can run it at 3.3v hence why I am looking for 4000 series Schmitt trigger.

        Reply

  2. Crash says

    December 20, 2020

    1st – Thanks for this FANTASTIC website!!!

    2nd – Why are resistors R1/R2 for?

    Reply

    • U+014B says

      March 15, 2021

      They’re meant to tie each input LOW when its respective button is not pressed. If you just used a regular wire, the signal through the button would short straight to GND.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Integrated Circuit with 4000-series label

Table of Contents

  • Pin Overview
  • What is an AND gate?
  • How To Use the CD4081
  • CD4081 Example Circuit
  • Alternatives and Equivalents for 4081
  • 4081 Datasheet
Back to List of 4000 Series IC

Footer

Other Topics

  • Circuit Calculators & Converters
  • Maker Lifestyle
  • Newsletter Archive
  • Podcast
  • Blog

Social:

  • Facebook
  • Twitter
  • YouTube

Products

  • Electronics Course
  • Other Products

Copyright © 2023 · Ohmify AS · Terms and Conditions · Privacy Policy