<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/1077" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2021-03-16T14:03:46+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/1077</id>

		<entry>
		<author><name><![CDATA[Sharrio]]></name></author>
		<updated>2021-03-16T14:03:46+00:00</updated>

		<published>2021-03-16T14:03:46+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2530#p2530</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2530#p2530"/>
		<title type="html"><![CDATA[Re: Stereopi power over gpio headers]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2530#p2530"><![CDATA[
<blockquote class="uncited"><div>The second option was to use a button on GPIO headers to do a shutdown and start up, with power via jst connector, however this wont remove the power so the stereopi remains in idle, which isn't ideal.</div></blockquote>Hello!<br>Your ideas are good enough, on the whole. And why don't you flip the switch over to some sort of sensor that would short-circuit when needed. It might be complicated, but it's fashionable and works <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_wink.gif" width="15" height="17" alt=";)" title="Wink"> The only thing I will point out is that I buy similar sensors from <a href="https://sourceme.com" class="postlink"><span style="color:#000000">sourceme.com</span></a>, they have connections with suppliers. And I've never had a problem with them, maybe the problem is with your vendor? At least that's an option too.<br>GL!)<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=698">Sharrio</a> — Tue Mar 16, 2021 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomaton]]></name></author>
		<updated>2021-02-28T20:46:11+00:00</updated>

		<published>2021-02-28T20:46:11+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2479#p2479</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2479#p2479"/>
		<title type="html"><![CDATA[Re: Stereopi power over gpio headers]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2479#p2479"><![CDATA[
Hi. I looked at the link you gave, and it seems to do what you are looking for.<br>The install script is full of unrelated things so that I did not have the patience to read all. Thus I do not know how it starts, but I have seen that the code is actually hosted there: <a href="https://github.com/pimoroni/clean-shutdown" class="postlink">https://github.com/pimoroni/clean-shutdown</a><br><br>By the way, if you think that the way they do it is not correct for you, the README says that the button is connected to pin "BCM 17" (and the led too) and that the power signal is on "BCM 4" (probably shut down when set to output 0, but not full checked). So you could write your own code to use their hardware directly, to have a solution similar to your option 2, but with cut power.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=101">stereomaton</a> — Sun Feb 28, 2021 8:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bensailor]]></name></author>
		<updated>2021-01-31T19:06:36+00:00</updated>

		<published>2021-01-31T19:06:36+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2421#p2421</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2421#p2421"/>
		<title type="html"><![CDATA[Stereopi power over gpio headers]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2421#p2421"><![CDATA[
Hi,<br><br>I plan to enclosure my Stereopi and need a button to turn it on and off. I will have no access to the power switch.<br><br>My first plan has been to use the onoff shim by pimoroni (<a href="https://shop.pimoroni.com/products/onoff-shim" class="postlink">https://shop.pimoroni.com/products/onoff-shim</a>) which powers the stereopi through the gpio headers, with a button to shutdown and kill power. I have had some unreliability with it so far (failing to kill power, or scripts crashing). Is there anything I need to be aware of?<br><br>The second option was to use a button on GPIO headers to do a shutdown and start up, with power via jst connector, however this wont remove the power so the stereopi remains in idle, which isn't ideal.<br><br>Is there a third way that I haven't thought of?<br><br>Thanks for any suggestions<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=358">bensailor</a> — Sun Jan 31, 2021 7:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
