-
Notifications
You must be signed in to change notification settings - Fork 93
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
How many Universe ? #44
Comments
I sadly don't have an official number as I haven't been able to test the upper limits. It should normally be able to drive a decent amount (4-5 minimum I would think) there's some tweaks that can be done to the Ethernet library to improve performance too. If you search for Artnet on the pjrc forums you'll find some posts about this.
…--
lecaude.com
studioimaginaire.com
Le 7 avr. 2019 à 09:48, lyon470 ***@***.***> a écrit :
Hello,
I have an Teensy 3.2 and 3.6 how many leds/universe can i drive per Teensy ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have the teensy 3.2 and 5 universe Input but the last universe is lacking. |
I'm pretty sure some people were able to drive more that 5 universes, try searching the PJRC forums for more info. It depends on a lot of things, ethernet library tweaking, type of LEDs you are driving...
At some point I remember lowering throughput of the ethernet connection on the computer to 10mbps speed up things.
…--
lecaude.com
studioimaginaire.com
Le 7 avr. 2019 à 09:58, lyon470 ***@***.***> a écrit :
I have the teensy 3.2 and 5 universe Input but the last universe is lacking.
Have i an issue in my code or is this the limit ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I don't find anything in the forum. |
Not a specific one but this search should help:
https://forum.pjrc.com/search.php?searchid=4622601
…--
lecaude.com
studioimaginaire.com
Le 7 avr. 2019 à 10:18, lyon470 ***@***.***> a écrit :
I don't find anything in the forum.
Do you have an link ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
And this thread has more specific info:
https://forum.pjrc.com/threads/28975-wiz820io-max-speed?highlight=Artnet+universes
…--
lecaude.com
studioimaginaire.com
Le 7 avr. 2019 à 10:18, lyon470 ***@***.***> a écrit :
I don't find anything in the forum.
Do you have an link ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
i have the Ethernet Shield with the W5500 chip. |
I'm not sure, I only test with the wiz820io (
https://www.wiznet.io/product-item/wiz820io/) on my side...
Le dim. 7 avr. 2019, à 11 h 39, lyon470 <notifications@github.com> a écrit :
… i have the Ethernet Shield with the W5500 chip.
Is this a Problem ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEu9I49npeP650q7CBIF3Bs3ICpRDckks5vehEZgaJpZM4cgxgL>
.
|
I want to use the Ethernet2 lib but i get an error. |
I'm not familiar with the Ethernet2 lib, sorry...
Le dim. 7 avr. 2019, à 12 h 04, lyon470 <notifications@github.com> a écrit :
… I want to use the Ethernet2 lib but i get an error.
what do i have to Change ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEu9NqT2L5gFvVZlGeOlPhDmAyEcFT5ks5vehcOgaJpZM4cgxgL>
.
|
Ethernet2 lib is specifically for the W5500 chip |
According to this thread, the standard Ethernet library of the Teensy
supports the W5500 chip:
https://forum.pjrc.com/threads/28642-Wiznet-W5500-support
Le dim. 7 avr. 2019, à 12 h 16, lyon470 <notifications@github.com> a écrit :
… Ethernet2 lib is specifically for the W5500 chip
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEu9NyYYtUZAQxaIug36OhS421upw51ks5vehnDgaJpZM4cgxgL>
.
|
Yes but why i got only 4 universe incoming? |
It could be for various reasons, the fact the wiz5500 is supported by
Teensy's Ethernet library doens't mean it's optimized, you should also
check the different optimization tricks I posted in the threads above.
Posting your code would help too.
Le dim. 7 avr. 2019, à 12 h 56, lyon470 <notifications@github.com> a écrit :
… Yes but why i got only 4 universe incoming?
I see in the Serial monitor that universe 1-4 are perfect but i don't get
more than that
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEu9DRzMbZyUcImra99MSZdaKXuyl5Tks5veiM4gaJpZM4cgxgL>
.
|
Yeah many thanks i tested it now with 13 universes without lacking. But now i have another Problem/issue. I use the one socket lib from the pjrc Forum. |
Not sure what you mean by socket lib ?
Le lun. 8 avr. 2019, à 16 h 21, lyon470 <notifications@github.com> a écrit :
… Yeah many thanks i tested it now with 13 universes without lacking.
But now i have another Problem/issue.
Resolume shows me all artnet nodes in my Network, also the Arduino.
As soon as i tell resolume to send unicast the Arduino isn't anymore in
the artnet node list.
When i now change back to broadcast ,the Arduino receives the artnet but
isn't in the artnet node list from resolume.
I use the one socket lib from the pjrc Forum.
Hope you can help me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEu9F2RObYYTo_o5qc1gOznH9mWm7uQks5ve6S8gaJpZM4cgxgL>
.
|
After a few long days it now work. But now i have another problem. Why ?? |
You'll have to post your code and detailed network setup. |
Resolume(PC) - 10.0.1.7 255.0.0.0 Code: Adafruit_NeoPixel leds = Adafruit_NeoPixel(170, 2, NEO_GRB + NEO_KHZ800); Artnet artnet; byte ip[] = {10, 0, 1, 100}; int first_universe = 10; void setup() { leds.begin(); artnet.setBroadcast(broadcast); } void loop() { uint16_t r = artnet.read(); if (r == ART_DMX && uni == first_universe){ if (r == ART_DMX && uni == first_universe + 1){ if (r == ART_DMX && uni == first_universe + 2){ if (r == ART_DMX && uni == first_universe + 3){ if (r == ART_DMX && uni == first_universe + 4){ if (r == ART_DMX && uni == first_universe + 5){ if (r == ART_DMX && uni == first_universe + 6){ if (r == ART_DMX && uni == first_universe + 7){ if (r == ART_DMX && uni == first_universe + 8){ } void initTest() |
I have now changed to the OctoWS2811 library and this worked perfect but suddeny it started to lack and now no matter what i do it doesn't stop to lack. |
But it worked fine at some point ?
Anything in your network sending alot of data?
…--
lecaude.com
studioimaginaire.com
Le 17 avr. 2019 à 14:09, lyon470 ***@***.***> a écrit :
I have now changed to the OctoWS2811 library and this worked perfect but suddeny it started to lack and now no matter what i do it doesn't stop to lack.
I use the demo Sketch artnet_octows2811 and only changed ip and the leds.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@lyon470 have you tried the fasted library? It looks very promising since it is more efficient per pixel. This should allow more data to be processed. |
Hello, Few things to do/respect for improved perfs:
Now you have increased the perfs of the
Like this you'd be able to control 8 outs @ 44fps on teensy 3.2 |
Hi @xseignard , thanks for your tips. do you have any working example for this?. When you say
8 universes? i need about 13-16. is this possible? Thanks in advance. |
Did you ever get a reply m8? Or did you test out how many universes you could drive per output? |
Is this from one single output? As I'm aware, the LED itself becomes a bottleneck, as it can only parse so much data, if you want to uphold a given FPS (30Hz or any other number). It receives PWM, bites off the first 3 or 4 bytes (RGB or RGBW), and outputs the remaining part of the signal. But - if you try to feed it 8 universes of PWM signal, it cannot parse it fast enough, and this delay with stack for each LED - adding latency/lagg or similar. Does anyone experience this problem? Is it not a problem in practice? 8 universes is 27 meters of LED if RGB-pixels are used... That's quite a lot. And you can have multiple outputs simultaneously? |
Hi, |
What example are you using ? |
@natcl this one: https://github.com/natcl/Artnet/blob/master/examples/Basic/ArtnetReceive/ArtnetReceive.ino /*
This is a basic example that will print out the header and the content of an ArtDmx packet.
This example uses the read() function and the different getter functions to read the data.
This example may be copied under the terms of the MIT license, see the LICENSE file for details
*/
#include <Artnet.h>
#include <NativeEthernet.h>
#include <NativeEthernetUdp.h>
#include <SPI.h>
Artnet artnet;
// Change ip and mac address for your setup
byte ip[] = {2, 0, 0, 2};
byte broadcast[] = {2, 255, 255, 255};
byte mac[] = {0x04, 0xE9, 0xE5, 0x00, 0x69, 0xEC};
void setup()
{
Serial.begin(115200);
Serial.println("Starting...");
artnet.begin(mac, ip);
artnet.setBroadcast(broadcast);
}
void loop()
{
uint16_t r = artnet.read();
if(r == ART_POLL)
{
Serial.println("POLL");
}
if (r == ART_DMX)
{
// print out our data
Serial.print("universe number = ");
Serial.print(artnet.getUniverse());
Serial.print("\tdata length = ");
Serial.print(artnet.getLength());
Serial.print("\tsequence n0. = ");
Serial.println(artnet.getSequence());
Serial.print("DMX data: ");
for (int i = 0 ; i < artnet.getLength() ; i++)
{
const int ch = i + artnet.getUniverse() * 512;
if ( ch < 10 )
Serial.print(" ");
if ( ch < 100 )
Serial.print(" ");
if ( ch < 1000 )
Serial.print(" ");
Serial.print(ch);
Serial.print(":");
const int v = artnet.getDmxFrame()[i];
if ( v < 10 )
Serial.print(" ");
if ( v < 100 )
Serial.print(" ");
Serial.print(v);
Serial.print(" ");
}
Serial.println();
Serial.println();
}
} I had to change |
I added some spaces depending on the values for better reading... thing is that when I try sending more data, like a fixture of more than 2304 channels, data is lost... |
There's nothing in the library preventing getting more universes, normally if the board is receiving it it should work unless there is a network configuration issue... |
Then why can't the teensy get all the data from a big fixture? |
is there a hardware limitation on the Ethernet module of the Teensy? |
Do you have a control over fps ? You could try lowering the fps to see if the Teensy is receiving data too fast ? |
that's another weird thing... when doing the testing, I'm only sending 1 frame at a time... like I just send 1 frame and it still not everything gets there... |
I know that with the older Teensy 3.2 forcing the Ethernet speed to 10mbps in the OS would help. It might also be a buffer size issue. You'll need to search on the pjrc forums as this is more an Ethernet issue than an Artnet issue, if you go back on this thread there are a couple of links to the pjrc forum with Ethernet optimiza tips. |
Isn't there a way to set these Ethernet settings without modifying the files? |
Note that these tips are for the w5500 module, not the one that is on the teensy 4 |
What's the module on Teensy 4.1? |
It’s built into the processor directly, there’s an alternative library that can be used called QNEthernet, there’s info here:PJRC Storepjrc.com--lecaude.com studioimaginaire.com Le 14 févr. 2024 à 16:18, Joe X! ***@***.***> a écrit :
What's the module on Teensy 4.1?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
where? |
but how can I make QNEthernet work with artnet? |
and does it work with the Teensy4.1 Ethernet kit? |
Hello,
I have an Teensy 3.2 and 3.6 how many leds/universe can i drive per Teensy ?
The text was updated successfully, but these errors were encountered: