Author |
Message |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Wed May 28, 2008 6:26 am Subject: Problems with RPM code on PIC16F877 |
Thanks for your input RLScott, some "food for thought" and something worth looking into. I am still puzzled at the problem of the rpm reading...
I don't know why RPM is coming out 25 ... |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Wed May 28, 2008 5:47 am Subject: Re: rpm |
The input signal is from the engine itself, with a filter circuit described for filtering automotive high frequency ignition "ringing" from an article in an electronics magazine, simply cons ... |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Wed May 28, 2008 3:31 am Subject: Problems with RPM code on PIC16F877 |
Anyone? |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Mon May 26, 2008 12:54 am Subject: Problems with RPM code on PIC16F877 |
After the latest changes, "setup_timer_1 (T1_INTERNAL|T1_DIV_BY_1)" and "RPM = (int32)150E6/period" the RPM value is now under reading the true RPM of the engine, by approximately ... |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Sat May 24, 2008 12:16 pm Subject: Problems with RPM code on PIC16F877 |
Thanks for the feedback. I have made the necessary changes and its working better now. Only problem that I am experiencing is that the RPM value has an exponential error, meaning that when testing it ... |
Topic: Problems with RPM code on PIC16F877 |
hp_sa
Replies: 12
Views: 9873
|
Forum: General CCS C Discussion Posted: Thu May 22, 2008 5:11 am Subject: Problems with RPM code on PIC16F877 |
I am having trouble getting the rpm reading from an engine (4cyl). I am using the PIC16F877, 20Mhz crystal, CCS PCM compiler version 3.207.
My code is as below,
setup_timer_1 (T1_INTERNAL|T ... |
|