robertoostenveld / esp8266_artnet_dmx512

56 stars 11 forks source link

ESP32 Support #6

Open aaron-harvey opened 1 year ago

aaron-harvey commented 1 year ago

I stumbled across your project today and it looks promising!

Have you considered using an esp32 over the 8622?

robertoostenveld commented 1 year ago

At the time I initially needed this (around 2016/2017) the ESP32 had just been released, was not widely supported wrt Arduino libraries, and was not very affordable yet. I personally did not have the need to upgrade the few Artnet-to-dmx converters that I built myself, and am not regularly making new ones. That said, if I were now to start from scratch, it is likely that I would use an ESP32 based board.

Considering my code, I don't think that there is much (if any) that is specific to the ESP8266. The WiFi works the same between the ESP32 and the ESP8266, the LEDs are trivial, the serial/UART output should work fine, and the recently introduced I2S should also work on the ESP32. I suggest you just give it a try to see whether it compiles for and executes on an ESP32 board, even without connecting anything to it.