The CD4030 is a CMOS chip with four XOR gates. Because each gate has two inputs and it has four gates inside, it’s usually called a Quad 2-Input XOR Gate.
This chip is more or less identical to the CD4070.
XOR means exclusive OR, and will only give a HIGH output if one of the inputs is HIGH and the other is LOW. Or to say it in another way: The output from an XOR gate will be HIGH only if the inputs are not equal.
|Pin Name||Pin #||Type||Description|
|VDD||14||Power||Supply Voltage (+3 to +15V)|
|A1 to A4||1, 5, 8, 12||Input||Inputs A of the four XOR gates|
|B1 to B4||2, 6, 9, 13||Input||Inputs B of the four XOR gates|
|Q1 to Q4||3, 4, 10, 11||Output||Outputs from the four XOR gates|
What is an XOR gate?
|Input A||Input B||Output Y|
How To Use the CD4030?
You need a power supply voltage of 3 to 15V. Some versions of the chip support up to 20V. Check the datasheet of your version of the chip for exact values.
To be able to use any of the XOR gates in the chip, you need to connect the VDD pin to the positive supply terminal and the GND pin to the negative supply terminal.
The A and B pins are the inputs to the four XOR gates in the IC.
The Q pins are the outputs from the XOR gates.
CD4030 Example Circuit – Toggle Flip-Flop
Here’s an example of an XOR gate being used to create a T Flip-Flop (a Flip-Flop that toggles):
Every time you have a rising clock edge, if T is HIGH, the output Q will toggle. So if Q was HIGH, it will be LOW. If it was LOW, it will be HIGH.
To build this you’ll need:
Alternatives and Equivalents for CD4030
You likely find the 4030 IC marked as CD4030, NTE4030, MC14030, HCF4030, TC4030, or HEF4030. Usually with a few extra characters at the end (Ex: CD4030BE).
This has to do with the manufacturer of the chip and the technology used. But the functionality and the pins are the same.
If they don’t have any of these chips in your local electronics store, check out my list of online stores where you can find components and tools for all your electronics projects.
Can’t find the 4030? Then try one of the following IC alternatives with 2-input XOR gates:
- 4070: Quad 2-input XOR
- 74HC86: Quad 2-input XOR
Download the PDF datasheet for the IC 4030 here: