Feb 10, 2012 #1 V vivek_p08 Newbie level 4 Joined Feb 9, 2012 Messages 7 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,321 hi..... why crystal is connected to microcontroller in every microcontroller circuits?
Feb 10, 2012 #2 W wp100 Advanced Member level 6 Joined May 15, 2009 Messages 3,051 Helped 884 Reputation 1,783 Reaction score 733 Trophy points 113 Location Prime Meridian Activity points 0 The Micros need a square wave to run thier internal clocks, by using the appropriate crystal you can set the speed at which the micros run. A crystal is one of the most accurate timebases, but you can use a ceramic resonator, R/C or external oscillator. Many of the newer micros also have an inbuilt oscillator option as well, while good for many uses, is not quiet as accurate as a crystal.
The Micros need a square wave to run thier internal clocks, by using the appropriate crystal you can set the speed at which the micros run. A crystal is one of the most accurate timebases, but you can use a ceramic resonator, R/C or external oscillator. Many of the newer micros also have an inbuilt oscillator option as well, while good for many uses, is not quiet as accurate as a crystal.