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
does not (seem to) recieve data #40
Comments
Thanks for the question and the excellent troubleshooting so far. It's funny that you ask about the Elecrow RS485 module. I just got a similar question about it on Reddit. Though perhaps you are the same person that asked me about it on Reddit? I don't own one of these Elecrow RS485 modules but I just bought one. It should be here in 1 to 2 weeks. There doesn't appear to be a circuit diagram for the Elecrow module, so that makes troubleshooting difficult. But what I can see is that the Elecrow module does not have an RTS pin. The RTS pin is used to control the RS485 module to tell it when to act as a transmitter or a receiver. Because the Elecrow module doesn't have an RTS pin, I am assuming that it automatically switches between transmit mode and receive mode. Typically, this can be done by switching to transmit mode when the RS485 module detects a 1 on the TX pin. When the RS485 module detects a 0 on the TX pin, it switches to receive mode. If this is indeed what is happening, this could be a problem. At the start of every DMX packet, the DMX transmitter needs to transmit a DMX break. The DMX break is essentially a long 0. I think that because the Elecrow module only transmits when the TX pin is high, it is unable to transmit the DMX break. I could be totally incorrect here. It is difficult to say because there is no circuit diagram for me to verify. We may just have to wait a few weeks until my Elecrow module arrives and I am able to do some testing. In the meantime, here are a few more things that you can try:
|
Hi, |
ohh man, I'm such an amateur :) |
I'm glad you got it figured out! Hardware is difficult. I'm currently waiting on v4 of my PCB to come in because I messed up the previous three so far. D'oh. Let me know if you have any other questions or concerns! |
I can't seem t recieve DMX data. I'm using a DOIT EPS32 DEVKIT V1 and a RS485 to TTL module (https://www.elecrow.com/uart-ttl-to-rs485-twoway-converter-p-1545.html)
The module RX pin is connected to GPIO 16 and the RX LED is flickering when a DMX signal is applied.
The DMX signal is provided by a simple DMX controller (Elation SDC-16).
What I've tried:
haven't tried:
any ideas?
The text was updated successfully, but these errors were encountered: