Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

CCP - capture problem

Status
Not open for further replies.

hemnath

Advanced Member level 2
Joined
Jun 24, 2012
Messages
664
Helped
61
Reputation
120
Reaction score
57
Trophy points
1,308
Location
Chennai
Activity points
6,331
I want to measure 100 Hz to 6Khz frequency and display the value in LCD. I have completed the coding by using CCP - capture mode in PIC and the program executes well but the problem is, there is an error of about +/- 10Hz difference with my actual frequency. I want to reduce the error of about +/-2Hz. Im using 4Mhz external crystal. Is it possible to achieve? or do i have to increase my crystal?
 

ec_nisarg

Full Member level 2
Joined
Jun 22, 2011
Messages
142
Helped
20
Reputation
38
Reaction score
19
Trophy points
1,298
Location
Ahmedabad, India, India
Activity points
2,097
name the pic device you are using..

also ext crystals tends to have slightly different freq. than rated one. you have to compensate with that, if you have oscilloscope measure the exact freq of your crystal

- - - Updated - - -

name the pic device you are using..

also ext crystals tends to have slightly different freq. than rated one. you have to compensate with that, if you have oscilloscope measure the exact freq of your crystal
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top