Design of Crystal Oscillator Circuit for AVR Microcontroller

Publisher:HuanleLatest update time:2014-12-08 Source: eepwKeywords:AVR Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Mega16 has built-in RC oscillator circuit, which can generate oscillation frequency of 1M, 2M, 4M, 8M. However, the built-in RC oscillator is after all, so in some occasions with higher requirements, such as when communicating with RS232 and a more accurate baud rate is required, it is recommended to use an external crystal oscillator circuit.

In the early 90S series, both ends of the crystal oscillator need to be connected to capacitors of about 22pF. In actual use of the Mega series, these two small capacitors can also work normally. However, for the standardization of the circuit, we still recommend connecting them.

Important note: In actual application, if you do not need a very high frequency accuracy, you can use the internal RC oscillation, which means that this part does not require any peripheral components.

Keywords:AVR Reference address:Design of Crystal Oscillator Circuit for AVR Microcontroller

Previous article:AVR microcontroller reset circuit diagram
Next article:AVR RAM expansion method circuit diagram

Recommended ReadingLatest update time:2024-11-23 18:40

AVR single chip passive infrared alarm experiment
The alarm consists of an infrared transmitter, receiver, buzzer and LED indicator. Under normal circumstances, the green LED flashes constantly, indicating that the monitored area is normal. Once someone breaks into the monitored area, the green LED goes out, the red LED flashes quickly, and the buzzer sounds an ala
[Microcontroller]
AVR single chip passive infrared alarm experiment
TimerConvert.h header file download - AVR timer parameter conversion general header file
/********************************************************************************       File name: TimerConvert.h       File ID: _TIMERCONVERT_H_       Abstract: AVR timer parameter conversion general header file       Current version: V1.0 ******************************************************************************
[Microcontroller]
Design of information monitoring terminal using AVR single chip microcomputer and LCD module
At present, with the rapid development of the information industry, all kinds of ships are in urgent need of being equipped with more high-quality and low-cost small and medium-sized information monitoring terminals to monitor weather conditions and obtain navigation information to ensure navigation safety. 32-bit pro
[Microcontroller]
Design of information monitoring terminal using AVR single chip microcomputer and LCD module
AVR MCU controls RTL8019AS to implement Ethernet interface design
Introduction: This article introduces a method of using AVR microcontroller to realize Ethernet interface circuit, which has few hardware circuits, simple structure and easy use. With the rapid development of the Internet, various household appliances and instruments are gradually becoming networked in order to shar
[Microcontroller]
AVR MCU controls RTL8019AS to implement Ethernet interface design
Design of Presettable Programmable Broadband DC Power Amplifier Circuit Based on AVR Microcontroller
  This paper uses AVR single-chip microcomputer ATmegal28 as the core controller, combined with 10-bit serial D/A chip TLC5615, power amplifier THS3092, programmable gain amplifier AD603 and other related circuits to form a preset programmable broadband DC power amplifier circuit. The gain adjustment range of this cir
[Microcontroller]
Design of Presettable Programmable Broadband DC Power Amplifier Circuit Based on AVR Microcontroller
DDS signal source circuit diagram based on AVR microcontroller
    The circuit principle is shown in the figure below, which can be divided into four parts: DDS with IC1 as the core; keyboard, display and control circuit with IC2 as the core; AGC circuit with IC3 as the core; detection circuit with IC4 as the core. Figure DDS signal source circuit diagram based on AVR microcont
[Microcontroller]
DDS signal source circuit diagram based on AVR microcontroller
NRF24L01 wireless chip development board example - AVR (verified)
#include "main.h" #include "nRF24L01.h" /*Bit field operations*/ #define SetBit( Byte, Bit )  ( Byte ) |= ( 1 ( Bit ) ) #define ClrBit( Byte, Bit )  ( Byte ) &= ~( 1 ( Bit ) ) #define GetBit( Byte, Bit )  ( ( Byte ) & ( 1 ( Bit ) ) ) #define ComBit( Byte, Bit )  ( Bytes ) ^= ( 1 ( Bit ) ) #define SetBits( Byte, Bit
[Microcontroller]
AVR MCU Timer 1 CTC Mode A Experimental Program
/*AVR timer 1CTC mode A experiment*/ #include iom16v.h #define uchar unsigned char #define uint unsigned int #define set_bit(a,b) a|=(1 b) #define clr_bit(a,b) a&=(1 b) #define get_bit(a,b) a&(1 b) uint i; #pragma interrupt_handler time1ctc_a_isr:7 void time1ctc_a_isr()//Timer counter 1CTC interrupt A channel { POR
[Microcontroller]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号