General Category    (This section is not monitored) > Free Topic

Frequency Counter

<< < (3/5) > >>

radium98:
ok sir when its finished i will upload the final project to the gallery .but i need exact response is it the same that if i up the xtal frequency from 4 to 16 and down the scale from 256 to 64 will this remain the same in work .yess or no .plz exact response .Thanks JAN for help

Jan:
It will work the same way with one exception - the display refresh rate will be 4 times higher but this makes no problem.

radium98:
Thanks u are the man when it finished i will send final to u thanks for pira .i want to buy and this for my hobbie the audio spectrum analyser and one minirds but have some problem with the shippement hi price but its not a problem when my money will be enough :) i will surely buy them.1000 THANKS.

radium98:
 :D :DDEAR JAN from my first result on the function of the 1 GHZ counter it seems to work perfect when i have put u664b scale by 64 and keeping the xtal firstly 4MHZ i have to divide the result by 4
exemple :exciter maun frequency 98.3 i saw on the led display of the freqquency counter 393.2 mhz /4=98.3.
changing the xtal to 8.00MHZ i have on the display 196.6 (196.6/2)=98.3 mhz .
the bad news that i cant get the xtal 16MHZ oscllate ,i have increased the value of the parralel capacitors from 22pf to 33pf and decreasing them to 15pf but nothing happened .i guet on yhe display NUMBER (P)

thanks for help.

Jan:
As I mentioned above, if you use PIC16F84-04/P, it has a maximum frequency of 4 MHz so it will probably not work on 16 MHz. Make sure you've selected HS oscillator mode. If no succes, you must buy PIC16F84A-20/P.

It is also possible to use 4 MHz crystal and change the prescaller value in the asm file as showed below and compile it again:

Original value:

--- Code: ---        MOVLW   B'01110011' ;prescaler & pull-ups
--- End code ---

New value:

--- Code: ---        MOVLW   B'01110101' ;prescaler & pull-ups
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Reply

Go to full version