[FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
-
- Posts: 2
- Joined: Tue Nov 20, 2018 9:28 pm
- Has thanked: 1 time
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
I have an issue with my pi randomly powering off. To troubleshoot I've connected the powerGPIO pin directly to my 3.3V and it seems to stay on. How sensitive is the script to voltage fluctuation? I've seen voltage coming from the switch anywhere from 3.28V - 3.38V. Perhaps I have a noisy switch. Does the script only trigger when the pin is pulled to ground?
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
@the_ralphie It shouldn't be sensitive to that. It's possible you have a short somewhere. Does it shut off with all the components in the case? Try removing them and testing out of the case. It could be that something rid touching that shouldn't.
Also, do you have v1.2 of the board?
Also, do you have v1.2 of the board?
-
- Posts: 2
- Joined: Tue Nov 20, 2018 9:28 pm
- Has thanked: 1 time
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
@Camble Thanks for the quick reply! I apologize, but please disregard my previous post. I do have have the v1.2 board, but I had it wired incorrectly. However, now I am running into an issue when the powerGPIO pin is pulled high the Pi Zero just freezes. When the pin is left floating everything operates normally. Please excuse me if this has already been addressed. I'm new to working with a Raspberry Pi and I'm just trying to take things slowly.
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
I finally received my battery and well I am having the same issue that Alesch, Old man and gambino37 are having in the other forum post. I am posting the same troubleshooting steps I took as this is Camble's post.
@Camble I shot all the voltages on my GBZ. Here's what I got (even though I don't think it's a hardware issue), also checked the soldered pins 10 times (they were correct every time).
Switch OFF, GBZ OFF:
3v -> 0.0v
Off -> 0.0v
Low -> 0.0v
On -> 0.0v
Switch ON, BGZ ON:
3v -> 3.3v
Off -> 0.0v
Low -> 0.0v
On -> 3.3v
Switch OFF, GBZ ON:
3v -> 3.3v
Off -> 3.3v
Low -> 0.0v
On -> 3.3v
Switch will not shutdown the GBZ while RetroPie is running.
Go to shutdown in RetroPie menu with switch ON:
Shuts down like normal, at the end there a bunch of errors that are too small to read but deal with shutdown and the Pi stays on. Moving the switch turns it off immediately.
Go to shutdown in RetroPie menu with switch OFF:
Immediately powers off without running a shut down sequence.
I would really love to get this finished up as it's one of the coolest things I have ever made.
@Camble I shot all the voltages on my GBZ. Here's what I got (even though I don't think it's a hardware issue), also checked the soldered pins 10 times (they were correct every time).
Switch OFF, GBZ OFF:
3v -> 0.0v
Off -> 0.0v
Low -> 0.0v
On -> 0.0v
Switch ON, BGZ ON:
3v -> 3.3v
Off -> 0.0v
Low -> 0.0v
On -> 3.3v
Switch OFF, GBZ ON:
3v -> 3.3v
Off -> 3.3v
Low -> 0.0v
On -> 3.3v
Switch will not shutdown the GBZ while RetroPie is running.
Go to shutdown in RetroPie menu with switch ON:
Shuts down like normal, at the end there a bunch of errors that are too small to read but deal with shutdown and the Pi stays on. Moving the switch turns it off immediately.
Go to shutdown in RetroPie menu with switch OFF:
Immediately powers off without running a shut down sequence.
I would really love to get this finished up as it's one of the coolest things I have ever made.
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
I got it to work, first SSH into your GBZ:
type "sudo nano /etc/rc.local"
scroll down to the bottom, then ABOVE "Exit 0" add "sudo python /home/pi/Safe-Power-Monitor/safe_power_monitor.py &"
CTRL-X, Y, enter
Next using WINSCP, I went to the "root" folder and added the directory "Safe-Power-Monitor" and inside added the file "log.txt". When you create the log file type anything and then delete it and save.
That's it. My GBZ now starts and shuts down using the switch.
type "sudo nano /etc/rc.local"
scroll down to the bottom, then ABOVE "Exit 0" add "sudo python /home/pi/Safe-Power-Monitor/safe_power_monitor.py &"
CTRL-X, Y, enter
Next using WINSCP, I went to the "root" folder and added the directory "Safe-Power-Monitor" and inside added the file "log.txt". When you create the log file type anything and then delete it and save.
That's it. My GBZ now starts and shuts down using the switch.
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
Hi Camble,
I've received it was a few months ago....sorry for the late reply ; but I've tested it : it's awesome!!!
However, I've met some issues to install it. But i've save an explanation which allow to install it easliy on Retropie 4.4
I could send it to you if you want?
Thanks again for your excellent product.
I've received it was a few months ago....sorry for the late reply ; but I've tested it : it's awesome!!!
However, I've met some issues to install it. But i've save an explanation which allow to install it easliy on Retropie 4.4
I could send it to you if you want?
Thanks again for your excellent product.

- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
@Refusor
Really glad you're happy with it. If you have anything that might help others, feel free to share in the thread. I can put it on the first page if it's useful.
Just one more thing... I believe HoolyHoo's script can be modified fairly easily to work with the Safe Shutdown and is much more lightweight.
Really glad you're happy with it. If you have anything that might help others, feel free to share in the thread. I can put it on the first page if it's useful.
Just one more thing... I believe HoolyHoo's script can be modified fairly easily to work with the Safe Shutdown and is much more lightweight.
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
Hi. I ordered a 5 of these earlier but would like to use pushbutton instead of a slider. Should the pushbutton be DPDT? Are there any other requirements for the button? Also, do I need to modify the code you provided -- and how?
Thanks a lot
Julian
Thanks a lot
Julian
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)
@ljsch This board was specifically designed to work with a slide switch.
Who is online
Users browsing this forum: No registered users and 1 guest