<?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[NanoC6 dev kit. Code only runs when attached to IDE]]></title><description><![CDATA[<p dir="auto">Good afternoon,</p>
<p dir="auto">I'm pretty much a complete hardware noob.  I spent yesterday getting a Nano c6 board to activate a relay after 2 seconds of powering on (and when the button is depressed.)</p>
<p dir="auto">The code works fine while attached to the computer on which I'm running the arduino ide.</p>
<p dir="auto">But when I plug it in to simple usb power, it's dead as a doornail.  If I plug it back into the computer, everything's fine.</p>
<p dir="auto">I know I'm missing something silly.  But...what?</p>
<p dir="auto">I can paste the code if you'd like.  But I'm not sure what difference it would make.</p>
<p dir="auto">The thing I'm trying to get done is "Turn on this relay for 1 second when the nano gets power." So it's nothing too complicated.</p>
<p dir="auto">What am I missing?</p>
<p dir="auto">Thanks.</p>
<ul>
<li>M</li>
</ul>
]]></description><link>https://community.m5stack.com/topic/6962/nanoc6-dev-kit-code-only-runs-when-attached-to-ide</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 01:16:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6962.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Nov 2024 23:19:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NanoC6 dev kit. Code only runs when attached to IDE on Thu, 14 Nov 2024 09:48:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madwilliamflint" aria-label="Profile: madwilliamflint">@<bdi>madwilliamflint</bdi></a><br />
You can check whether the problem is related to the relay or the nano itself: for example, connect the nano to a specified Wi-Fi after powering it on, and see if there is any difference when plugging it into a computer or a USB power source.</p>
]]></description><link>https://community.m5stack.com/post/27034</link><guid isPermaLink="true">https://community.m5stack.com/post/27034</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Thu, 14 Nov 2024 09:48:53 GMT</pubDate></item></channel></rss>