ESP32 DMX control

Does anyone know of an ESP32 based DMX library that actually works?

I have been using <esp_dmx.h>, and I just cannot get it working very well.
My friend who is way cleverer than me had a quick look and said the library wasn't written too well and needed looking at (I am not having a pop at the guy who wrote it I may add).

I managed to cobble together a receiving demo, but the transmit just doesn't work.

This is the circuit I am driving off the ESP32. I am wondering if R4 at 100R is too large for the 3.3v TX signal from the ESP32?

The DMX light I have flashes occasionally, so it makes me think the data is there.
I lowered it to 47R and it still didn't work. I didn't want to lower it any further (not sure how to calculate the correct value - 6N137 datasheet baffled me).

Can't think what else it could be. I know this DMX circuit works, as it is on a proper PCB and I have used it fine with an Arduino UNO at 5v.

Ignore the processor in the picture, I am using an ESP32

GitHub - someweisguy/esp_dmx: Espressif ESP32 implementation of ANSI-ESTA E1.11 DMX-512A and E1.20 RDM

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.