Author Topic: 1 Hz crystal clock signal not 1 Hz  (Read 2311 times)

0 Members and 1 Guest are viewing this topic.

Offline buck converterTopic starter

  • Regular Contributor
  • *
  • Posts: 165
  • Country: us
1 Hz crystal clock signal not 1 Hz
« on: July 27, 2017, 09:12:09 pm »
My friend and I built this circuit and it was spot on 1 Hz, measured by our multimeter. 1 day later without moving a wire, it is now closer to 0.6 Hz
http://www.hackersbench.com/Projects/1Hz/
When we replaced the crystal, it did not fix anything. This is the crystal we used:
 https://www.digikey.com/product-detail/en/abracon-llc/AB38T-32.768KHZ/535-9034-ND/675229.
Just me and my scope.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #1 on: July 27, 2017, 09:19:54 pm »
You missed connecting a bunch of pins on the counter to ground.  Floating CMOS gates will collect charge.
 
The following users thanked this post: buck converter

Offline pigrew

  • Frequent Contributor
  • **
  • Posts: 680
  • Country: us
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #2 on: July 27, 2017, 09:21:12 pm »
The first thing I'd do is as decoupling capacitors to your ICs. Add around 0.1uF from the vdd pin to ground on each IC. It probably won't make it work, but it's a good idea to do.
 
The following users thanked this post: buck converter

Online MK14

  • Super Contributor
  • ***
  • Posts: 4539
  • Country: gb
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #3 on: July 27, 2017, 09:22:11 pm »
The second IC (on the right), seems to be missing a power pin connection. Since there are no visible wires on one entire side of it.
Maybe your Cat/Pet got hungry during the night ...
 
The following users thanked this post: buck converter

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #4 on: July 28, 2017, 12:18:32 am »
The web page where you got the circuit has a layout already done that you can duplicate exactly on your bread board. Try changing your circuit to match that layout and see how it works.

(1Hz Time Base Layout, Standard Radio Shack style protoboard.)



 

Offline buck converterTopic starter

  • Regular Contributor
  • *
  • Posts: 165
  • Country: us
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #5 on: July 28, 2017, 01:58:22 am »

Tracked the problem down to the 32.7680 KHz crystal, which is oscillating at 4 KHz. Is this waveform normal? picture at http://imgur.com/a/vsqO4
« Last Edit: July 28, 2017, 02:03:54 am by buck converter »
Just me and my scope.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #6 on: July 28, 2017, 02:15:20 am »
The datasheet for the crystal shows 12.5pF load capacitance but your circuit has 30pF plus all the capacitance between the connector strips of the breadboard. Use 12pF capacitors and get rid of the breadboard and use a properly designed pcb instead.
 

Offline lowimpedance

  • Super Contributor
  • ***
  • Posts: 1247
  • Country: au
  • Watts in an ohm?
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #7 on: July 28, 2017, 02:15:40 am »
The web page where you got the circuit has a layout already done that you can duplicate exactly on your bread board. Try changing your circuit to match that layout and see how it works.

(1Hz Time Base Layout, Standard Radio Shack style protoboard.)

Exactly this, then report back if it still doesn't work.
As it stands by the photo its never going to work.
The odd multimeter or 2 or 3 or 4...or........can't remember !.
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #8 on: July 28, 2017, 08:05:58 am »
At one time, I built a 1 Hz generator using a CD4521B and a 4.194304 MHz crystal on a plastic breadboard and it worked fine. It was used to set the gate time of a frequency counter and I think I may still have that project somewhere in a box.
 

Offline nali

  • Frequent Contributor
  • **
  • Posts: 657
  • Country: gb
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #9 on: July 28, 2017, 08:29:46 am »
Looks like pins 10 & 11 are transposed...
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9506
  • Country: gb
Re: 1 Hz crystal clock signal not 1 Hz
« Reply #10 on: July 28, 2017, 08:36:12 am »
At one time, I built a 1 Hz generator using a CD4521B and a 4.194304 MHz crystal on a plastic breadboard and it worked fine. It was used to set the gate time of a frequency counter and I think I may still have that project somewhere in a box.

Ironically (for a breadboard) it was actually the high crystal frequency that saved you. They run at much higher drive level and load capacitance than a whimpy little 32kHz crystal can tolerate.
Best Regards, Chris
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf