7 Threads found on edaboard.com: Pic Frequency Counter C Code
Hi,
I am trying to make a frequency counter using a pic 16f882 .
The idea is using TMR1 to measure the pulse period and use it to get the frequency.
I am using a 16 MHz crystal so that TMR1 increases every 250ns ( FOSC/4 and 1:1 Prescale Value )
Here is the code :
#include
// CONFIG1 (...)
Microcontrollers :: 12-15-2016 22:43 :: dope40 :: Replies: 1 :: Views: 526
pickit2 can certainly program a 12F683, I use them all the time.
Brian.
Microcontrollers :: 04-27-2015 16:11 :: betwixt :: Replies: 10 :: Views: 880
hello everyone I am trying to measure frequency using pic16f886. I am using simple comparator for Sine wave to square wave conversion. And I have attached the input of comparator with RA4/T0CLK to use Timer0 as a counter.I have also copied code for it but my LCD displays counts from 0-9 and then again roll overs to 0 and (...)
Microcontrollers :: 03-03-2015 11:12 :: Mrunal Ahirrao :: Replies: 4 :: Views: 1384
Maybe code part of mine non-pic, zero parts, 50 MHz (at least), freq meter can help you.
Microcontrollers :: 06-18-2013 08:59 :: josiphal :: Replies: 1 :: Views: 1315
Hello I have found this project for a frequency counter
Since it has many pins not used and since space is limited, I would like to port the code to another pic.
As far as I can see from the datasheet
Microcontrollers :: 03-21-2013 11:16 :: neazoi :: Replies: 2 :: Views: 549
Hi,
There you go:
Schematics and C code for a pic (16F877A) frequency counter operating up to about 50 MHz
Microcontrollers :: 01-23-2008 23:14 :: hugo :: Replies: 3 :: Views: 5343
Hi,
someone have developped a picbasic program for frequency counter pic based?
Microcontrollers :: 09-26-2004 16:41 :: leemarrow :: Replies: 16 :: Views: 15661