-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Universes #9
Comments
If you are using Esp8266 the you can try this for fix ip esp8266/Arduino#1959 What I understand you can set different use for universe 1 and 2 etc. if you look |
Just a bit for clarification. |
@rstephan I am searching for a way to control 17m of WS2812b leds which in total are 510leds meaning i would need 510led * 4 (does this library support RGBW?) = 2040channels meaning 2040/512=4 universes meaning i need 4 pins on the ESP8266 right ? Do you think you library would be capable of this ? |
The Configure the examples for your needs:
Extend the byte to channel maping to 4
You have to transmit 4 universes in a row starting from 0 to send out all data. |
@rstephan Actually the strip will indeed be a long strip of 17m so yes you are right one pin should do it. |
I still haven’t figured out how to add more strips to different pins. Can you give me a little more guidance? For instance: if I add another led strip, leds2, does that mean I need to add new functions throughout the entire code? Like setting the brightness of the entire strip would be: |
Just tried the ArtnetWifiNeoPixel-Example yesterday: It works fine with my 64 (8x8) and 99 (11x9) pixel arrays. But when trying to use on my 484 (22x22) pixel array, it just turn on all leds to white, Not init-color-show either. Any ideas? |
@erod998
It can be done more sophisticated :-) but this is not the point. @bombcheck |
Power supply is OK: It works with another firmware, but it is not stable. So I am looking for another firmware that is more stable. |
Hi there, Thanks for your help |
@Gdmm97 If you can transmit a broadcast IP packet so every node can see the same packet, which is the first step.
|
Hello, I would like to have multiple WS2812b strips displaying as a LED matrix. The catch is I would like them to all be movable, independent of each other and the computer controlling them. My plan is to connect each strip containing 90 LEDs to it's own Adafruit esp8266 microcontroller and control them via dmx using the artnetwifi neopixel example, with each unit as it's own universe. In my case I will have 6 universes to begin with and will add more at a later date. Do I understand correctly that I should change the universe settings for leds 1-90 and give the code on each board a different universe number? Will that do it? Thank you for your help, this is my first LED project. |
Current Setup: NodeMCU running two strips. Strip 1 is 300 RGB LEDs. Strip 2 is 150 RGB LEDs. Code: (Still needs to be cleaned up)
I struggled with the first strip. I couldn't get it to display universe 2 on the strip. U1 is LEDs 0-169 and U2 is 170-299. Couldn't get the U2 to show. Strip 1 is ran off a single pin, so is strip 2. Finally got it to display both. Performance is good so far. I will see if I can share a video once I get everything finalized. Also, will update here to show the RGBW (SK6812) LEDs here. You can look in the onDmxFrame and see that I have most of it commented out. Still unsure of the rest of its functionality with regards to multiple strips. Sometimes the Node resets and goes through the initTest function again, or sometimes takes a few tries to get through it. I suspect this is the Node losing wifi. |
thanks!! |
Hi! I've been trying to get the Universes output through different pins, I've algo managed to do it but the board keeps reseting, same as @erod998 . I can't figure why this is happening. If anyone has some pointers, it would be great! Code:
|
@Carransynth |
I will try that soon with mine. I have a 20 amp power supply that also powers the Node so that could be a possibility, especially given how 450 neopixels at 60 amps is 27 amps. Granted, I am no way pulling that much as my effects through Artnet are more often off than on, and when they are on its never white. I will update soon. |
Hi, I'm trying out your FastLed example with a 5m ws2812 strip containing 300 leds. All goes fine when I stay within the limit of 1 universe but using the whole length of my strip (and as result multiple universes) nothing happens. When I look at the example code their are two parts:
and
It very plausible that I'm interpreting the code wrongly (I'm nowhere near being a programmer) but as I understand it, if you have 2 universes, the first piece of code will always set SendFrame to 0 and as a result FastLED.show() will never be triggered in the second piece. Or am I missing something ? |
@dreetie Small example with 2 parts: I hope this behavior is clear now. If you don't like/need it, change it. |
@rstephan Yep the behaviour is clear now, thx. It was due to an error in my setup that I became confused. I use QLC+ as light controller and forgot to enable the second universe in qlc+ while correctly setting the number of leds in my sketch to 300. So because not all universes where sending, no leds lit up. My apologies you had to take the time for my error and many thanks for sharing your library. |
This is the closest thing I could find to the issue I am having. I have multiple ESP32 chips that I have been using for NeoPixel and work fine. My issue now is I made another one that just controls a relay and is a single channel, if > 200 on, else off. The issue I am having is this new node is reading universe 0 and 1 as universe 1 and is not distinguishing between the 2. The ring lights are working fine and read the universe number properly but this one wont. There are no differenced in my code other than I removed the NeoPixel stuff and just added logic for a relay. Was there an update to the lib that makes this break or something? This is the only node out of 10 I have built that id doing this. Any help would be great. |
@BinTechLLC Maybe your transmitter is doing more than you expect? Is the code looking like this?
I expect your response in a newly created ticket. Thanks. |
hey guys. I`m using Resolume to play with Led stirps ws2812. can anyone send me a working code example. I can do only one pin |
First of all, thank you for writing such a reliable and great code. I have 2 quick questions.
Is there any way to have the device always connect with the same IP without going to my router settings? I am in an apartment and do not have access to the provided router configuration page.
Also, the beginning of the "ArtnetWifiNeoPixel" says "This example will receive multiple universes via Artnet and control a strip of ws2811 leds via...". Does this mean I can have another data pin control another independent universe? Such as Net0, Subnet0, Universe 1 and 2?
I currently have this running on a NodeMCU v2 with CH340. It controls 150 pixels of a WS2812B strip. Runs great.
Thank you!
The text was updated successfully, but these errors were encountered: