[Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Sell or trade things with other forum members!
User avatar
Allanrscott
Posts: 5
Joined: Mon Nov 14, 2016 12:25 pm
Location: Jacksonville, NC
Has thanked: 6 times
Contact:

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Allanrscott » Fri Dec 16, 2016 2:38 pm

Do you have any boards remaining for purchase? Thanks!

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Fri Dec 16, 2016 3:32 pm

It's not working for me ... and I have no idea ... I have allready checked all wiring ... there are no shorts and everthink looks fine.

Failure: low-battery alarm after booting ... than shutsdown to kernel panic

My wiring is here:

1) 3.3v -> red -> pin 17 (pin gives me 3.3v)
2) off -> green -> pin 13
3) low -> white -> pin 11
4) on -> orange -> pin 15

config is edited:

Code: Select all

dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"
aswell power monitor script is running (I can see the video short after booting)
IMG_6659.JPG
IMG_6659.JPG (990.1 KiB) Viewed 12514 times

User avatar
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

Post by Camble » Fri Dec 16, 2016 4:20 pm

@Paddy Have you also wired up B+, V+ and V- ?

Also, please make sure you are using the latest version of the power monitor, and that it's the BangGood version.

https://github.com/Camble/GBZ-Power-Monitor_BG

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Fri Dec 16, 2016 4:41 pm

Hi Camble,

I sorry ... it looks like my fault. The safe shutdown works as promised. The LiPo is low on power :lol: ... after charging some minutes I'm only getting the warning without shutting down. I'm pretty sure that there will be no warning when the LiPo is fully loaded ;)

So sorry ... B+, V+ and V- is wired but it's hidden under the PCB

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Fri Dec 16, 2016 4:56 pm

ok, I was too fast :/

- the banggood supply shows a green led which means the LiPo is fully loaded (power cord is connected)
- switching on the GBZ gives me a red and blue led which means the LiPo is charging and the USB port delivers power to the safe shutdown switch
- Pi is booting ... I'm getting a warning Power too low
- after some minutes the countdown starts

I will try this again with another LiPo

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Fri Dec 16, 2016 7:08 pm

also the other LiPo ist not working ... when the Pi boots up I'm getting the power too low warning ... after some minutes the countdown starts and ends with kernel panic ...

- LiPo is connect to B+ and B- of the Banggood supply
- B+ of Banggood is also connected with B+ of the safe shutdown
- USB + and - of Banggood is connected to V+ and V- of the safeshutdown (shows always 5V)
- PP1 and PP6 of safeshutdown is connect to the power circruit where Pi, Screen, etc. is connected to (shows only 5V when switched on)
FullSizeRender.jpg
FullSizeRender.jpg (1.76 MiB) Viewed 12496 times
FullSizeRender (003)_Ink_LI.jpg
FullSizeRender (003)_Ink_LI.jpg (2.13 MiB) Viewed 12496 times

User avatar
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

Post by Camble » Sat Dec 17, 2016 3:34 am

@Paddy Have you reinstalled the power monitor script?

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Sat Dec 17, 2016 4:23 am

yes ... I removed it and the GBZ runs fine on battery ...

So I reinstalled the script ... but when I'm starting the script the countdown video starts:

Code: Select all

pi@retropie:~ $ cat /boot/config.txt | grep poweroff
dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"
pi@retropie:~ $
pi@retropie:~ $ cd ~;git clone https://github.com/Camble/GBZ-Power-Monitor_BG.git
Cloning into 'GBZ-Power-Monitor_BG'...
remote: Counting objects: 355, done.
remote: Total 355 (delta 0), reused 0 (delta 0), pack-reused 355
Receiving objects: 100% (355/355), 7.04 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (142/142), done.
Checking connectivity... done.

pi@retropie:~ $ python ~/GBZ-Power-Monitor_BG/gbz_power_monitor.py              Video codec omx-h264 width 1920 height 1080 profile 77 fps 29.970030
Audio codec aac channels 2 samplerate 44100 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
V:PortSettingsChanged: 1920x1080@29.97 interlace:0 deinterlace:0 anaglyph:0 par:1.12 display:0 layer:999999 alpha:180 aspectMode:0
have a nice day ;)

User avatar
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

Post by Camble » Sat Dec 17, 2016 6:32 am

@Paddy Have you altered the script in any way?

Have you measured the voltage of your battery while the GBZ is on?

User avatar
Paddy
Posts: 52
Joined: Sat Jun 25, 2016 4:21 am
Has thanked: 10 times
Been thanked: 17 times

Re: [Pre-Order] Safe Shutdown Switch (BangGood Edition) - Closed

Post by Paddy » Sat Dec 17, 2016 7:05 am

no ... it's not touched ... but I will try not another Pin for the low battery. The battery is ok ... without script the Pi stays up:

pi@retropie:~ $ uptime
13:33:58 up 20 min, 2 users, load average: 0.02, 0.13, 0.24

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest