The minimum system of a single-chip microcomputer is composed of some components necessary to form a single-chip microcomputer system. In addition to the single-chip microcomputer, it also needs to include a power supply circuit, a clock circuit, and a reset circuit. Microcontroller minimum system circuit schematic diagram.
Detailed function explanation of 89c51 minimum system schematic diagram
1: Power circuit
The power circuit is the power supply circuit of the microcontroller, usually 3.3V or 5V. The specific amount depends on the operating voltage of various types of microcontrollers. It is usually 5V, here refers to the normal situation.
2: Clock circuit
The clock circuit is a crystal oscillator circuit. Generally, a 12Mhz crystal oscillator is selected to facilitate the use of timer and counter functions. There is a high-gain inverting amplifier in AT 89C51, which is the main unit that constitutes the internal oscillator. XTAL2 and pin XTAL1 are the output and input terminals of the amplifier respectively.
The off-chip quartz crystal or ceramic resonator and amplifier together form a self-excited oscillator. The bypass capacitors Cl and C2 and the external quartz crystal (or ceramic resonator) are connected to the amplifier with feedback function to form a parallel feedback oscillation circuit.
Even if there are no very strict requirements for external bypass capacitors Cl and C2, the size of the capacitor will slightly affect the stability of the oscillator frequency, the amplitude of the oscillation frequency, the ease of starting the oscillation procedure, temperature stability, etc. . If a quartz crystal is used, the capacitor is usually 30pF±10pF, and if a ceramic resonator is used, the capacitor is usually 40pF±10F.
3: Reset circuit
Whether it is when the microcontroller is first connected to the power supply or when a fault occurs during operation, it is necessary to
To reset. The reset circuit is used to restore the state of each circuit inside the microcontroller to a certain initial value and start working from this state. The reset condition of the microcontroller: its RST pin must maintain a high level for two (or more) machine cycles. The reset form of the microcontroller: power-on reset, button reset.
In the power-on reset circuit, capacitor charging is used to achieve reset. At the moment when the power is turned on, the potential on the RST pin is high level (Vcc). After the power is turned on, the capacitor is quickly charged. As charging proceeds, the potential on the RST pin will gradually decrease to low level. . As long as the time when the high level appears on the RST pin is greater than two machine cycles, a normal reset can be achieved.
In the key reset circuit, when the key is not pressed, the circuit is the same as the power-on reset circuit. For example, when the RESET button is pressed while the microcontroller is running, the charged capacitor will quickly discharge through the 200Ω resistor circuit, causing the potential on the RST pin to quickly change to a high level. This high level will remain until the button is pressed. Release, thereby meeting the conditions for microcontroller reset to achieve button reset.
Previous article:Detailed explanation of AT89C52 control buzzer circuit diagram
Next article:C51 source program of ADC0834 module
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- Breaking through the intelligent competition, Changan Automobile opens the "God's perspective"
- The world's first fully digital chassis, looking forward to the debut of the U7 PHEV and EV versions
- Design of automotive LIN communication simulator based on Renesas MCU
- When will solid-state batteries become popular?
- Adding solid-state batteries, CATL wants to continue to be the "King of Ning"
- The agency predicts that my country's public electric vehicle charging piles will reach 3.6 million this year, accounting for nearly 70% of the world
- U.S. senators urge NHTSA to issue new vehicle safety rules
- Giants step up investment, accelerating the application of solid-state batteries
- Guangzhou Auto Show: End-to-end competition accelerates, autonomous driving fully impacts luxury...
- Lotus launches ultra-900V hybrid technology "Luyao" to accelerate the "Win26" plan
- Principle and application of TOPSwitch?FX series single-chip switching power supply
- Watch Shuige's video for a reward | MIPI D-PHY transmitter physical layer consistency test
- Summary of Problems and Solutions in CCS6 Compilation
- How to solve the three major problems that affect the quality of IP phone calls
- LabView Notes 2: Two methods to implement traffic light experiments based on LabView
- [STM32WB55 review] +thread trial 1
- 【ST NUCLEO-G071RB Review】_01_First impression
- Why use discrete components for preamplification?
- A collection of commonly used op amp circuits
- Question: How can a single-chip microcomputer detect when a telephone is hung up?