Skip to content
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

receive DMX packets from simple 12-channel controller (with less than 512 channels per packet) #10

Open
korakinos opened this issue Mar 21, 2023 · 3 comments

Comments

@korakinos
Copy link

I have a working test setup based on the DMXInputTest.ino example from this repository. It can receive DMX signals sent from an Enttec DMX USB Pro (verified by controlling a connected LED). However, it fails to receive signals from a simple 12-channel manual DMX controller.

Looking at the DMX signals with an oscilloscope, I can see that the manual controller, other than the Enttec, only sends 12 channels of data per packet, not the full DMX range of 512 channels. So I suspect this to be the cause.

Does this library function with DMX packets of only 12 channels (or generally, less than 512)? If not, could it be changed to support this? How?

@claudeheintz
Copy link
Owner

claudeheintz commented Mar 21, 2023 via email

@claudeheintz
Copy link
Owner

[93] #define DMX_MIN_SLOTS 24

@korakinos
Copy link
Author

korakinos commented Mar 22, 2023

Thanks, I didn't know that! After changing DMX_MIN_SLOTS to 12, I can now receive packets from my controller.

Even though devices like this violate the DMX specification, I wonder if it would nevertheless make sense to support them in the library. I'm not sure how common they are (the one I am using is the "Stairville DDC-12"), but they are potentially a simple way to add a physical fader interface to an ESP8266.

Edit:I just measured another controller I have access to, a 6-channel one. And indeed it only outputs six DMX channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants