Pi Zero W power on

Hi,

After getting my Picade HAT set up on a Pi 3, I thought I’d see how it fared with my new shiny Zero W (my Pi 3 is currently being used for another project). It mostly seems to work, however, while the power on / off button turns off fine, I can’t seem to get it to turn on. I’ve had a look in the source on Github to see how everything fits together, but I’m assuming the on part of the on/off functionality is hardware related. Any ideas? How well tested is the HAT with Pi Zeroes?

[quote=“pezholio, post:1, topic:4213”]
How well tested is the HAT with Pi Zeroes?[/quote]
There was as much testing done on zeros as constitutional compliance checks for a Trump’s executive order… none.

That said there is no RetroPie image compatible with the Zero W currently, so I assume you are using a heavily hacked distro?

1 Like

That said there is no RetroPie image compatible with the Zero W currently, so I assume you are using a heavily hacked distro?

Nah, I installed the latest release of Raspbian, and then installed Retropie manually over the top. After a bit of fiddling it worked perfectly! (apart from the aforementioned power on issue). Is there any reason why it wouldn’t be working? I assume the pin layout is the same across all Pis now? (I know it did change in the early days)

in theory there is no reason it wouldn’t work on a Pi zero W. However if something is astray in the firmware (and there has been a couple of concerns raised about it in recent days) then I guess that it could fail.

You could try to add the following to your /boot/config.txt file, although I suspect that won’t help:

dtoverlay=gpio-poweroff,gpiopin=4

Also, make sure the 1-wire interface is not enabled, as it uses the same pin and I guess theoretically it could be what prevents the pin state to be pulled low.

Oh, I’m a huge dumbass! I had the micro-USB power supply plugged into the Pi, rather than the HAT, so NO WONDER it wasn’t switching on! Sorry!

2 Likes

I will tell you a secret: I did the exact same thing when I was helping @gadgetoid get the poweroff/wake thing going… I was 500 miles away and somehow he figured it out ha!

1 Like

As long as it’s not just me! :)