Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] frequency measure...help!!!

Status
Not open for further replies.

muhammadali_16

Full Member level 3
Joined
Jul 15, 2011
Messages
161
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,335
hiz. i have not much code skill. im using PIC16F877A

after reading many codes, i make a code of CAPTURE module to calculate the frequency. my code is giving me some value regarding the frequency (having direct result from Capture Low and High register CCPR1H and CCPR1L).

now i stuck to decode it into correct frequency measurement

im using 4MHz crastal with Tosc and 4prescaler value and coding in C

help me!!!!
 
Last edited:

frequency counter using pic and C

hiz. i need a code regarding frequency counter using the capture module of pic. i tried too much to do it but failed.

do anyone have this. my aim is to make a speedometer and RPM display using 7-segment and LEDs.

the main problem is of the frequency count of the pulse.

can anyone help me
 

If its just about counting and displaying then why not use external interrupt RB0
 

yah.... but i want to do it by capture module. i also planning to add RPM with it. thats why i need Capture module code with interrupt. is anyone having the code of capture module. kindly post it.

the capture module should calculate anything, time period, frequency or anything.
the only problem i m facing with flag (interrupt) control.

post me the code with separate functions.

thx in advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top