Oh yeah, so basically it's a kind of frequency counter? how much accuracy you need? What's the threshold (+/- 10Kz, +/- 1Mhz)?
Oh yeah, so basically it's a kind of frequency counter? how much accuracy you need? What's the threshold (+/- 10Kz, +/- 1Mhz)?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I'm looking for very small changes in frequency. As little as 20 Hz. This is why I have a 24 bit counter. The counter is updated once per second, and the new count is always subtracted from the base count. This device is intended to measure accumulated thickness of material deposited on a substrate. The crystal, which is located near the substrate, is also coated and thereby loaded with the material which causes the frequency to decrease. The change in frequency can be related to thickness of coating of the material based on density of material and other factors.
So that's something an internal PIC counter can do without much problem (maybe some overflow handling or some prescaler thingy) ... but always possible. No real need for extra external counter.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks