Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

question about crystal oscillator pcb?!

Status
Not open for further replies.
I have never used a PIC18F or PIC16F where 22pF did not provide satisfactory results. Nor have I ever had any issues with an oscillator failing to work on PICs, whether ground be connected to the outside pins of the caps or the inside. I think maybe the reality of the situation is drowning in minutia.
 
I have never used a PIC18F or PIC16F where 22pF did not provide satisfactory results. Nor have I ever had any issues with an oscillator failing to work on PICs, whether ground be connected to the outside pins of the caps or the inside. I think maybe the reality of the situation is drowning in minutia.

Thank you :)
 
A recommended capacitor size is usually in the specifications for the crystal. If not, assume it is in the 10 pF to 47 pF range. Too much capacitance will overdrive the crystal (also mentioned above). Measuring the actual frequency can be difficult. If you have a good HF receiver, you might pick up the frequency with a small antenna nearby.

What I have done recently is use TMR1 as a frequency counter and a calibrated source. I then changed the crystal/resonator capacitor for the MCU slightly to tune it. Crystal tolerance was specified as +/- 0.5%. I wanted it to be closer. For most cases, changing that will not be necessary.

Here's a more detailed discussion: https://blog.adafruit.com/2012/01/24/choosing-the-right-crystal-and-caps-for-your-design/


thank you for your helpful comment :)


ghd.jpg


i will print the board soon ..
and i will post any problems here :)

thanks all for your appreciated effort ^_^
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top