Notifications
Clear all

DMX Lighting Controller

1 Posts
1 Users
0 Likes
972 Views
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
Topic starter  

I am trying to create a lighting controller/tester. I am using and ESP32 Doit and a MAX 485 Module. Also, I am just learning electronics.

I am using this library. https://github.com/claudeheintz/LXESP32DMX

I have replaced the esp32-hal-uart.c file and even tried the original. Wiring is exactly the same the file in examples labeled circuit. Should I be using the chip directly and not the module? I ordered a MAX 485 to test this but it's still in the mail.

I have been able to send DMX without problem but the example receive isn't working. It hangs up on startup. If I remove the ground connection in the voltage divider it usually completes the setup. I have also tried applying the output of the 485 to the RX pin. I have replaced both the ESP32  and the 485. Also, I have better luck by putting the direction pin to ground. Does a pin in low actually tie it to ground? It doesn't seem to be but maybe it doesn't need to.

 

I can post the code but it really is just the example with the pins corrected. (TX/RX 16/17). I am not using the LED part. I know there is an issue with the minimum slots and I have tried editing it and sending more active channels/using a console.

 

This is driving me insane! Any ideas?


   
Quote