[Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
measure at B+ and B- at the banggood shows 3.24V ... thats to low?
I tried another battery ... taht shows me 4.2V at B+ and B- ... script executed -> countdown started :/
I tried another battery ... taht shows me 4.2V at B+ and B- ... script executed -> countdown started :/
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
@Paddy The low battery pin will go low at 3.3v. The problem is, the script has not been changed to act differently than the PowerBoost version. So it will shut down at 3.3v instead of warn. People gave feedback to say that a 3.2v shutdown was too low, but in fact after the GBZ shuts off, the voltage of the battery will rise slightly anyway. So really, 3.2v would be fine.
In any case, you can bypass the low battery for now by connecting BCM17 directly to 3.3v.
I will be amending the script eventually, but the next version of the board is likely to warn at 3.3v and force a shutdown at 3.2v. The script will be modified to reflect this.
In any case, you can bypass the low battery for now by connecting BCM17 directly to 3.3v.
I will be amending the script eventually, but the next version of the board is likely to warn at 3.3v and force a shutdown at 3.2v. The script will be modified to reflect this.
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
That is just a temporary workaround by the way. If GPIO17 is reading low, there may be a short to ground somewhere.Paddy wrote:ok, bridging 3.3V with GPIO17 works for me ... graceful shutdown is working
thanks for your support
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
So I've been having the same issue. Have a
Full battery, turn on pi, countdown instantly starts, but once it gets down to zero and tries to shut down it wont actually shut down. It hangs up on something (couldn't read the screen, since I haven't adjusted text size yet). So then I have to turn the power switch off. I have bridged the 3.3v to GPIO 17 and now I dont get the timer and the switch properly shuts the pi down.
Does this mean I will never get the low battery warning now?
Full battery, turn on pi, countdown instantly starts, but once it gets down to zero and tries to shut down it wont actually shut down. It hangs up on something (couldn't read the screen, since I haven't adjusted text size yet). So then I have to turn the power switch off. I have bridged the 3.3v to GPIO 17 and now I dont get the timer and the switch properly shuts the pi down.
Does this mean I will never get the low battery warning now?
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
@paddy @rodocop Are you able to measure the voltage at pin2 of the LM393 chip? You can use the inner contacts of R1 or R2 if it's easier.
A close picture of the board would also be helpful (the side with the components).
I should also point out that this is mostly down to the way the power monitor script works (it was written for the PowerBoost) and I am working on a complete replacement.
A close picture of the board would also be helpful (the side with the components).
I should also point out that this is mostly down to the way the power monitor script works (it was written for the PowerBoost) and I am working on a complete replacement.
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
I can bring my multimeter home and test it sometime, bit busy with Christmas stuff so it might have to wait until next week. I'll post when I have some readings.
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
I've just bought one of your shutdown switches and am also having the exact same problems. Doesnt shut down properly and the low battery message comes up as soon as i enable/run the script.Camble wrote:@paddy @rodocop Are you able to measure the voltage at pin2 of the LM393 chip? You can use the inner contacts of R1 or R2 if it's easier.
A close picture of the board would also be helpful (the side with the components).
I should also point out that this is mostly down to the way the power monitor script works (it was written for the PowerBoost) and I am working on a complete replacement.
Does the script just need tweaking? where?
I have a multimeter and can get at my switch easily. Where and at what point do you want things measuring?
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
@Tomarse Measure the voltage at pin 2 of the LM393 chip while the Gameboy is on.
https://github.com/Camble/GBZ-Power-Monitor_BG
Please download the latest version. I've removed the automatic shutdown for now. I'm currently working on a complete replacement which will warn a few times before deciding to shut down, rather than forcing a shutdown so soon. The number of warnings and timeout can then be tweaked by the user.
https://github.com/Camble/GBZ-Power-Monitor_BG
Please download the latest version. I've removed the automatic shutdown for now. I'm currently working on a complete replacement which will warn a few times before deciding to shut down, rather than forcing a shutdown so soon. The number of warnings and timeout can then be tweaked by the user.
Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed
@Camble Running on battery, I get 3.240V when turned on and booted to the retropie menu and then 3.235 after I start a game.Camble wrote:@Tomarse Measure the voltage at pin 2 of the LM393 chip while the Gameboy is on.
https://github.com/Camble/GBZ-Power-Monitor_BG
Please download the latest version. I've removed the automatic shutdown for now. I'm currently working on a complete replacement which will warn a few times before deciding to shut down, rather than forcing a shutdown so soon. The number of warnings and timeout can then be tweaked by the user.
I have got the latest version of the above.
Whenever I run python ~/GBZ-Power-Monitor_BG/gbz_power_monitor.py it still just does the battery is low automatic shutdown ending in kernel panic. Am I doing something wrong?
Who is online
Users browsing this forum: Baidu [Spider] and 1 guest