Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: blackbeard on August 14, 2010, 10:51:28 AM

Title: Arduino resonator capacitors
Post by: blackbeard on August 14, 2010, 10:51:28 AM
so i found this schematic but it lacks the capacitor values on the resonator. does anyone happen to know what they are?
(http://img828.imageshack.us/img828/8981/arduinopins1.jpg) (http://img828.imageshack.us/i/arduinopins1.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)

EDIT: ok fixed the problem. they're 20pf if anyone is looking
Title: Re: Arduino resonator capacitors
Post by: Razor Concepts on August 14, 2010, 11:33:40 AM
As future refernce that is a crystal oscillator, resonators are different things  ;)
Title: Re: Arduino resonator capacitors
Post by: dunk on August 14, 2010, 11:44:54 AM
while 20pF is a typical value for a 16MHz crystal and will almost definitely work ok for most crystals,
the correct value of the capacitor to use can be found in the datasheet for the crystal you use.

dunk.
Title: Re: Arduino resonator capacitors
Post by: blackbeard on August 14, 2010, 11:48:36 AM
As future refernce that is a crystal oscillator, resonators are different things  ;)

OH right! resonators are ceramic and crystals are.. crystal
Title: Re: Arduino resonator capacitors
Post by: waltr on August 14, 2010, 02:05:27 PM
There are some resonator and XTAL packages with the caps built in.
Otherwise the cap values are dependant on the XTAL type, the frequency, the Chip XTAL drive circuits and the PCB layout. So the best place to go for cap values recommendations is the data sheet for the chip/processor and the XTAL.
Title: Re: Arduino resonator capacitors
Post by: Soeren on August 14, 2010, 10:23:14 PM
Hi,

while 20pF is a typical value for a 16MHz crystal and will almost definitely work ok for most crystals,
the correct value of the capacitor to use can be found in the datasheet for the crystal you use.
You need to know the loads from the circuit it's driving as well, as it's the total loads described in the X-tal sheet and you need to deduct the intricate part of the total.

The best way, especially if you don't wanna have to "pair" the datasheets, is to experiment, as the X-tal will be most stable with the least capacitive load, but it need some capacity to start.
When the lowest value giving stable start is found, add around 20% to that value to counter for changes in conditions (temperature, humidity, Murphy etc.).

For the best precision, use a variable cap for one of them and dial in the precise frequency (cannot be done without a very precise frequency counter or eg. a radio based reference oscillator). An X-tal oven is very helpfull for stable precision as well.
Title: Re: Arduino resonator capacitors
Post by: Soeren on August 17, 2010, 09:34:00 PM
Hi,

As future refernce that is a crystal oscillator, resonators are different things  ;)
The symbol of a ceramic resonator is differing from the symbol of an X-tal in exactly what way?  ;)