Home › Magazines › 2008 › May › Tiny Counter

Tiny Counter

Frequency counter module using ATtiny2313

Published in issue 377, May 2008

Tiny Counter
Most small function and signal generators do not have a very accurate frequency control and do not offer a built-in frequency counter. Help is at hand with the tiny frequency counter module described here, which consists essentially of just an ATtiny2313 microcontroller and an LCD panel. The microcontroller is clocked at 20 MHz, and so the counter module can be used at frequencies of up to 5 MHz without the need for a prescaler.

Components

Resistors

R1,R2 = 390Ω

P1 = 1kΩ preset

 

Capacitors

C1 = 100µF 25V radial

C2,C4 = 100nF

C3 = 1µF 25V radial

C5,C6 = 27pF

 

Semiconductors

IC1 = 78L05

IC2 = ATtiny2313, programmed, Elektor Shop # 070954-41

B1 = 2KBP005

D1 = LED, 3mm, red

D2 = LED, 3mm, green

 

Miscellaneous

LCD1 = LCD module, 2 x 16 characters, e.g. Displaytech 162

X1 = 20MHz quartz crystal

S1 = miniature PCB mount switch

K1 = mains adapter socket, PCB mount

14-way pinheader, 1 row, lead pitch 2.54 mm

2 solder pins

PCB, ref. 070954-1

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

Article PDF
10 Elektor Credits
PCB PDF
Free download
 

Order this magazine 

Magazine May 2008
EN377 (USD 6.30)
 

Order from Elektor 

PCB, bare
070954-1 (USD 18.60)
ATtiny2313, programmed
070954-41 (USD 12.10)
 

Free downloads 

Software

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

Sponsored

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Controller Area Network Projects

The aim of this book is to teach you the basic principles of CAN networks and in addition the development of microcontroller based projects using the CAN bus.

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.