I'm developing a reset switch for the Raspberry Pi, but I want to prevent that holding the button keeps on resetting the device. To solve this I had the following idea:
Wire a push button from the Raspberry Pi power to a GPIO pin. Whenever the button is pushed, that pin becomes high. Then, with Python, this is detected and another GPIO pin is pushed high. This pin is connected to the reset, ergo the device resets.
But because the device resets itself after an input, it automatically unresets, because of the fact the device resets. When it resets, it cannot put the pin to high and thus cannot reset itself.
So, a single press reset button for the Raspi in which it isn't a problem if you hold it a little longer.
Is my logic on how this works correct?
With a push button, I'm constantly putting a high input on the reset pin. As such, the device will stay in reset mode. By adding this circuitry of detecting if the button is pushed with a GPIO, then outputting HIGH to the reset with another GPIO, I want to reset the device because as soon as it resets, the GPIO outputting HIGH will not be high anymore and the reboot (or boot) already begins. It's more that I don't want to put high on the reset pin for a longer period of time.
– Len Aug 31 '16 at 08:23