-2
\$\begingroup\$

Can you run an ATmega328 using an 16Mhz crystal with 22nF capacitors instead 22pF?

\$\endgroup\$
  • \$\begingroup\$ You can use 0.022 nF caps if you want. \$\endgroup\$ – Samuel Dec 15 '15 at 19:43
  • \$\begingroup\$ If it runs at all, it will ignore the crystal and run at a frequency determined by the capacitors - probably several kHz rather than 16 MHz. \$\endgroup\$ – Brian Drummond Dec 15 '15 at 19:45
  • \$\begingroup\$ You may be able to improvise approximations to 22pF caps sufficient to get it running at least while waiting for some to arrive. (You can actually use an Arduino to measure capacitances in this range!) Also consider scrounging old electronics. The oscillator will probably run over a range of values, though for ultimate accuracy you need to look at your crystal specs and take you pcb or breadboard into account. \$\endgroup\$ – Chris Stratton Dec 15 '15 at 19:52
1
\$\begingroup\$

You cannot use 22nF instead of 22pF, it just wont work. Here you can read more about it.

http://ww1.microchip.com/downloads/en/AppNotes/00826a.pdf

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.