M5 Stick C Plus 2 support added #641
Replies: 14 comments 17 replies
-
BTW, on the plus side (or Plus2 side), the screen is much faster than the original Plus. It runs the little spectrum display at 142 fps! It also has 2MB of PSRAM, which I've enabled for all Plus2 projects. |
Beta Was this translation helpful? Give feedback.
-
What's the plan for audio on non-espressif boards?
…On Sun, Jul 7, 2024, 9:43 PM David W Plummer ***@***.***> wrote:
BTW, on the plus side (or Plus2 side), the screen is much faster than the
original Plus. It runs the little spectrum display at 142 fps!
It also has 2MB of PSRAM, which I've enabled for all Plus2 projects.
—
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD33JSSA2QY7CWHP5DB3ZLH4G3AVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOBSGQ3DQ>
.
You are receiving this because you are subscribed to this thread.Message
ID:
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9982468
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Non-esp32? Don’t care. It works on everything it did a week ago, plus the Plus2 now. What board are you trying to support?
- Dave
… On Jul 8, 2024, at 1:50 PM, Robert Lipe ***@***.***> wrote:
What's the plan for audio on non-espressif boards?
On Sun, Jul 7, 2024, 9:43 PM David W Plummer ***@***.***>
wrote:
> BTW, on the plus side (or Plus2 side), the screen is much faster than the
> original Plus. It runs the little spectrum display at 142 fps!
>
> It also has 2MB of PSRAM, which I've enabled for all Plus2 projects.
>
> —
> Reply to this email directly, view it on GitHub
> <#641 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACCSD33JSSA2QY7CWHP5DB3ZLH4G3AVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOBSGQ3DQ>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID:
> <PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9982468
> @github.com>
>
—
Reply to this email directly, view it on GitHub <#641 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF53QOINWTC4HHSB4JDZLL3SLAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGYZTS>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Of course still the subset of esp32 this project always supported.
Espressif owns m5stack. What about the boards using the esp32s that dont
likely use anything called the "M5 unified library"?
https://www.espressif.com/en/news/Espressif_Acquires_M5Stack
On Mon, Jul 8, 2024, 3:57 PM David W Plummer ***@***.***>
wrote:
… Non-esp32? Don’t care. It works on everything it did a week ago, plus the
Plus2 now. What board are you trying to support?
- Dave
> On Jul 8, 2024, at 1:50 PM, Robert Lipe ***@***.***> wrote:
>
>
> What's the plan for audio on non-espressif boards?
>
> On Sun, Jul 7, 2024, 9:43 PM David W Plummer ***@***.***>
> wrote:
>
> > BTW, on the plus side (or Plus2 side), the screen is much faster than
the
> > original Plus. It runs the little spectrum display at 142 fps!
> >
> > It also has 2MB of PSRAM, which I've enabled for all Plus2 projects.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
#641 (comment)>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/ACCSD33JSSA2QY7CWHP5DB3ZLH4G3AVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOBSGQ3DQ>
> > .
> > You are receiving this because you are subscribed to this
thread.Message
> > ID:
> >
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9982468
> > @github.com>
> >
> —
> Reply to this email directly, view it on GitHub <
#641 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AA4HCF53QOINWTC4HHSB4JDZLL3SLAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGYZTS>.
> You are receiving this because you authored the thread.
>
—
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD3ZJ56WUQKVAGGZNEDLZLL4MPAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGY4DG>
.
You are receiving this because you commented.Message ID:
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9991683
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Not to be pedantic, but my question:
It works on everything it did a week ago, plus the
Plus2 now. What board are you trying to support?
It requires an espressif chip, not their module. But it supports their modules.
- Dave
… On Jul 8, 2024, at 2:13 PM, Robert Lipe ***@***.***> wrote:
Of course still the subset of esp32 this project always supported.
Espressif owns m5stack. What about the boards using the esp32s that dont
likely use anything called the "M5 unified library"?
https://www.espressif.com/en/news/Espressif_Acquires_M5Stack
On Mon, Jul 8, 2024, 3:57 PM David W Plummer ***@***.***>
wrote:
> Non-esp32? Don’t care. It works on everything it did a week ago, plus the
> Plus2 now. What board are you trying to support?
>
> - Dave
>
> > On Jul 8, 2024, at 1:50 PM, Robert Lipe ***@***.***> wrote:
> >
> >
> > What's the plan for audio on non-espressif boards?
> >
> > On Sun, Jul 7, 2024, 9:43 PM David W Plummer ***@***.***>
> > wrote:
> >
> > > BTW, on the plus side (or Plus2 side), the screen is much faster than
> the
> > > original Plus. It runs the little spectrum display at 142 fps!
> > >
> > > It also has 2MB of PSRAM, which I've enabled for all Plus2 projects.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> #641 (comment)>,
>
> > > or unsubscribe
> > > <
> https://github.com/notifications/unsubscribe-auth/ACCSD33JSSA2QY7CWHP5DB3ZLH4G3AVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOBSGQ3DQ>
>
> > > .
> > > You are receiving this because you are subscribed to this
> thread.Message
> > > ID:
> > >
> <PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9982468
> > > @github.com>
> > >
> > —
> > Reply to this email directly, view it on GitHub <
> #641 (comment)>,
> or unsubscribe <
> https://github.com/notifications/unsubscribe-auth/AA4HCF53QOINWTC4HHSB4JDZLL3SLAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGYZTS>.
>
> > You are receiving this because you authored the thread.
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#641 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACCSD3ZJ56WUQKVAGGZNEDLZLL4MPAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGY4DG>
> .
> You are receiving this because you commented.Message ID:
> <PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9991683
> @github.com>
>
—
Reply to this email directly, view it on GitHub <#641 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF3RSHA5GF24CZDC3JTZLL6GBAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRG43TE>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
My question could have been phrased better for those not believing a name
change is imminent. More precisely, my original question was does your
statement
for non-mesmerizer cases, I switched to M5.Mic.Record() instead of
directly doing i2s audio.
Apply to all devices or does i2s remain for others?
So, AINUI, m5s were changed to use the m5 path and everything else uses
what it's always used. Mesmerizer was presumably never on that m5 path, so
I don't know why it gets the shout-out.
I probably should have just waited to get home and reviewed the change
instead of your description, but that wouldn't have helped the rest of the
audience.
On Mon, Jul 8, 2024, 4:28 PM David W Plummer ***@***.***>
wrote:
… Not to be pedantic, but my question:
> It works on everything it did a week ago, plus the
> Plus2 now. What board are you trying to support?
It requires an espressif chip, not their module. But it supports their
modules.
- Dave
> On Jul 8, 2024, at 2:13 PM, Robert Lipe ***@***.***> wrote:
>
>
> Of course still the subset of esp32 this project always supported.
> Espressif owns m5stack. What about the boards using the esp32s that dont
> likely use anything called the "M5 unified library"?
>
> https://www.espressif.com/en/news/Espressif_Acquires_M5Stack
>
> On Mon, Jul 8, 2024, 3:57 PM David W Plummer ***@***.***>
> wrote:
>
> > Non-esp32? Don’t care. It works on everything it did a week ago, plus
the
> > Plus2 now. What board are you trying to support?
> >
> > - Dave
> >
> > > On Jul 8, 2024, at 1:50 PM, Robert Lipe ***@***.***> wrote:
> > >
> > >
> > > What's the plan for audio on non-espressif boards?
> > >
> > > On Sun, Jul 7, 2024, 9:43 PM David W Plummer ***@***.***>
> > > wrote:
> > >
> > > > BTW, on the plus side (or Plus2 side), the screen is much faster
than
> > the
> > > > original Plus. It runs the little spectrum display at 142 fps!
> > > >
> > > > It also has 2MB of PSRAM, which I've enabled for all Plus2
projects.
> > > >
> > > > —
> > > > Reply to this email directly, view it on GitHub
> > > > <
> >
#641 (comment)>,
> >
> > > > or unsubscribe
> > > > <
> >
https://github.com/notifications/unsubscribe-auth/ACCSD33JSSA2QY7CWHP5DB3ZLH4G3AVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOBSGQ3DQ>
> >
> > > > .
> > > > You are receiving this because you are subscribed to this
> > thread.Message
> > > > ID:
> > > >
> >
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9982468
> > > > @github.com>
> > > >
> > > —
> > > Reply to this email directly, view it on GitHub <
> >
#641 (comment)>,
> > or unsubscribe <
> >
https://github.com/notifications/unsubscribe-auth/AA4HCF53QOINWTC4HHSB4JDZLL3SLAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGYZTS>.
> >
> > > You are receiving this because you authored the thread.
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
#641 (comment)>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/ACCSD3ZJ56WUQKVAGGZNEDLZLL4MPAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRGY4DG>
> > .
> > You are receiving this because you commented.Message ID:
> >
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9991683
> > @github.com>
> >
> —
> Reply to this email directly, view it on GitHub <
#641 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AA4HCF3RSHA5GF24CZDC3JTZLL6GBAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRG43TE>.
> You are receiving this because you authored the thread.
>
—
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD33H45WKGBUTYT246YDZLMAARAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSOJRHA3TI>
.
You are receiving this because you commented.
Message ID:
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/9991874
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
I have fixed the M5 audio issues, and everything works nicely now. Tested on M5 Stick C, M5 Stick C Plus 2, M5Stack, and Mesermizer. (Very) long story short, the raw audio data that comes back from the M5 mic is signed data centered around zero, whereas the mic in the mesmerize returns unsigned 16 bit values. I also simplified the NOISE_FLOOR and NOISE_CUTOFF stuff, so it's only defined once, and added an AUDIO_MIC_SCALAR that takes car of adjusting the relative sensitivities of the mics. It's in a PR that should go in soon. |
Beta Was this translation helpful? Give feedback.
-
I ended up getting an M5 Stick C Plus 2 since the M5 Stick C Plus was no longer available. I downloaded the latest build of the NightDriverStrip software. Managed to get it flashed to the M5 but it's not working very well. I have a 5 meter strip. Not sure of how many LEDs. Down the length of the strip I seem to have random red leds lighting up, not flashing or anything just a constant red light. I do get some flashing at the start of the strip. Clearing my throat will light up or saying BOO will light up the first 8 LEDs. It is a 5 volt strip and I have a 5 volt power supply going to it. So my question is, is there some place in the code where I have to define the number of LEDs I'm lighting up? |
Beta Was this translation helpful? Give feedback.
-
A 5m 5v strip will need multiple power injections to light it at
non-trivial brightness.
Yes, you must set the number of pixels for your effect in inc*/globals.h
Remember that for some strips, pixels and bulbs aren't the same.
…On Fri, Nov 1, 2024, 9:07 PM Witchdoc59 ***@***.***> wrote:
I ended up getting an M5 Stick C Plus 2 since the M5 Stick C Plus was no
longer available. I downloaded the latest build of the NightDriverStrip
software. Managed to get it flashed to the M5 but it's not working very
well. I have a 5 meter strip. Not sure of how many LEDs. Down the length of
the strip I seem to have random red leds lighting up, not flashing or
anything just a constant red light. I do get some flashing at the start of
the strip. Clearing my throat will light up or saying BOO will light up the
first 8 LEDs. It is a 5 volt strip and I have a 5 volt power supply going
to it. So my question is, is there some place in the code where I have to
define the number of LEDs I'm lighting up?
—
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD33OXW5A3JHACQGEOADZ6QQVPAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJSGY4TINA>
.
You are receiving this because you commented.Message ID:
<PlummersSoftwareLLC/NightDriverStrip/repo-discussions/641/comments/11126944
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
@Witchdoc59 Also, what project are you flashing on it? |
Beta Was this translation helpful? Give feedback.
-
So all the random red leds have disappeared. With certain loud noices or frequencies the first 8 LEDs will flash and they flash different colors. The device only works if I have it plugged into the USB-C which makes me think there may be a problem with the wiring. |
Beta Was this translation helpful? Give feedback.
-
Just FWIW, the battery on the M5 can run a few LEDs, but it fails with even 20 of them at reasonable brightness (actually cooked the regulator in mine!)
- Dave
… On Nov 4, 2024, at 9:39 AM, Rutger van Bergen ***@***.***> wrote:
As I already said, I'm not the expert when it comes to properly hooking up strips to power. But the M5StickC Plus2 does have a battery and should run for a decent while on it, provided it only has to drive the LEDs' data signal. For that to be the case, the LEDs in the strip indeed have to be powered through a dedicated power supply.
If the whole thing only works when the M5StickC Plus2 is connected to USB-C, then I think you may actually be trying to drive your LEDs from the M5StickC Plus2, or effectively from whatever the USB-C power source is. If that's a laptop or even desktop computer, I'd recommend disconnecting it immediately and sorting out the strip's power feed before you proceed, because you could well be working towards your computer's USB-C port blowing up - and generating some magic smoke in the process.
Maybe you can send some pictures of your setup, and particularly the wiring between the M5StickC Plus2 and the strip on the one hand, and the strip and its power supply on the other?
—
Reply to this email directly, view it on GitHub <#641 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCFZM47JCDR7H2RIW5YTZ66WNPAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJUGU2TMNI>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
I’d say so :-). With 5M, you’d want to inject a fresh 5V source from a larger gauge cable ever 2M at LEAST, and ideally ever 1M if you’re going to use white, etc.
- Dave
… On Nov 4, 2024, at 10:00 AM, Rutger van Bergen ***@***.***> wrote:
Thanks for confirming that. As I understand it, @Witchdoc59 <https://github.com/Witchdoc59> is trying to drive a 5 meter strip with a total of 300 LEDs, and that's quite clearly beyond what the M5Stick C Plus2's battery can handle.
—
Reply to this email directly, view it on GitHub <#641 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF3CBQMVGOYPLJAPQMTZ66Y4FAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJUGU4DIMY>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Just FWIW, you can power the M5 Stick C Plus from the USB connector or the pinset on the end, but not through the grove connector.
_ Dave
… On Nov 4, 2024, at 12:42 PM, Rutger van Bergen ***@***.***> wrote:
It should indeed, for a while. But "eventually" is a rather flexible term. :)
Would it be possible for you to post some pictures of your wiring setup?
—
Reply to this email directly, view it on GitHub <#641 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF3XE3V7J6PUVIMWZTTZ67L2ZAVCNFSM6AAAAABKP5QISCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJUG4ZDGNY>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I bought a few M5 Stick C Plus 2 units and found they weren't directly compatible with the other M5 Stick C Plus projects. So I did two things:
Defining any of the things like M5STICKCPLUS will wind up defining USE_M5, and that's now what most decisions are based on rather than individual tests.
The audio recording format is also different, but it works across all chips, so for non-mesmerizer cases, I switched to M5.Mic.Record() instead of directly doing i2s audio.
I've checked it into my own fork, if you want it immediately you can grab it there, otherwise I'll let it percolate a bit and then migrate to main in a little bit.
=Dave
Beta Was this translation helpful? Give feedback.
All reactions