Menu Content/Inhalt
Home arrow Guides arrow FunCount Frequency Counter

RSS Feed

FunCount Frequency Counter
Written by nuxie1   
Sunday, 21 September 2008
Article Index
FunCount Frequency Counter
Schematic, Code and Required Components
Making It
Modifications and Comments




Starting with the blank PCB, solder in the four resistors. R1 and R4 are 10k (Brown Black Black Red Brown), R3 and R5 are 390 ohm (Orange, White, Black Black Brown).



Then, solder in the 0.1uF capacitor C2, 22pF Capacitors C3 and C4, the 20MHz Crystal Q1 and the LED. NOTE: The positive long lead on the LED goes to the RIGHT, nearer to the screw terminal.



Next, solder in the vertical pot R2, 16pin female header, 100uF Capacitor C1, 20pin IC socket (with the notch to the LEFT), and the 3pin screw terminal. When soldering the female header, try to keep it as vertical as possible. It may be easiest to solder one pin in, then while the solder is hot position the header so it is vertical. It is safe to solder the IC socket with the microcontroller in place.



Then, carefully place the ATTiny2313 microcontroller into the IC socket, with the notch to the LEFT. You may need to bend the legs inwards to make it fit.



Finally, solder the 16pin male header to the LCD. As with the female header, try to keep it as vertical as possible.



To test the board, supply a regulated 5V input to the labelled inputs on the screw terminal. The far left is +5V, the middle is Ground. The LED should light up, with a blink every second or so.



Turn off the power, insert the LCD to the female header and turn back on the power. The LCD should show a splash screen for a few seconds, then begin showing a frequency readout. If you are near mains power cables, the display may show 50Hz or 60Hz.



If there is no text, try adjusting the backlight pot R2. It may need to be increased by turning it clockwise.

You're finished! If you apply a TTL signal to the IN terminal with reference to GND, the frequency will be displayed.



Last Updated ( Wednesday, 06 May 2009 )
 
Next >
designed by www.madeyourweb.com