Frequency Counter to 1MHz

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
electrolaw
Posts: 8
Joined: Mon Mar 12, 2012 8:19 am
Has thanked: 6 times
Been thanked: 4 times

Frequency Counter to 1MHz

Post by electrolaw »

Hello,

I didn't want to hijack the topic "Frequency counter 35 Mhz" so I thought it best to open a new thread.

I am working on an application where I need to determine the frequency of a digital signal appearing on the pin of a sensor IC. The PIC I'm currently using is a PIC16F1829, but I could change it to another PIC if there is one that would be better for the frequency counter or add an external clock source forTimer1, if Timer1 would be a better choice than Timer0.

The frequency counter range I need would be around 1KHz up to 1 MHz. I have reviewed the "Digital frequency counter' program which is in the FLowcode v5 Examples - Interrupts file and I like the elegance of the program, but the range is only up to 32KHz or possibly as high as 64KHz by modifying the LCD Print Number Function .

So, I was wondering if it was possible to to modify the example Digital frequency counter program to allow it to have a range up to 1 MHz and if so, how would I go about doing that? I'd certainly be willing to use another PIC if necessary.

I like medelec35's program posted under the "Frequency counter 35 Mhz" thread, and would like to know if the Digital frequency counter program can be modified to get the same result.

Post Reply