You need to log in to create posts and topics.

Simulide problem reset mclr

The MCLR pin is connected to the 5 volt power supply via a 10 Kohm resistor. For the reset there is a button connected to the mclr pin and to the circuit ground. When I press the button the reset occurs but as soon as I release the button the program starts directly.

Hi.

Sorry but I don't understand what is the problem.
I expect that the program starts after the Reset condition ends.

Can you elaborate in what is exactly the problem?

With other simulators when I reset with the button the program stops and I have to restart it while with simulide as long as I hold down the reset button the program stops but as soon as I release the reset button the program restarts by itself.

as long as I hold down the reset button the program stops but as soon as I release the reset button the program restarts by itself.

As far as I know that is how it works in real life.

ok thanks. With a demo version of proteus instead it stops the program and I have to restart it. Thanks a lot for the help.

Quote from arcachofo on October 20, 2024, 9:42 am

As far as I know that is how it works in real life.

As far as I know too.

The pic's MCLR pin, once connected to ground via a button, should reset the pic and restart the program. The program in question uses a button to start. Using Simulide, the pic resets and the program restarts without waiting for the start button to be pressed. I'll try to test everything on a breadboard.

Maybe I don't understand correctly.

Is there another button appart from the reset button?