Shop by category
Shop all componentsSensors & MCUs
Keep the crystal and capacitors very close to the chip, with a ground plane beneath. Arduino boards use 22 pF for 16 MHz crystals.
CL = (C1 × C2) ÷ (C1 + C2) + C strayWith C1 = C2: C = 2 × (CL − C stray)A crystal with CL = 12 pF and about 4 pF of stray capacitance: C1 = C2 = 2 × (12 − 4) = 16 pF. The nearest standard value is 15 pF, which gives a load of 11.5 pF, only 0.5 pF off.
A crystal oscillates at its marked frequency only when it sees the load capacitance printed in its datasheet. The two capacitors to ground, together with the chip and PCB, form that load.
Too much or too little capacitance shifts the frequency by a few tens of parts per million, which hardly matters for a microcontroller but can matter for real-time clocks and radio. Some chips have built-in capacitors, so check the datasheet before adding more.
If CL = 18 pF and stray capacitance is about 5 pF, use C = 2 × (18 − 5) = 26 pF; 27 pF is the nearest standard value.
The crystal runs slightly off frequency or may not start reliably.
In the crystal's datasheet, usually 12, 18 or 20 pF.
CL = (C1 × C2) ÷ (C1 + C2) + C stray; With C1 = C2: C = 2 × (CL − C stray).
A crystal with CL = 12 pF and about 4 pF of stray capacitance: C1 = C2 = 2 × (12 − 4) = 16 pF. The nearest standard value is 15 pF, which gives a load of 11.5 pF, only 0.5 pF off.
Geekobot builds that use it include Program a bare AVR microcontroller on a breadboard with Arduino as ISP. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators