SOURCE CODE NEEDED in C for frequency counter

Status
Not open for further replies.

ajit123456

Newbie level 3
Joined
Nov 11, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Hi,
Recently I visited the page **broken link removed**
Now I'm very much interested to build the circuit with modification to use it as a tachometer(or rpm meter).The hex file is working correctly for frequency meter.
But the source code I guess is intentionally posted with errors and incomplete.
Please anyone give me the source code for the same.
All circuits are given in the .rar file
Thanks.
 

Attachments

  • Frequency-Counter.rar
    281.4 KB · Views: 147

while I am ignorant of C language,
1. I remember somewhere that the file should end with "while1",I did not find any such.
2. __config .... is used in asm
3. you need to know basically which C is this as there are many variants.
4. the include files , especially the delay.c is needed for any compilation.
PS: the C is Hi-Tech C, as indicated in article
the definitions were modified and a new file attached. you may even delete the"delay.c"
Can you try this file please?
 

Attachments

  • Freq Counter-C.rar
    765 bytes · Views: 122
Last edited:


Check this out : EasyPIC6 Project 1. Frequency/RPM meter - 12th Oct 2009.

You can use it as a Frequency meter (range from 0 to 65000 Hz) or a RPM meter "Tacho" (from 0 to 3900000 RPM)

Some EasyPIC6 projects

ZIP file contains the MikroC PRO source code in C

https://www.romanblack.com/easypic6/EP6_FREQ.zip

and another one :


* PIC16F84 microcontroller
* RS232 text output
* one output per second
* basic frequency range from 0 to 83 KHz with 20 Mhz crystal
* 1 Hz accuracy
* no extra component !
* can be build without MikroC compiler licence !

and make it run on a EasyPic development circuit board.

The C language source code is freely provided !

Simple Frequency Meter
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…