SparkFunDMX
SparkFunDMX copied to clipboard
Example 1 and 2 with numChannels 512 don't work
Hi,
I have problems when raising the numChannels variable from Examples 1 and 2 to values larger than 240.
Within the example code there is a comment on line 33 that says // Number of DMX channels, can be up tp 512
But when I use values larger than 240 on the receiving side, there is no sign of reception (no Serial messages with the DMX values any more), while numChannels = 1 up to 240 work as expected with my setup.
The following hardware-setup is used:
I use two Sparkfun DMX shields. Connected with a XLR-3 cable.
The sending side is equiped with an Olimex ESP32-PoE EA board running the example code for DMXOutput.
The receiving side is equiped with an Thing Plus - ESP32 WROOM (Micro-B) running the example code for DMXInput
I have tested the Olimex + DMX shield (with example code for DMXInput) successfully with industry DMX lamps already. I guess sending DMX signals with the Sparkfun DMX library is not the problem.
So the problem lies most probably on the receiving side with DMX shield and Thing Plus - ESP32. I suspect this may be a software issue with the library?
The question now is, can anyone check Example 1 - DMXOutput and Example 2 - DMXInput with hardware and numChannels variable larger than 240? So that it may become clear if this is a hardware issue or a DMX library issue?
If anyone looks into this, I would be really glad. Thanks for any comments.
I have made some more testing to pin down the problem.
What works fine is:
numChannels = 254
What doesn't work
numChannels = 255 and larger than 255