L
Lostgallifreyan
- Jan 1, 1970
- 0
Yes, that's a problem for sure. I wonder how accurate is the 60 Hz
from the power company?
Trust me... don't go there. >
Yes, that's a problem for sure. I wonder how accurate is the 60 Hz
from the power company?
Some micros have two oscillators built in, so a reference xtal and a
DUT could be connected directly. But I can buy a lot of new
guaranteed-accurate crystals for the cost of the engineering to make
such an instrument.
0.5% typical of many multimeters
---
The insurmountable problem I see with your approach is that no
matter what you do you can't use the µC's time base to determine its
own frequency since you'll either have to have a reference time base
running independently from your µC time base or, knowing the
frequency and accuracy of your µC time base, use it as the
referenced against which to measure the period/frequency of the
crystal being tested in a _separate_ oscillator.
In either case what
you'll have built is a conventional frequency or period counter.
I thought some microprocessors like that were meant to be very cheap,
designed to allow a realtime clock as well as the stuff for processing
timebased information. One of those might be ideal. Just tap the realtime
clock circuit for the reference.
In sci.electronics.basics said:Yes, that's a problem for sure. I wonder how accurate is the 60 Hz
from the power company? A quick websearch didn't come up with
anything.
If it were reliable to a few PPM that might work as a
timebase. And IIRC the PIC devices have protective circuitry on the I/
O pins so all you need is a current-limiting resistor, say ten
megohms.
Right. One that anyone with a PIC device could make in a few minutes
when needed, and repurpose for other uses afterwards.