Page 27 of 29

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Wed Nov 28, 2018 6:58 pm
by the_ralphie
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?

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Thu Nov 29, 2018 3:49 am
by Camble
@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?

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Thu Nov 29, 2018 5:15 pm
by the_ralphie
@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)

Posted: Thu Nov 29, 2018 8:56 pm
by rastus
Received mine today. Very happy. Looks like a good little board. Can't wait to install in my build. Thank you very much.

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Wed Dec 26, 2018 2:20 am
by JDMDingo
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.

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Wed Dec 26, 2018 9:41 am
by JDMDingo
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.

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Mon Feb 25, 2019 2:08 pm
by Refusor
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. ;)

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Mon Feb 25, 2019 2:37 pm
by Camble
@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.

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Sat Mar 23, 2019 8:53 pm
by ljsch
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

Re: [FOR SALE] Safe Shutdown v1.2 (for PowerBoost)

Posted: Sun Mar 24, 2019 10:32 am
by Camble
@ljsch This board was specifically designed to work with a slide switch.