[Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Completed sale threads will be moved here to keep things tidy in the main For Sale forum.
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 (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 6:26 am

@johweb Any time I've had a kernel panic it's been because I've been messing around with startup and shutdown, and corrupted my SD card. It's worth trying a new image with the latest script before ripping out any wiring.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 6:39 am

OK, I'll have a try !

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by HoolyHoo » Sun Oct 09, 2016 6:42 am

@johweb I believe If you comment out or remove the dtoverlay statement from config.txt you won't see that kernel panic but naturally the graceful shutdown will not work. What's happening is by setting that dtoverlay the pi is expecting a manual shutdown which in this case is done by the jfet. The kernel panic screenshot shows the pi trying to initiate a shutdown, wait three seconds and then sends the panic because it didn't shut down as expected. Bottom line the circuit for whatever reason is not shutting you down.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 6:52 am

So, if I understand, you suggest that there's a problem with my complete wiring diagram ?

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by HoolyHoo » Sun Oct 09, 2016 7:00 am

johweb wrote:So, if I understand, you suggest that there's a problem with my complete wiring diagram ?
Don't know if it's your wiring or the circuit but you are getting the panic message because of what I said previously.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 7:17 am

it may be a possibility. I'll try to make a diagram to show what I did...

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 (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 8:01 am

HoolyHoo wrote:What's happening is by setting that dtoverlay the pi is expecting a manual shutdown which in this case is done by the jfet.
The dtoverlay line is simply to set the keep-alive GPIO pin to high and the JFET is not responsible for the shutdown.

When the switch is in the ON position, GPIO27 is kept high by the 3.3v line. When you slide the switch to OFF, GPIO27 is pulled low by the internal pull-down set in the python script. This signals the shutdown. The JFET ensures the PowerBoost supplies the Pi until it has safely shut down.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 8:17 am

Just to be sure for my build (sorry, I can't have a decent draw...) :

Safe shutdown switch
3.3V to pin 17 on pi
Shut-off to pin 13 on pi
Low bat to pin 11 on pi
Keep-on to pin 15 on pi
LBO to LBO on powerboost
EN to EN on powerboost
GND to G on powerboost

Powerboost
5V to 5V in on powerstrip
GND to GND in on powerstrip

Screen PCB
Composite to tv on pi
5V on pin 2 on pi
Gnd on Gnd on powerstrip

Pi zero
PP1 to 5V on powerstrip
PP6 to GND on powerstrip

Does it seem right ?

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 (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 8:20 am

@johweb Yes.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 8:23 am

OK, then I'll have a try for a fresh image ! ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest