Author Topic: Crystal Tips (no Alistair)  (Read 1421 times)

0 Members and 1 Guest are viewing this topic.

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Crystal Tips (no Alistair)
« on: July 09, 2020, 04:26:38 pm »
I have salvaged two crystals from an old piece of kit (trailcam). All they have on them is a freq indication: 12.000 and 32.768.

I have setup a Colpitts (see attached) and got the 12.000 to oscillate at 12MHz.

However, I can't get the other one to oscillate. I assumed it was "MHz" but, having searched a bit, think it might be "kHz" as the trailcam had a clock.

Can I use this circuit to get it to oscillate? If so, where can I find the best values for the caps and resistors?

Cheers.
You can release yourself but the only way to go is down!
RJD
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6133
  • Country: de
Re: Crystal Tips (no Alistair)
« Reply #1 on: July 09, 2020, 04:36:36 pm »
It's most likely a 32.768 kHz "tuning fork" crystal. What does it look like? A small cylinder?

These are very sensitive to overdriving, drive power should be no higher than 1 uW. Load capacitance is usually 10...20 pF.


« Last Edit: August 19, 2020, 09:56:52 pm by Benta »
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #2 on: July 09, 2020, 04:41:35 pm »
Yes, a very small cylinder.
Oops! I've simply put it in the same circuit as the 12MHz one; hope I haven't killed it.
You can release yourself but the only way to go is down!
RJD
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6133
  • Country: de
Re: Crystal Tips (no Alistair)
« Reply #3 on: July 09, 2020, 05:44:03 pm »
Nah, it'll most likely be OK.

32.768 kHz crystals normally operate as Pierce oscillators.

The simplest is a 74HCU04 (the "U" is important!). Use a second inverter to buffer the output.

Rf = 2...10 Mohms
Rd = 330 kohms
Cd, Cg = 10...12 pF

Never had any problems with this set up.


« Last Edit: July 09, 2020, 05:45:39 pm by Benta »
 
The following users thanked this post: PerranOak

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #4 on: July 10, 2020, 02:04:05 pm »
Cheers. I guess I'll have to buy a 74HCU04 as my 74LS04 didn't work!
You can release yourself but the only way to go is down!
RJD
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6133
  • Country: de
Re: Crystal Tips (no Alistair)
« Reply #5 on: July 10, 2020, 05:17:00 pm »
Cheers. I guess I'll have to buy a 74HCU04 as my 74LS04 didn't work!

74LS will never work. Far too much input current, it has to be CMOS.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #6 on: July 10, 2020, 06:12:27 pm »
... and unbuffered. I tried a 74HC14 which seemed to osc at 40MHz!  :-DD
You can release yourself but the only way to go is down!
RJD
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6133
  • Country: de
Re: Crystal Tips (no Alistair)
« Reply #7 on: July 10, 2020, 06:18:15 pm »
NEVER! use Schmitt-trigger inverters for crystal oscillators.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #8 on: July 11, 2020, 09:05:22 am »
Agreed.
You can release yourself but the only way to go is down!
RJD
 

Online ledtester

  • Super Contributor
  • ***
  • Posts: 3197
  • Country: us
Re: Crystal Tips (no Alistair)
« Reply #9 on: July 12, 2020, 01:23:56 am »
For the 32kHz crystal you might try this circuit:

http://www.discovercircuits.com/DJ-Circuits/ultralowpwrxtlosc1.htm
 
The following users thanked this post: PerranOak

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22229
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Crystal Tips (no Alistair)
« Reply #10 on: July 12, 2020, 11:05:11 am »
The 32kHz crystal has a very high impedance, 100s of kohms.  (In general, crystal impedance is comparable to the reactance of the loading capacitors.)  Basically it's shorted out by the bias resistors.  Try increasing the resistor values by 10 or 100x.  The output level will be pretty weak as well, but you can add another transistor to buffer it if needed.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: hsn93

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #11 on: July 12, 2020, 12:59:45 pm »
Brilliant. The "discovercircuits" circuit worked a treat (see attached).  ;D

Thank you very much ledtester.

I think I will need to buffer the output to trigger my Schmitt trigger, cheers.
You can release yourself but the only way to go is down!
RJD
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 550
  • Country: gb
Re: Crystal Tips (no Alistair)
« Reply #12 on: July 13, 2020, 02:49:30 pm »
Now that the xtal is oscillating nicely, how do I divide the freq down to a nice accurate 1Hz.

Surely it's not a case of fifteen flip-flops in a row?
You can release yourself but the only way to go is down!
RJD
 

Offline oPossum

  • Super Contributor
  • ***
  • Posts: 1440
  • Country: us
  • Very dangerous - may attack at any time
Re: Crystal Tips (no Alistair)
« Reply #13 on: July 13, 2020, 03:06:42 pm »
CD4060 will get you to 2 Hz and it has an oscillator circuit that you may be able to use.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22229
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Crystal Tips (no Alistair)
« Reply #14 on: July 14, 2020, 02:50:52 am »
If you wish to continue in discrete form, there are a few simplifications that can be made -- a full D-type flip-flop is quite a lot of work, but a pulse-triggered toggle requires only two or three transistors.  Also, an astable multivibrator can be used as an injection locked oscillator, giving oddball ratios -- not just 1/N but also N/M if you get it to lock just so.  (Needless to say, some ratios are pretty tricky to tune in, and you're best off going with simple ratios; small powers of 2 would be most useful here I guess, such as 4 or 8.)

Otherwise, just getting the all-in-one block (see above) is a very convenient way indeed. :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf