PDA

View Full Version : 16F628 Internal clock



srob
- 15th February 2007, 18:36
I wish to add a frequency counter to a square wave generator (20Hz to 3kHz, TTL) using the COUNT instruction, and to keep it really simple was going to use a 16F628, 8x1 LCD and 100nF decoupling capacitor!

Intended to use the internal oscillator and tweak the count period to get a fairly accurate reading (with 3%?).

But wondered if the internal clock drifted with age, temperature, etc?

Thanks

mister_e
- 15th February 2007, 18:38
Yup, that's the bad part. The internal OSC will shift with temperature, wind direction, Gas price and almost everything else. If you need accuracy, use a Crystal.

srob
- 15th February 2007, 18:46
Thanks. Will just have to had a crystal to the parts list!