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

My RDM Arduino Uno device not working #43

Open
zorarkdouble8 opened this issue Feb 21, 2022 · 5 comments
Open

My RDM Arduino Uno device not working #43

zorarkdouble8 opened this issue Feb 21, 2022 · 5 comments

Comments

@zorarkdouble8
Copy link

So I'm using the RDMSerialRecv example (Link: https://github.com/mathertel/DmxSerial2/tree/master/examples/RDMSerialRecv) and it's not working. I am using the Chamsys Magicq software connected to a DMXKing ultraDMX2 Pro (Link: https://www.dmxking.com/usbdmx/ultradmx2-pro) which connects to my MAX485 RS485 transceiver IC chip which finally connects to my arduino Uno.

The wiring looks like so:
Wiring

What happens is when I try to discover all my RDM devices, my arduino doesn't blink and my software doesn't detect anything. I can control my arduino through dmx using universe test but I can't detect rdm. Also, I'm using enttec Pro/Lumen Radio as a out type and I've messed with all the in types.

@zorarkdouble8
Copy link
Author

zorarkdouble8 commented Mar 18, 2022

So apparently magicq only uses artnet for rdm devices. Which means I have to somehow combine this library with a artnet library for an arduino. However, the ultradmx2 pro should've handled this.... Guess I'll have to do some more digging!

@peternewman
Copy link
Contributor

The wiring looks like so: Wiring

That looks about right, although I haven't checked the datasheets etc...

What happens is when I try to discover all my RDM devices, my arduino doesn't blink and my software doesn't detect anything. I can control my arduino through dmx using universe test but I can't detect rdm. Also, I'm using enttec Pro/Lumen Radio as a out type and I've messed with all the in types.

I don't think you'd need an in type on Chamsys.

I'm biased, but you could also try the ultraDMX2 PRO with OLA ( https://www.openlighting.org/ola/ ) which will do RDM via the USB link natively and give you lots of useful debugging as to what's going on.

So apparently magicq only uses artnet for rdm devices. Which means I have to somehow combine this library with a artnet library for an arduino. However, the ultradmx2 pro should've handled this.... Guess I'll have to do some more digging!

I was going to say, it looks like the ultraDMX2 PRO will do Art-Net RDM to DMX/RDM which should find the device fine, but would add another complication to testing it.

@zorarkdouble8
Copy link
Author

zorarkdouble8 commented Mar 26, 2022

I got OLA to work on my raspberry pi 400 and it works with DMX. However, I still can't get RDM to work! It could be that I configured OLA wrong, the ultraDMX2 PRO, or the arduino configuration. Here's a screenshot of how I configured OLA: Screenshot Another thing is that I did test the ultraDMX2 PRO as a input and still no RDM. Also, the arduino isn't blinking at all so it's probably not getting any identification packets.

@peternewman
Copy link
Contributor

That looks about right @zorarkdouble8 .

You could try an ola_rdm_set -u 1 --uid ffff:ffffffff identify_device 1 which should identify ALL devices so it should work even if you've got the wrong address or discovery isn't working.

Also olad -l 4 logs will help with diagnostics:
https://www.openlighting.org/ola/get-help/ola-faq/#How_do_I_get_olad_-l_4_logs

Especially if you do an ola_rdm_discover -f -u 1

@zorarkdouble8
Copy link
Author

I did the command: ola_rdm_set -u 1 --uid ffff:ffffffff identify_device 1 and it outputted: failed to send request.

Another thing is I did the logs and the ola_rdm_discover command and it just says "Full RDM Discovery triggered for universe 1"

The only thing that might be an error is in the logs is: "common/io/Serial.cpp:170: Device /dev/ttyUSB0 locked by PID 1478 and process exists, failed to acquire lock"

I also tried to use ola_rdm_tests and:
IMG_20220409_141032498

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