

The CD4026 is a decade counter and display driver manufactured by NXP Semiconductors (Part ID: CD4026BNSR). This versatile integrated circuit (IC) is designed to count from 0 to 9 in binary-coded decimal (BCD) format and directly drive a 7-segment display. It simplifies the process of creating digital counters, making it ideal for applications such as digital clocks, frequency counters, and event counters.








| Parameter | Value |
|---|---|
| Supply Voltage (V(_{DD})) | 3V to 15V |
| Input Voltage Range | 0V to V(_{DD}) |
| Maximum Clock Frequency | 6 MHz (at V(_{DD}) = 10V) |
| Output Current (per pin) | ±1.5 mA |
| Operating Temperature Range | -55°C to +125°C |
| Package Type | SOIC-16, PDIP-16, TSSOP-16 |
The CD4026 has 16 pins, each serving a specific function. Below is the pinout and description:
| Pin No. | Pin Name | Description |
|---|---|---|
| 1 | Clock (CLK) | Input for clock signal; increments the counter on a rising edge. |
| 2 | Enable (EN) | Enables counting when HIGH; disables counting when LOW. |
| 3 | Clock Inhibit | Disables the clock input when HIGH; allows clock input when LOW. |
| 4 | Display Enable | Enables the 7-segment display output when HIGH. |
| 5 | Segment A | Output for segment A of the 7-segment display. |
| 6 | Segment B | Output for segment B of the 7-segment display. |
| 7 | Segment C | Output for segment C of the 7-segment display. |
| 8 | GND | Ground connection. |
| 9 | Segment D | Output for segment D of the 7-segment display. |
| 10 | Segment E | Output for segment E of the 7-segment display. |
| 11 | Segment F | Output for segment F of the 7-segment display. |
| 12 | Segment G | Output for segment G of the 7-segment display. |
| 13 | Carry Out | Outputs a carry signal for cascading multiple CD4026 ICs. |
| 14 | Not Used | No internal connection; leave unconnected. |
| 15 | Reset | Resets the counter to 0 when HIGH. |
| 16 | V(_{DD}) | Positive supply voltage. |
Below is an example of how to connect and control the CD4026 with an Arduino UNO to drive a 7-segment display.
// Define pin connections
const int clockPin = 2; // Clock input to CD4026
const int resetPin = 3; // Reset input to CD4026
void setup() {
pinMode(clockPin, OUTPUT); // Set clock pin as output
pinMode(resetPin, OUTPUT); // Set reset pin as output
// Initialize pins
digitalWrite(clockPin, LOW);
digitalWrite(resetPin, LOW);
}
void loop() {
// Reset the counter
digitalWrite(resetPin, HIGH); // Send a HIGH signal to reset
delay(10); // Wait for 10ms
digitalWrite(resetPin, LOW); // Set reset back to LOW
// Increment the counter
for (int i = 0; i < 10; i++) { // Count from 0 to 9
digitalWrite(clockPin, HIGH); // Send a rising edge
delay(100); // Wait for 100ms
digitalWrite(clockPin, LOW); // Send a falling edge
delay(100); // Wait for 100ms
}
}
The 7-segment display does not light up.
The counter skips numbers or behaves erratically.
The counter does not reset.
Q: Can I use the CD4026 with a common anode 7-segment display?
A: No, the CD4026 is designed to work with common cathode 7-segment displays.
Q: How can I count beyond 9?
A: Use the Carry Out pin to cascade multiple CD4026 ICs. Connect the Carry Out pin of the first IC to the Clock pin of the next IC.
Q: What is the maximum clock frequency for the CD4026?
A: The maximum clock frequency is 6 MHz when operating at a supply voltage of 10V.