Fork me on GitHub

Project Notes

#136 CounterModule

A general-purpose CD4017 counter module.

Here’s a quick video of the module in action:



See other projects like RingCounterController that play with the CD4017 decade counter.

This project puts the chip on a module with an array of LEDs. The main purpose is to be a handy unit for adding simple visualisations, perhaps for diagnostic purposes.

Power and input pins are arranged so that the module can either be plugged into a breadboard, or directly into an Arduino using the expansion “shield” pins. It can run on 3-15V supply voltage (the rating of the CD4017).

It can be operated with as little as one digital output (to the CLOCK input). RESET and CLOCK ENABLE are pulled low by default with 100kΩ resistors.

The CLOCK input has no supporting circuitry, so as to make no assumptions about how the triggering is supplied. This means external pull-down and or debouncing may be required, depending on the application.

LEDs are connected to all 10 outputs and also the carry out. Each is paired with a 680Ω current limiting resistor. Note, if running at lower voltages, a single resistor could be shared at a common cathode of the LEDs. But it depends on the specific LED ratings, as this subjects the LEDs to a reverse voltage equal to the voltage drop across the resistor.



The Schematic

The Schematic

Plugged into an Arduino..

The Build

Plugged into a Breadboard..

The Build

Credits and References

Project Source on GitHub Project Gallery Return to the LEAP Catalog

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

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - 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
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.