mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
611 stars 158 forks source link

Will this work with the ESP-32 chip #78

Open Capii1 opened 6 years ago

Capii1 commented 6 years ago

I have the beta5g running on an ESP-12E chip and it works just fine. (When using the precompiled bin files) Will it be ported over to the ESP-32 chip in the future and also have you figured out why the source code does not work when compiled. I've tried to make some minor adjustments to the source however when I compile the unedited and edited source files it does not output anything to the LEDs.

idtres commented 6 years ago

hey you already ported all to esp32 ? There is another UART on esp32... its possible a 3 out artnet node ? https://www.youtube.com/watch?v=GwShqW39jlE plus there are several pin on esp32 por pwm

mtongnz commented 6 years ago

I haven't done any porting to esp32 yet - I'm very short on time the last 6 months so haven't had time for this project.

I plan to re-write some of the libraries to fix bugs and to make them esp32 compatible but I have no timeline of when this will happen.

tinic commented 5 years ago

It's totally possible to port this to esp32. I did a quick and ugly port here https://github.com/tinic/ESP8266_ArtNetNode_v2 for a ESP32-POE module.

It'll take another few weeks to port over all features and clean up the code base but the original code base makes a great starting point. I found a few obvious bugs which will likely cause random crashers. One benefit of running recent gcc compilers is that they guard against that. Also, instead of using assembly to drive GPIOs, using SPI yields way better timing for WS2812 LEDs without any flicker.

Running on a ESP32-POE (WiFi data, PoE power): https//www.youtube.com/watch?v=YGgp-GKCIiA

LoneWalkerWolf commented 3 years ago

Yeah, @tinic is totally right. We just need to change some lines of code in the libraries, and BINGO, it's ESP32 capable.

idtres commented 3 years ago

How many DMX outputs can ESP32 handle ? this will be a nice feature

LoneWalkerWolf commented 3 years ago

Honestly, I have no idea. It has a tonne more pins, but I haven't tried any sort of DMX software on it yet. I'll let you know how it goes when I try it out.

idtres commented 3 years ago

btw check this out https://hackaday.com/2019/05/07/lots-of-blinky-esp32-drives-20000-ws2812-leds/

Fred-DTV commented 3 years ago

This would acutally be amazing because it would be one step closer to having support for the amazing M5StickCPlus, which would make an great wireless Art-Net receiver

idtres commented 3 years ago

At the moment I am working with the WS5500 ethernet adapter + esp32, and it quite easy to do UDP packages... It would be a nice alternative to avoid bottleneck and WiFi errors for critical applications like DMX ( well, its not reall critical, but its time sensitive ). There should be a alternative to the DMX output library of the ESP32 to have more than 1 single output

LoneWalkerWolf commented 3 years ago

Yeah, sounds good. I'm trying one with the ENC20-something. I'll let you know how it goes.

Wachenanggo commented 1 year ago

It's totally possible to port this to esp32. I did a quick and ugly port here https://github.com/tinic/ESP8266_ArtNetNode_v2 for a ESP32-POE module.

It'll take another few weeks to port over all features and clean up the code base but the original code base makes a great starting point. I found a few obvious bugs which will likely cause random crashers. One benefit of running recent gcc compilers is that they guard against that. Also, instead of using assembly to drive GPIOs, using SPI yields way better timing for WS2812 LEDs without any flicker.

Running on a ESP32-POE (WiFi data, PoE power): https//www.youtube.com/watch?v=YGgp-GKCIiA

How did you compile it?? im getting all sorts of error messages. that i can't resolve.