Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

About Crystals in microcontroller.....

  1. Oct 18, 2015 #1
    I have a question that if we use external quartz crystal in Microcontroller and connect it to battery..... Crystal gives regular and very accurate electrical frequency..... But it should get mechanical vibration from somewhere to give electrical pulses..... From where it receives mechanical vibrations?
  2. jcsd
  3. Oct 18, 2015 #2


    User Avatar
    Science Advisor
    Gold Member

  4. Oct 18, 2015 #3
    The crystal does not do anything by itself.

    The quartz-crystal is a piezoelectric material, and you can apply a voltage across it. The crystal, when it is connected the microcontroller, becomes part of an internal oscillator circuit.

    There are different ways to make an oscillator circuit. Try reading through the following link:


    So just to summarize: The crystal does not output an electrical frequency.
  5. Oct 18, 2015 #4


    User Avatar
    Gold Member

    The quartz crystal essentially behaves like a high Q LC circuit tuned to the specified frequency. Put it in the proper oscillator circuit and load it correctly and it will cause the circuit to oscillate at the correct frequency.

    Back in the olden days we could change crystal frequencies slightly by sanding the quartz or scribbling on it with pencil lead.

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook