PDA

View Full Version : frequency meter output



iw2fvo
- 21st August 2015, 16:41
Good day to all of you in the forum.
I have seen a lot of projects on the web relevant to the frequency meter using PIC's. All of them send the measured frequency on an LCD.
I am asking if somebody knows a freq meter project in which the measured frequency is sent over the serial output.
Thanks for helping.
regards,
Ambrogio

Art
- 25th August 2015, 12:32
Take any of those projects where the source is given up for a micro platform,
after the sample period, at the time of printing to the display, also send the value to a hardware serial port.
If the value is higher than a byte, fill a buffer and empty a byte at a time, and rewrite the buffer for every cycle it’s emptied.
That kind of serial frequency counter would be as accurate as any other for the period measured,
but if you were watching a frequency that changed fast, that chip can’t track it with much speed. It would be a horrible spectrum analyser :D

iw2fvo
- 26th August 2015, 08:53
Thanks Art,
have you some sample source program to suggest please ?
regards,
Ambrogio

ardhuru
- 26th August 2015, 10:20
Hi,

Serial output, as you mentioned: http://www.moty22.co.uk/c1mhz.php

Even better, USB output: http://www.moty22.co.uk/usb_counter.php

Regards,

Anand