[Guide] Graceful shutdown switch without Pololu [RETIRED]

Various user-contributed guides for hardware-related things
Artist_block
Posts: 11
Joined: Wed Jul 27, 2016 8:49 pm
Been thanked: 4 times

Re: [Guide] Graceful shutdown switch without Pololu

Post by Artist_block » Thu Sep 08, 2016 9:48 am

@Camble Thank you

GASMAST3R
Posts: 3
Joined: Fri Sep 09, 2016 12:44 pm

Re: [Guide] Graceful shutdown switch without Pololu

Post by GASMAST3R » Fri Sep 09, 2016 12:52 pm

hallo sorry for my bad Englich

I have make the graceful shutdown but can use gpio 22 and 27( i use Recalbox gpio pad)

waht i make doo, waht gpio i can use now

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

Re: [Guide] Graceful shutdown switch without Pololu

Post by Camble » Sat Sep 10, 2016 2:26 am

@GASMAST3R You can use any other BCM pins, just remember to change the power monitor script.

https://pinout.xyz

GASMAST3R
Posts: 3
Joined: Fri Sep 09, 2016 12:44 pm

Re: [Guide] Graceful shutdown switch without Pololu

Post by GASMAST3R » Sat Sep 10, 2016 5:46 am

hy i have make it @ main Page

Once you've built the circuit, add the following line to /boot/config.txt. This will keep the JFET off while the Pi is powered.


Code: Select all

dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"


Steps:
• Open /boot/config.txt


Code: Select all

sudo nano /boot/config.txt

• Scroll down, there should already be a #dtoverlay entry.
• Type the new line of text.
• Press Ctrl+X to exit, hit Y to save and press return.
• Reboot your Pi.


the power monitor script.?????????????

myPiZero
Posts: 30
Joined: Mon Aug 15, 2016 11:34 pm
Been thanked: 5 times

Re: [Guide] Graceful shutdown switch without Pololu

Post by myPiZero » Mon Sep 12, 2016 11:23 pm

I made a simulation of this circuit.
http://www.falstad.com/circuit/circuitj ... 2+352+0%0A

You can see that the keep alive signal prevents the power boost from shutting down

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

Re: [Guide] Graceful shutdown switch without Pololu

Post by Camble » Tue Sep 13, 2016 7:24 am

@myPiZero My favourite web-based circuit simulator. :D Good job!

Treguard
Posts: 128
Joined: Thu Jul 28, 2016 5:29 am
Has thanked: 40 times
Been thanked: 6 times

Re: [Guide] Graceful shutdown switch without Pololu

Post by Treguard » Tue Sep 13, 2016 11:37 am

Camble wrote:This guide explains how to build a very simple graceful shutdown circuit to your GameBoy Zero. It assumes you are using the Adafruit Powerboost 500C or 1000C.
Many thanks for the guide. I was just wondering if this could be used if you decided to just power the pi off the mini USB port connected to a mains socket?

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

Re: [Guide] Graceful shutdown switch without Pololu

Post by Camble » Tue Sep 13, 2016 12:21 pm

@Treguard That will also work.

Treguard
Posts: 128
Joined: Thu Jul 28, 2016 5:29 am
Has thanked: 40 times
Been thanked: 6 times

Re: [Guide] Graceful shutdown switch without Pololu

Post by Treguard » Tue Sep 13, 2016 1:57 pm

Camble wrote:@Treguard That will also work.
Thanks. If I do that, would I just not connect the EN and GND at the top right of the circuit diagram?

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

Re: [Guide] Graceful shutdown switch without Pololu

Post by Camble » Tue Sep 13, 2016 4:50 pm

@Treguard I must have misread. If you power the Pi directly from USB, it will be constantly powered. If you connect micro USB to the PowerBoost (which it has), the shutdown circuit will work as intended. Basically, use everything through the PowerBoost and you'll be fine.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest