About Crystals in microcontroller......

In summary, a quartz crystal in a microcontroller needs mechanical vibrations in order to produce electrical pulses. This is achieved by incorporating the crystal into an internal oscillator circuit. The crystal itself does not output an electrical frequency, but rather behaves like a high Q LC circuit. Changes to the crystal's frequency can be made by modifying its physical properties.
  • #1
ujjval rathod
14
0
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?
 
Engineering news on Phys.org
  • #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:

http://www.electronics-tutorials.ws/oscillator/crystal.html

So just to summarize: The crystal does not output an electrical frequency.
 
  • #4
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.

FT-243+Crystal.jpg
 
  • Like
Likes dlgoff, anorlunda and Runei
1.

What is the purpose of a crystal in a microcontroller?

A crystal is a small, precisely-cut piece of quartz that is used to provide a stable and accurate clock signal for a microcontroller. This clock signal is essential for the microcontroller to perform its tasks at the correct timing and frequency.

2.

How does a crystal work in a microcontroller?

A crystal works by utilizing the piezoelectric effect of quartz. When an electric field is applied to a crystal, it vibrates at a specific frequency. This frequency is then converted into a precise clock signal for the microcontroller.

3.

What is the frequency range of crystals used in microcontrollers?

The frequency range of crystals used in microcontrollers can vary depending on the specific application. However, the most common frequencies used are in the range of 4-20 MHz.

4.

What are the factors that can affect the accuracy of a crystal in a microcontroller?

The accuracy of a crystal in a microcontroller can be affected by various factors such as temperature, humidity, and mechanical stress. These factors can cause the crystal to vibrate at a different frequency, resulting in a less accurate clock signal.

5.

Can a microcontroller function without a crystal?

Yes, some microcontrollers are designed to use an internal oscillator instead of a crystal. However, using a crystal provides a more stable and accurate clock signal, making it the preferred option for most applications.

Similar threads

Replies
17
Views
1K
  • Electrical Engineering
Replies
3
Views
2K
Replies
14
Views
3K
  • Electrical Engineering
Replies
8
Views
898
  • Electrical Engineering
Replies
19
Views
2K
  • Atomic and Condensed Matter
Replies
14
Views
2K
  • Electrical Engineering
Replies
10
Views
862
  • Electrical Engineering
Replies
5
Views
1K
  • Electrical Engineering
Replies
11
Views
4K
  • Programming and Computer Science
Replies
6
Views
3K
Back
Top