Chat freely about anything...

User avatar
By Dachshund Digital
#91503 How to open/close Raspberry Pi GPIO circuit via ESP module? The raspberry pi as a graceful power on/off feature. You just close Pi Pin 5 (BCM 3) GPIO to GND. This will boot or shudown the Pi as long a you have a bit of software configuration done in the Pi OS.

What I want to do is take a ESP-01s or such, and by high/low setting of the GPIO0, trigger the Pi start up or shutdown. I can do this via a relay or even a Mofset sure. But it would seem that a PNP or NPN transistor could do this if the voltage/current loading was calculated right? I know little of NPN/PNP transistors to not sure of the engineering? Since the Pi and ESP module would have common ground, no need for opto-coupler right? Or am I missing something basic here?