[Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Completed sale threads will be moved here to keep things tidy in the main For Sale forum.
User avatar
Camble
Posts: 876
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 487 times

Re: [For Sale] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by Camble » Fri Dec 14, 2018 1:09 pm

I've run out of stock now. As these were more expensive to produce I won't be restocking right now. If there is enough interest for a pre-order, I may do another run that way. I'm also considering removing the low battery functionality. People seem to prefer analog battery monitoring as opposed to a digital warning and this should reduce the cost a bit. Let me know what you think.

User avatar
rodocop
Posts: 1599
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 577 times
Been thanked: 572 times

Re: [For Sale] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by rodocop » Fri Dec 14, 2018 2:16 pm

Camble wrote:
Fri Dec 14, 2018 1:09 pm
I've run out of stock now. As these were more expensive to produce I won't be restocking right now. If there is enough interest for a pre-order, I may do another run that way. I'm also considering removing the low battery functionality. People seem to prefer analog battery monitoring as opposed to a digital warning and this should reduce the cost a bit. Let me know what you think.
It's easy enough to monitor batter with an ads1015 (or depending on what board you are using ie tinkerbboy, glitch'd gaming you have incorporated monitoring anyway), i feel like having a slide switch that initiates a safe shutdown is all that is needed! that's my two cents.

User avatar
Merlin
Posts: 60
Joined: Thu Feb 22, 2018 12:32 pm
Has thanked: 44 times
Been thanked: 28 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by Merlin » Mon Dec 17, 2018 9:00 am

I'm of the same opinion as rodocop.
Battery monitor scripts for this board never worked!
A simplest and cheaper board with only the needed circuit and the switch just to safe shutdown the system will be a better option,imho.(furthermore it will be universal,compatible with any powerboost or raspberry models)
The python script will be very simple too,just few lines of code to make it works.
Then,who needs to monitor the battery level can add an ads1015.

JDMDingo
Posts: 7
Joined: Wed Dec 26, 2018 1:53 am
Been thanked: 1 time

Re: [For Sale] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by JDMDingo » Fri Dec 28, 2018 7:28 pm

Camble wrote:
Fri Dec 14, 2018 1:09 pm
I've run out of stock now. As these were more expensive to produce I won't be restocking right now. If there is enough interest for a pre-order, I may do another run that way. I'm also considering removing the low battery functionality. People seem to prefer analog battery monitoring as opposed to a digital warning and this should reduce the cost a bit. Let me know what you think.
Wow, I guess I built my first GBZ at the right time as I was able to secure one of the last boards. Thanks a lot for the fast shipping to Japan and the great board.

JDMDingo
Posts: 7
Joined: Wed Dec 26, 2018 1:53 am
Been thanked: 1 time

Re: [For Sale] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by JDMDingo » Fri Dec 28, 2018 7:41 pm

sandog wrote:
Fri Dec 14, 2018 5:41 am
will this work and would this be a good idea to use with tinker boys newest board
I am using it with the TinkerBoy 3.0.1 board with out any issues. If you mean his display board, they can not be used together as the needs GPIO pins are used and only usable pins are GPIO 26,11,10,27,18. Unless in the safe shutdown script those pins are usable.

User avatar
Camble
Posts: 876
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 487 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by Camble » Sat Dec 29, 2018 5:00 pm

@JDMDingo Different pins can be used for the power monitor script, it's easy to tweak.

User avatar
correia5022
Posts: 201
Joined: Mon Dec 05, 2016 12:32 am
Location: Portugal
Has thanked: 17 times
Been thanked: 38 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by correia5022 » Wed Jan 02, 2019 7:22 pm

If you produce more, i will take 2.
And yes, i agree removing the low battery
________________________________________
Starting on electronics :)
My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website

User avatar
winnetouch
Posts: 152
Joined: Mon Jul 11, 2016 10:56 am
Has thanked: 2 times
Been thanked: 30 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by winnetouch » Fri Jan 25, 2019 4:20 pm

I'm having some issues with the board working. I'm using the Banggod version and I wired it according to the diagram in the first post (that I actually drew up :lol: ).

I installed the script and tested it like described here: https://github.com/Camble/Safe-Power-Monitor

So the script actually executes correctly when initiated from the command prompt.

But when I flip of the switch to off the script doesn't actually run. I also set the safe_power_monitor.py: to FALSE.

It turns ON OK, I just can't get it to switch off.

the_darkman
Posts: 4
Joined: Wed Dec 05, 2018 8:47 am
Has thanked: 1 time
Been thanked: 2 times

Re: [Sold Out] Safe Shutdown v1.0 for BangGood/GearBest/Generic power Supply

Post by the_darkman » Fri Feb 15, 2019 4:47 am

As i just installed this just a few moments ago and i was also facing some issues, perhaps i can help ...
My issue was that the PCB really needs all 6 connections of the switch (i use a big switch so i can't solder it to the PCB).

So when you say you connected it like in the diagram, you also used the B+ pin?
winnetouch wrote:
Fri Jan 25, 2019 4:20 pm
So the script actually executes correctly when initiated from the command prompt.
Will it terminate on the command prompt or run "forever"?
So, on the very first run, the script will change your /boot/config.txt file if you not edited it manually, after that the system reboots. I'm assuming that this did not happen to you. Then you should check with executing

Code: Select all

ps ax | grep safe_power_monitor
if it is really running.
winnetouch wrote:
Fri Jan 25, 2019 4:20 pm
But when I flip of the switch to off the script doesn't actually run. I also set the safe_power_monitor.py: to FALSE.
Well, i assume you only changed the one line

Code: Select all

AdafruitPowerBoost  = False
winnetouch wrote:
Fri Jan 25, 2019 4:20 pm
It turns ON OK, I just can't get it to switch off.
Turning it on is nothing else than a regular switch. The "safe off" part only works in combination with the running script. So if the power does not get cut when you switch it off, something seems not to be wired correctly.

If you're 100% sure everything is ok with the wiring, than you can always check the log.txt file in the Safe-Power-Monitor folder.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest