Reset Circuit
Figure 1. Reset circuit diagram
The setting and resetting of a microcontroller are both to initialize the circuit to a certain state. Generally speaking, the function of a microcontroller reset circuit is to initialize a state machine to an empty state, for example. Inside the microcontroller, when it is reset, the microcontroller loads some registers and storage devices with a value preset by the manufacturer.
The principle of the microcontroller reset circuit is to connect an external resistor and capacitor to the reset pin RST of the microcontroller to achieve power-on reset. The reset is valid when the reset level lasts for more than two machine cycles. The duration of the reset level must be greater than two machine cycles of the microcontroller. The specific value can be calculated by the time constant of the RC circuit.
The reset circuit consists of two parts: button reset and power-on reset.
(1) Power-on reset: The STC89 series single chip is reset at a high level. Usually, a capacitor is connected to VCC on the reset pin RST, and then a resistor is connected to GND. This forms an RC charge and discharge loop to ensure that the RST pin has a high level for a sufficient time to reset the microcontroller when it is powered on, and then returns to a low level to enter normal working state. The typical values of this resistor and capacitor are 10K and 10uF.
(2) Push-button reset: Push-button reset is to connect a switch in parallel with the reset capacitor. When the switch is pressed, the capacitor is discharged and RST is pulled to a high level. Moreover, due to the charging of the capacitor, the high level will be maintained for a period of time to reset the microcontroller.
Previous article:Principle of the oscillation circuit diagram of the minimum system of the single chip microcomputer
Next article:Introduction to the MCU Minimum System Power Supply Module
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Analysis of chip failure steps and failure problems
- How to pull up the 5V power supply inverter with OD output to 24V output
- [RISC-V MCU CH32V103 Evaluation] Using USART2
- 【GD32E231 DIY Contest】Snake Game
- msp432 record 1-gpio usage
- [Environmental Expert’s Smart Watch] Part 18: Downhole Mode
- Discussion on the Working Principle of UWB Technology
- The flag bit has been cleared before the general interrupt is turned on, but the interrupt still occurs. How to solve it?
- Keysight Thanksgiving Month | Oscilloscopes are being drawn every day. Recommend and share. More than 100 gifts are waiting for you!
- [Xianji HPM6750 Review 5] LittlevGL transplantation using SPI display