Advertisement
banner image
Print

Design & Technology

Integrated circuits

Page:

  1. 1
  2. 2
  3. 3
  4. 4
  1. Back
  2. Next

Counter circuits

Counter circuits record the number of times an event takes place.

The counter circuit you are most likely to come across is the 4017 decade counter IC, which can be set to count to any value between one and 10 , over and over again. The 4017 is a complementary metal oxide semiconductor (CMOS) integrated circuit.

A decade counter has ten outputs. When it is turned on, the counter switches from one output to the next. The speed at which each output turns on or 'goes high' is determined by a timer connected to an input. The counter is switched on and off using either a manual switch or with an astable 555 timer (using pin 3 on the 555 as the output).

Below is a pin-out diagram showing the arrangement of pins in a 4017 counter chip, and a guide to what each pin does.

Pin-out diagram for a 4017 decade counter showing the arrangement of pins in a 4017 counter chip, and a guide to what each pin does.

Pin-out diagram for a 4017 decade counter

  • Pins 1 to 7 and pin 9 and pin 11 are outputs for the counter.
  • Pin 8 is the negative power supply.
  • Pin 12 is the carry-out pin (this could be connected to another 4017).
  • Pin 13 is the enable pin. It can be used to stop the count.
  • Pin 14 is the clock pin. This will be connected to a manual switch or to an astable 555 timer.
  • Pin 15 is the reset pin. This returns counter to zero.
  • Pin 16 is the positive power supply pin. It runs at a voltage between 3V and 16V.

Random number generation

The circuit below shows a decade counter being used as a random number generator or electronic dice. The input 14 can be connected to a 555 timer to operate the dice. A switch has been connected to pin 13, which will stop the dice when pressed.

Electronic dice

Electronic dice

Enlarge image

Page:

  1. 1
  2. 2
  3. 3
  4. 4
  1. Back
  2. Next

Back to Electronics index

Explore the BBC

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.