Fork me on GitHub

Project Notes

#804 CD4029 Counter

Taking a close look at the CD4029 Pre-settable Binary/Decade Up/Down Counter, and testing it out with a basic counter circuit.

Build

Here’s a quick demo..

clip

Notes

About the CD4029

The CD4029 is a versatile CMOS 4-bit binary/decade up/down counter that can be configured to operate in either binary or BCD (decade) mode. It features separate up/down control, a synchronous preset (allowing the counter to be loaded with any 4-bit value), and a carry-out signal for cascading multiple counters. With each clock pulse, it increments or decrements its count depending on the control inputs, making it suitable for frequency division, event counting, digital clocks, and arithmetic operations.

Operating over the wide CMOS voltage range of 3V to 15V, the CD4029 offers high noise immunity, low power consumption, and compatibility with other 4000-series logic devices. Its configurability and clean, synchronous operation make it more flexible than simpler counters like the CD4516 or CD4040, allowing it to be used in applications such as programmable timers, keypad interfaces, sequence generators, and digital control systems.

CD4029-pinout

Circuit Design

The demonstration circuit features:

  • a variable frequency clock signal provided by LEAP#791 555 Breadboard Pulse Generator
  • J0-3 tied to ground, so that pressing CLEAR will reset the output to 0x0
  • a SPDT switch BIN/DEC to switch between a binary (0-15) and decimal (0-9) count
  • count UP/DOWN hard-wired to count up

Designed with Fritzing: see Counter.fzz.

bb

schematic

Running on a breadboard:

bb_build

Test Results

Wired up the outputs to a mixed oscilloscope/logic analyzer so we can see the behaviour in detail:

bb_test

In the following trace we see a full 4-bit binary count:

  • CH1 (Yellow) - Q4 (slowest changing output, used to trigger the scope)
  • CH2 (Blue) - CLK signal
  • Logic signals:
    • D0: Q1
    • D1: Q2
    • D2: Q3
    • D3: A4
    • D4-7: unused (tied to ground)

scope.gif

Credits and References

About LEAP#804 Digital LogicCMOS/TTLCD4029

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader