Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 03:29:28 03:29


Login with username, password and session length


Pages: [1]
Print
Author Topic: Help with ccp and proton  (Read 3972 times)
0 Members and 1 Guest are viewing this topic.
jeanninemtv
Senior Member
****
Offline Offline

Posts: 311

Thank You
-Given: 57
-Receive: 25


« on: March 05, 2009, 11:54:50 11:54 »

hello,

could you help me a little to measure 2 sources with  frequencies from 0.1  to  500 Hz with pic using proton and ccp modules? , only with interrupts?  i tried but no sucess; only with pulsin i have results but it leaves my code so busy ...
Logged
Opast
Newbie
*
Offline Offline

Posts: 33

Thank You
-Given: 30
-Receive: 19


« Reply #1 on: March 07, 2009, 12:14:02 12:14 »

Proton demo version in sample folder contains CCP file.  Run it in Ptoteus and it should get you going. 
Logged
jeanninemtv
Senior Member
****
Offline Offline

Posts: 311

Thank You
-Given: 57
-Receive: 25


« Reply #2 on: March 07, 2009, 06:03:47 18:03 »

works for frequencies above my range Sad  for "lower2 freqs i still have problem of precision
Logged
Opast
Newbie
*
Offline Offline

Posts: 33

Thank You
-Given: 30
-Receive: 19


« Reply #3 on: March 07, 2009, 10:17:23 22:17 »

Using CCP you can't measure freq from 0.1hz and that's why you must use software for measurement.  The lowest measurement you can get with CCP is 145hz using 4mhz crystal.  Check proton manual under HPWM.  Probably you can lower your crystal to get lower frequency reading using 32khz.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC