PDA

View Full Version : Help using this crystal?



Kamikaze47
- 13th November 2009, 17:01
Hi,

I'm used to using regular 32.768khz 2-pin crystals with 2 caps to drive timer1 for a real time clock.

But I have this 4-pin clock/crystal that I would like to use (pic attached), but i'm not sure how to go about it.

I've searched for a data sheet but havnt had much luck finding one that is an exact match.

Do I still need capacitors for this type of clock? And how do the connections to the timer OSC pins go considering this thing has 4 pins.

Thanks.

Byte_Butcher
- 13th November 2009, 17:09
Hi,

I'm used to using regular 32.768khz 2-pin crystals with 2 caps to drive timer1 for a real time clock.

But I have this 4-pin clock/crystal that I would like to use (pic attached), but i'm not sure how to go about it.

I've searched for a data sheet but havnt had much luck finding one that is an exact match.

Do I still need capacitors for this type of clock? And how do the connections to the timer OSC pins go considering this thing has 4 pins.

Thanks.

Here's a bit of data:
http://www.icwic.com/icwic/data/pdf/cd/cd037/Variable%20Frequency%20Oscillators/a/99977.pdf


steve

Kamikaze47
- 13th November 2009, 17:18
Thanks Steve. Looks like the closest thing to a data sheet I will get for this particular one.

Still lost as to how to hook it up to the timer1 oscillator inputs. Anyone played with these before?

Bruce
- 13th November 2009, 23:55
No caps needed. Just connect the TTL clock osc output to T1CKI, and setup TMR1 for external clock from T1CKI pin with LP oscillator off.

Kamikaze47
- 14th November 2009, 04:04
ok, so i guess it's as simple as this?

pin 1 - no connection
pin 7 - ground
pin 8 - T1CKI pin of PIC
pin 14 - +5v

Bruce
- 14th November 2009, 14:48
Yep. Should be.