

The CD4048B is a CMOS digital logic integrated circuit (IC) manufactured by Texas Instruments. It functions as a versatile 4-input NAND gate and is widely used in digital circuits for implementing logic functions. The IC is designed to operate over a broad range of supply voltages, making it suitable for low-power and high-performance applications. Its robust design ensures reliable operation in various environments.








| Parameter | Value |
|---|---|
| Manufacturer | Texas Instruments |
| Part Number | CD4048B |
| Logic Function | 4-input NAND gate |
| Supply Voltage Range (VDD) | 3V to 15V |
| Input Voltage Range (VIN) | 0V to VDD |
| Output Voltage Range (VOUT) | 0V to VDD |
| Maximum Supply Current | 1 µA (at 5V, typical) |
| Propagation Delay | 60 ns (typical at 5V) |
| Operating Temperature Range | -55°C to +125°C |
| Package Types | PDIP, SOIC, TSSOP |
The CD4048B is typically available in a 16-pin package. Below is the pinout and description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | A | Input A for the NAND gate |
| 2 | B | Input B for the NAND gate |
| 3 | C | Input C for the NAND gate |
| 4 | D | Input D for the NAND gate |
| 5 | NC | No Connection |
| 6 | NC | No Connection |
| 7 | VSS | Ground (0V) |
| 8 | Y | Output of the NAND gate |
| 9 | NC | No Connection |
| 10 | NC | No Connection |
| 11 | NC | No Connection |
| 12 | NC | No Connection |
| 13 | NC | No Connection |
| 14 | NC | No Connection |
| 15 | NC | No Connection |
| 16 | VDD | Positive Supply Voltage |
Note: NC pins are not internally connected and can be left floating.
The CD4048B can be interfaced with an Arduino UNO to perform logic operations. Below is an example of how to use the IC with Arduino:
// Define input pins connected to the CD4048B
const int inputA = 2;
const int inputB = 3;
const int inputC = 4;
const int inputD = 5;
// Define output pin connected to the LED
const int outputY = 8;
void setup() {
// Set input pins as outputs to drive the CD4048B
pinMode(inputA, OUTPUT);
pinMode(inputB, OUTPUT);
pinMode(inputC, OUTPUT);
pinMode(inputD, OUTPUT);
// Set output pin as input to read the NAND gate result
pinMode(outputY, INPUT);
// Initialize inputs to LOW
digitalWrite(inputA, LOW);
digitalWrite(inputB, LOW);
digitalWrite(inputC, LOW);
digitalWrite(inputD, LOW);
}
void loop() {
// Example: Set inputs to HIGH and observe the output
digitalWrite(inputA, HIGH);
digitalWrite(inputB, HIGH);
digitalWrite(inputC, HIGH);
digitalWrite(inputD, HIGH);
// Read the output of the NAND gate
int outputState = digitalRead(outputY);
// Use the output state (e.g., turn on an LED)
if (outputState == LOW) {
// NAND gate output is LOW, turn off LED
digitalWrite(LED_BUILTIN, LOW);
} else {
// NAND gate output is HIGH, turn on LED
digitalWrite(LED_BUILTIN, HIGH);
}
delay(1000); // Wait for 1 second
}
No Output Signal:
Unstable Output:
Output Always HIGH or LOW:
Q1: Can the CD4048B operate at 3.3V?
Yes, the CD4048B can operate at supply voltages as low as 3V, making it compatible with 3.3V systems.
Q2: What is the maximum fan-out of the CD4048B?
The maximum fan-out depends on the supply voltage and the connected load. Refer to the datasheet for detailed fan-out specifications.
Q3: Can I use the CD4048B for analog signals?
No, the CD4048B is designed for digital logic signals and does not support analog signal processing.
Q4: What happens if I leave an input pin floating?
Floating input pins can cause unpredictable behavior. Always connect unused inputs to VDD or VSS.
This concludes the documentation for the CD4048B. For further details, refer to the official Texas Instruments datasheet.