Frequency Counter Project Help - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 20th November 2007, 03:54 AM   #1
Bengali is offline Bengali  United States
diyAudio Member
 
Join Date: Oct 2006
Default Frequency Counter Project Help

Hi,

I built this 50Mhz Frequency Counter Circuit:

http://www.sixca.com/eng/articles/fc50/


I download the source code at the bottom of the page.
It contains both .asm and .hex files.

I'm using the same exact chip, PIC16F84A. I'm using MPLAB 7 and the Olimex ICD2. I have programmed the pic, verfied it it has programmed. tried a blank check, erased the part.

When I power up the circuit, I get no text. I'm using a 16x2 character LCD module. The pinouts are exactly the same as the 16x1.

At this point, I'm not sure if I have programmed the chip properly.
I open the hex file, set the device to PIC16F84A, OSC XT, Watchdog OFF, next two settings ON,ON.

I have tried opening the .asm file and compiled it but I get bank 0 errors. I don't know any assembly to fix these bank errors.

Also, the schematic says Adjust R3 for 5Volts here. I'm not sure which point they are referring to and I think they meant R5?

Thanks for your help!
  Reply With Quote
Old 20th November 2007, 06:03 AM   #2
Bengali is offline Bengali  United States
diyAudio Member
 
Join Date: Oct 2006
Hi,

okay, I got it sort of working. I just need help on the assembly code, some minor tweeks.

When I power up circuit, the LCD comes up with a 'P' ,00 IHx,
the Hx instead of Hz.

It is able to display the frequency but only 4 digits, example:

1491 Hx

I'm using a 16x2 display so something is off. Here is the link to the 16x2 module:

http://character-lcd-lcds.shopeio.co...haracter%20Lcd

Attached is the source code.

Thanks for your help.
Attached Files
File Type: txt 50mhz.txt (18.2 KB, 13 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Waveform Generator & Frequency Counter PCB's ANDYLASER Swap Meet 1 13th November 2009 11:35 AM
Miida Digipet-60 160 Frequency Counter ccm347 Everything Else 0 29th December 2008 07:25 AM
HeathKit Frequency Counter Coulomb Swap Meet 3 10th April 2006 01:50 AM
Heath Zenith Hand Held Frequency Counter Coulomb Swap Meet 3 2nd March 2005 09:05 PM
BPM counter kinser Digital Source 0 18th January 2004 01:36 PM


New To Site? Need Help?

All times are GMT. The time now is 07:08 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2