@osc 74HC595 is walkaround when you don't have enough pins but wiring and coding will be pain as I'm not sure neopixel library supports it.
For 5 strips you need 5 digital pins. I don't have M5Stack by hand right now but I'm pretty sure it can provide those.
My advice: Don't rush with 5 strips, do some examples with single strip or even 10-20 LEDS. No offence but I see you're not very common with electronics, may get stuck with 5 strips same time.
Yes, you can connect 5 strips into one huge strip but this will cause voltage drops most likely which leads to different powering experiments. Start with small amount of leds and code, than grow to full strip and when it satisfies you go to 5 strips.
Read about Interface, protocol, physical and software layers. This will help you to understand why i2c hub wont help.
Use legit power supply, M5Stack pin can hold up to 5 ws2182 leds guranteed. I don't remember how much ESP32 port provide, but I believe its something around 250 mA. Connecting heavy load on those may damage your M5 device.
When using separate power supply, make sure ground wires (black ones) are all connected (M5-strip-PSU)
Don't froget that U=IR (voltage = current*resistance). You can use this formula to calculate desired current or resistance aswell
I just tried with another cable: the microcontroller works with a very short cable or from a powered hub. Basically it reboots because of a brown-out due to a power consumption that is at the limit of what a plain usb port can deliver.
I'm glad I haven't (completely) lost my mind.
I haven't had any progress with this issue besides creating a workaround with a Proto and some Grove ports- assembling a sort of..."Port Board." It certainly isn't pretty, but here's a pic for fun:
It's 2 "Port B"s - to accommodate devices that want GP26, GP36, or BOTH. And a simple male header to Serial2. (16/17)
I've had some thoughts on other things to try (mostly in configuration or digging deeper into M5 and ESP32 libraries), but have been busy with another project that requires much smaller hardware. If you (or anyone) find something that in any way changes this functionality, please post.
All info helps.
Hello, Did you end up finding a solution ? This is my issue and I think it may be related :
Hello, I am trying to integrate a RTC module (DS3231). It works fine as long as I don't use the M5Stack library. As soon as I combine M5.begin() with Wire.begin() there seems to be a conflict. Scanning I2C reveals 2 devices :
0x57 - M5 LCD ?
0x68 - RTC Module DS3231
Any clue as to what is going wrong ? What PINS are used by the LCD ? I suppose 21 (SDA) and 18 (SCL) ?
I didn't say it was clean, it's a workaround. You can buy grove to dupont converters.