So I'm currently building a small DMX tester which can both check for incoming signal and send DMX signal (not at the same time, the user decides which mode he wants to use). I'm using the DMXSerial library but I'm running into some problems. I'm pretty sure my code is correctly working (although it's the opposite of nice but its just a prototype). the code (ignore the print("test") messages, those where for testing purposes.)
My main problem is the wiring. Instead of using an actual DMXShield, I'm just using the RS485. I don't think that the actual DMX Shield is worth it for this use case.
The only wiring diagram I've found which uses both the DMXSerial library and the RS485 was the one on this website: wiring diagram.
So my questions are,
- is the wiring I found correct?
- How can I adapt it to be able to both send and receive it? Do I need two RS485's and have one of them connected to the RX and the other one to the TX pin? Or both to the RX pin? I'm pretty lost and I hope that one of you can point me in the right direction.
(oh and I'm sorry if this is the wrong subforum, just move my post)