??? 12/02/09 13:03 Read: times |
#171391 - Big differences Responding to: ???'s previous message |
Latency idea is OK, but it could give a little error of +/- 1 count. I think that 100Hz input signal is not properly processed.
What waveform are you using? How do you detect the zero crossing? May be the signal is noisy, and you should average several counts. Daniel |
Topic | Author | Date |
Using timer 2 for frequency measurement | 01/01/70 00:00 | |
Latencies | 01/01/70 00:00 | |
Big differences | 01/01/70 00:00 | |
I'm using a PLC and a Oscilloscope !! | 01/01/70 00:00 | |
2% jitter... | 01/01/70 00:00 | |
Try a free-running timer and average 10 periods | 01/01/70 00:00 | |
Dear Per | 01/01/70 00:00 | |
You may use timer2 if you want | 01/01/70 00:00 | |
Latency... | 01/01/70 00:00 | |
Frequency Measure | 01/01/70 00:00 | |
now using timer 0 and ext intr 0 | 01/01/70 00:00 | |
giving up without proof that ... | 01/01/70 00:00 | |
Your calculations are OK![]() | 01/01/70 00:00 |