<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Power on and off with an external switch when panel mounted]]></title><description><![CDATA[<p dir="auto">Hi Guys,<br />
I would like to panel mount a couple of the M5Stacks in an instrument cluster.  I am trying to figure out how to power these on and off when I don't have access to the power button when it is behind the panel.  I can run a usb cable to small UPS back-up battery (actually for a raspberry pi) and this feeds power to the M5Stacks.  As soon as I turn on the UPS power switch, all is good that the M5's power on, but I have no way to turn them off.  Is there a way to mount an external switch on the panel that will turn the M5's on and off without hacking into the mounted push-buttons?</p>
<p dir="auto">Also, just to add more info, the current buttons are used like this:  The middle button selects the different sensor readings from the engine and the left and right buttons are used to change the brightness of the screen.</p>
<p dir="auto">Cheers<br />
John</p>
]]></description><link>https://community.m5stack.com/topic/2187/power-on-and-off-with-an-external-switch-when-panel-mounted</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 00:07:46 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2187.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Aug 2020 00:09:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Power on and off with an external switch when panel mounted on Wed, 05 Aug 2020 12:35:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the info.  Solves the issue.  So looking at the schematic I would connect to pin 28 for 5V and pin 1,3 or 5 for GND.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.m5stack.com/post/9596</link><guid isPermaLink="true">https://community.m5stack.com/post/9596</guid><dc:creator><![CDATA[jnicol]]></dc:creator><pubDate>Wed, 05 Aug 2020 12:35:05 GMT</pubDate></item><item><title><![CDATA[Reply to Power on and off with an external switch when panel mounted on Wed, 05 Aug 2020 04:50:38 GMT]]></title><description><![CDATA[<p dir="auto">feed power to the bus connection inside the m5stack (2x15 pin connection) as long as no battery is connected then that should work as you need.</p>
]]></description><link>https://community.m5stack.com/post/9591</link><guid isPermaLink="true">https://community.m5stack.com/post/9591</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 05 Aug 2020 04:50:38 GMT</pubDate></item></channel></rss>