Search Engine

7 Threads found on 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 (...)
Hello everybody. I am a newcomer to the world of pic microcontrollers. Needless to say, I'm pretty inexperienced with coding, and was wondering if any kind souls could take a stab at this, and I could learn from what you come up with. I am using a pic16F88, Here's what needs to happen: Set pin 6 as input 1, set pin 10 as output 1, set pin 11 as
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 (...)
Hi all, I am trying to make a frequency counter and wrote some code. I wanted to use a frequency averaging part to make things more accurate. But when I run the code with the averaging part it acts funny (at frequencies close to 10kHz). Also please give me some pointers to the variable declaration (eg (...)
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
Hi, There you go: Schematics and C code for a pic (16F877A) frequency counter operating up to about 50 MHz
Hi, someone have developped a picbasic program for frequency counter pic based?