Location>code7788 >text

51 microcontroller keys in Protues cannot be reset (solved)

Popularity:448 ℃/2024-10-26 11:30:48

preamble

Last night I built the 51's minimum system circuit with Protues, and the reset circuit, which works well in the real thing, doesn't reset properly in the simulation.

The 51 MCU is reset high, so the RST pin should be low at runtime, but in the simulation the RST pin stays high all the time, resulting in the MCU not being reset even when the key is pressed.

RST 引脚一直处于高电平

cure

There are a total of two solutions I've searched for online:

1. Change the resistance value of the resistor

Change the resistance of the reset circuit to 100Ω

100Ω 时运行

2. Change the properties of the resistor

Double click on the resistor of the reset circuit, find the Model Type and pull down to select DIGITAL.

设置电阻属性

设置为 DIGITAL 时运行

postscript

After testing to set one or both, the microcontroller can be reset normally.

Reference Links:

/question/

/question/