User avatar
liudr
Posts: 687
Joined: Sat Jun 01, 2013 12:11 am
Location: Central MN, USA
Contact: Website

Any settings to hold pi from booting with a GPIO pin?

Wed Sep 04, 2019 9:32 pm

I'm interested in running a pi 0w on a computer USB port with power running through an arduino that acts as a USB device. I could add a transistor to turn on PI when arduino finishes USB enumeration so it could receive 500mA. But instead, if there is a setting I can enable to hold pi in a kind of reset/powered down mode by applying 0V or 3.3V to a pi pin, that would be easier. I know there's an overlay to shut down pi if a certain pin is set or reset. What about a general reset pin like a microcontroller? Will the shutdown pin overlay keep the pi in a shutdown state that won't generate a spike on the USB power rail? Thanks.
Arduino data loggers, user interface, printed circuit board designer since 2009, RPI 3B 2B 2B Zero Jessie, assembly/C/C++/java/python programmer since the 80's

User avatar
rpdom
Posts: 16346
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Any settings to hold pi from booting with a GPIO pin?

Thu Sep 05, 2019 10:12 am

There is the RUN header on the Pi Zero. Connecting the RUN pin 1 to 0V will hold the Pi in a Halt state until it is released. That won't stop the Pi using some power, but it will stop it from running and reduce the power a bit.

Return to “Interfacing (DSI, CSI, I2C, etc.)”