Circuitbenders Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Crystal clock replacement  (Read 13576 times)

LoFi-Ninja

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 136
Crystal clock replacement
« on: July 23, 2009, 07:30:30 PM »

Hi..

Simple Q.. I have a cute drum/beat box that has a 16MHz crystal clock of the two pin type.

I've tried replacing it with various variable oscillators but it just won't work.. Can you guide me to a schematic that you know works for replacing crystals... ?

Thanks alot !


Logged

Gordonjcp

  • This person is dangerously insane.
  • *******
  • Karma: 78
  • Offline Offline
  • Posts: 1005
    • http://www.nekosynth.co.uk
Re: Crystal clock replacement
« Reply #1 on: July 23, 2009, 08:37:25 PM »

One of the crystal pins will be an output, and one will be an input.  You may need to try both the pins to see which works.  Start with your oscillator set to 16MHz first.
Logged
If at first you don't succeed, stick it through a fuzzbox.

LoFi-Ninja

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 136
Re: Crystal clock replacement
« Reply #2 on: July 24, 2009, 01:09:58 AM »

Are you sure they're "polarity oriented" ??? I've never had this problem before.. I'm pretty sure it's only the four legged ones that got a specific pinout..
Logged

MAGTIG

  • Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 38
  • asspostle
Re: Crystal clock replacement
« Reply #3 on: August 09, 2009, 08:36:39 AM »

Anyone happen to know if Radioshack or Fry's Electronics (US) stock crystals?

If not, I'd really like a nice handy link of where to order them online. I've yet to replace one, but I've studied the SA series schematics over at casperelectronics.
Logged

Matt the Modulator

  • Kicks like the DADDY!
  • ****
  • Karma: 14
  • Offline Offline
  • Posts: 197
  • 8Bit Brain Analog Heart
    • THE MAGIC MESS
Re: Crystal clock replacement
« Reply #4 on: August 09, 2009, 12:09:05 PM »

this link has some info on using osc to replace resonators http://www.sailormouth.org/index2.php?pg=addingosc.inc
Logged
8Bit Brain Analog Heart

Gordonjcp

  • This person is dangerously insane.
  • *******
  • Karma: 78
  • Offline Offline
  • Posts: 1005
    • http://www.nekosynth.co.uk
Re: Crystal clock replacement
« Reply #5 on: August 09, 2009, 11:14:17 PM »

Are you sure they're "polarity oriented" ??? I've never had this problem before.. I'm pretty sure it's only the four legged ones that got a specific pinout..
The crystals aren't, but the chip will have one of the pins acting as an output that drives one end of the crystal and the other as an input from the crystal.  Which way round you connect the crystal isn't important (except maybe aesthetically) but if you're driving the chip from an oscillator it matters which pin you connect it to.
Logged
If at first you don't succeed, stick it through a fuzzbox.

MAGTIG

  • Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 38
  • asspostle
Re: Crystal clock replacement
« Reply #6 on: August 11, 2009, 06:42:32 AM »

Ok, I'm on Futurlec.com adding stuff to my shopping cart. I figured I'd pick up an assortment of crystals to try in various spots.

But do I want these: http://www.futurlec.com/ICCrystalsMain.shtml
Or should I be getting crystal oscillators? http://www.futurlec.com/ICCrystalsOscillators.shtml

Sorry for all the hand holding and whatnot, I've only been doing this a couple months. I've read a ton of stuff, but this is my first time buying crystals/oscillators... which reminds me, should I grab an assortment of oscillators too? Which ones?

Thanks for your patience, guys. I'm totally loving this stuff, I'm just getting a bit confused with so many options. haha
Logged

Circuitbenders

  • crustypaul
  • Admin
  • This person is dangerously insane.
  • *****
  • Karma: 1102
  • Offline Offline
  • Posts: 2451
    • Circuitbenders.co.uk
Re: Crystal clock replacement
« Reply #7 on: August 11, 2009, 12:52:33 PM »

probably the first one, although you might be better off just buying parts to build your own variable oscillator using a 555 timer. Just search for '555 oscillator crystal' or something and there should be details of how to do it somewhere
Logged
i am not paid to listen to this drivel, you are a terminal fool

Tyler1144

  • Way to much time on his hands
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: Crystal clock replacement
« Reply #8 on: August 14, 2009, 05:56:25 AM »

So with a 555, you will be able to adjust the mhz? So it would be like an actual pitch bend then, right?
Logged

Circuitbenders

  • crustypaul
  • Admin
  • This person is dangerously insane.
  • *****
  • Karma: 1102
  • Offline Offline
  • Posts: 2451
    • Circuitbenders.co.uk
Re: Crystal clock replacement
« Reply #9 on: August 14, 2009, 12:57:29 PM »

thats the theory, yes.
Logged
i am not paid to listen to this drivel, you are a terminal fool

Tyler1144

  • Way to much time on his hands
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: Crystal clock replacement
« Reply #10 on: August 14, 2009, 08:23:02 PM »

So with a 555, im guessing the device needs a square wave?
Logged

Sam_Zen

  • Newbie
  • *
  • Karma: 7
  • Offline Offline
  • Posts: 12
    • Studio Denkraam
Re: Crystal clock replacement
« Reply #11 on: September 17, 2009, 05:11:04 AM »

A clock signal always has to be a symmetrical square wave.
Most processors have two clock lines : one input, one output, both connected to a crystal.
If the crystal is replaced by another clocksignal, only the input line is used.

The 555 is quite unstable and noisy, but it has the advantage of a wide power supply range.
If you happen to have + 5v, it's much better to use the 74LS624 of the TTL series.
A HF VCO, having two analog inputs, so lineair pots can be used between V+ and V-.
Logged
0.618033988

noystoise

  • Guest
Re: Crystal clock replacement
« Reply #12 on: September 17, 2009, 08:18:20 AM »

i agree, 74624 is a good way to go. the 555 cant even go high enough to reach the original clock speed of most devices. the only problem i have with the 74624 is the range. you cant go from inaudibly high all the way to a grinding halt with one sweep. i still need to try out that 1799 chip thats been getting so much attention lately. looks like theyre a little cheaper than the 74624 too.
Logged

Sam_Zen

  • Newbie
  • *
  • Karma: 7
  • Offline Offline
  • Posts: 12
    • Studio Denkraam
Re: Crystal clock replacement
« Reply #13 on: September 18, 2009, 04:09:52 AM »

You can have a preset range with one pot, and a finetuning with a second pot (to 'R'):

« Last Edit: September 18, 2009, 04:12:52 AM by Sam_Zen »
Logged
0.618033988