<?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[Powering M5Stamp C3U without USB?]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I'm just getting started with microcontrollers and got the M5StickC Plus and M5Stamp C3U.<br />
The M5Stick has 5Vin and 5Vout pins, and I can power it on by connecting a 5V supply to the 5Vin pin, but the M5Stamp doesn't have a 5Vin pin. Connecting the supply to the 5V pin doesn't seem to power it up.</p>
<p dir="auto">Is there a way to power the M5Stamp without using the USB connector?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/5422/powering-m5stamp-c3u-without-usb</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 18:55:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5422.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Jun 2023 15:46:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Powering M5Stamp C3U without USB? on Sun, 25 Jun 2023 21:15:58 GMT]]></title><description><![CDATA[<p dir="auto">Yes I did press the reset button. I can even measure 5V at the USB Port when the power supply is connected to 5V/GND pins. I can also measure continuity between the USB 5V pin and the other 5V pins...</p>
<p dir="auto">I guess it's a software issue... I'll try upload another program</p>
<p dir="auto">Thanks for the help!</p>
<p dir="auto">edit: PlatformIO doesn't find the device... it's not at /dev/ttyUSB* like the m5Stick<br />
edit2: I didn't read this before I ordered...</p>
<blockquote>
<p dir="auto">Note: The newly updated C3U shares the same features as C3, but the difference is that M5Stamp C3U without the USB download chip and the program download method is different (The C3U uses the ESP32-C3's built-in USB Serial for program download)</p>
</blockquote>
<p dir="auto">So I have to figure out how to make that work...</p>
<p dir="auto">edit3:<br />
OK I figured it out, I think. You have to hold the G9 button while the chip powers on (push reset or plug in power) to enter USB CDC mode. Then this platformio.ini worked for me:</p>
<pre><code>[env:m5stack-stamps3]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
upload_port = /dev/ttyACM0
monitor_speed = 460800
build_flags = 
    -D ARDUINO_USB_MODE=1
    -D ARDUINO_USB_CDC_ON_BOOT=1
</code></pre>
<p dir="auto">After uploading once, because of the "CDC_ON_BOOT" option, it goes into the CDC mode automatically without holding the button.</p>
]]></description><link>https://community.m5stack.com/post/21331</link><guid isPermaLink="true">https://community.m5stack.com/post/21331</guid><dc:creator><![CDATA[125millibytes]]></dc:creator><pubDate>Sun, 25 Jun 2023 21:15:58 GMT</pubDate></item><item><title><![CDATA[Reply to Powering M5Stamp C3U without USB? on Sun, 25 Jun 2023 18:12:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/125millibytes" aria-label="Profile: 125millibytes">@<bdi>125millibytes</bdi></a></p>
<p dir="auto">hmm, not sure then what might be the difference between your and my setup.</p>
<p dir="auto">I've just reloaded the stock firmware and it runs fine as well when powered by 5 V and GND.</p>
<p dir="auto">After applying power, have you tried the reset button?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21330</link><guid isPermaLink="true">https://community.m5stack.com/post/21330</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 25 Jun 2023 18:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to Powering M5Stamp C3U without USB? on Sun, 25 Jun 2023 17:40:25 GMT]]></title><description><![CDATA[<p dir="auto">I didn't upload anything yet to the M5Stamp, it was just running the default RGB LED example. The LED lights up and when you push the button on G9 it changes to a random color. I assume this is the program that is loaded by default: <a href="https://github.com/m5stack/STAMP-C3/blob/master/idf/RGB_LED_Control/main/main.c" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/STAMP-C3/blob/master/idf/RGB_LED_Control/main/main.c</a></p>
<p dir="auto">This only happened when it was connected to USB, not 5V and GND pins.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/post/21329</link><guid isPermaLink="true">https://community.m5stack.com/post/21329</guid><dc:creator><![CDATA[125millibytes]]></dc:creator><pubDate>Sun, 25 Jun 2023 17:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to Powering M5Stamp C3U without USB? on Sun, 25 Jun 2023 16:53:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/125millibytes" aria-label="Profile: 125millibytes">@<bdi>125millibytes</bdi></a></p>
<p dir="auto">what makes you believe the M5StampC3U doesn't run when powered via 5 V and GND pins?</p>
<p dir="auto">I've loaded a simple LED blink example to my M5StampC3U and the LED blinks just fine when powered via 5 V and GND pins.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21328</link><guid isPermaLink="true">https://community.m5stack.com/post/21328</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 25 Jun 2023 16:53:18 GMT</pubDate></item></channel></rss>