robertoostenveld / arduino

Arduino electronics hacking
http://robertoostenveld.nl/category/arduino/
198 stars 96 forks source link

Issue with current example sketch #5

Open scentelles opened 6 years ago

scentelles commented 6 years ago

Hi, This project is great work! I don't know what I goes wrong, but with the default sketch, I was not able to receive anything on my DMX device.

I tried replacing the Serial1 related calls, using the lib https://github.com/PaulStoffregen/DmxSimple , and then it worked directly.

Not sure if it's a matter of serial setup or output pin selection I may be missing in your project? (I'm using a Wemos D1 mini)

Any thought? (I'd prefer not to fork just because I missed some obvious config...)

Thx in advance for your reply.

robertoostenveld commented 6 years ago

I guess you are referring to the esp8266_artnet_dmx512 firmware? (I realize that my collection of arduino code is getting large and that I might be better off splitting it over multiple repositories).

I have received mixed responses, which suggests it is not very robust: it seems that my code works with some, but not other fixtures. For me it has worked so far, but I have not been able to test with many fixtures.

If you look at https://github.com/robertoostenveld/arduino/blob/master/esp8266_artnet_dmx512/esp8266_artnet_dmx512.ino#L269 you can see that there are now two implementations. One is working for me, the other one I received as PR but did not test myself. It did work however for the contributor that donated it. Could you try that?

Looking at https://github.com/PaulStoffregen/DmxSimple/blob/master/DmxSimple.cpp#L71, it seems that it won't work on the ESP8266. Can you clarify?

scentelles commented 6 years ago

Oops, sorry, bad copy/paste. The lib that made it work is https://github.com/Rickgg/ESP-Dmx

And yes I had tried with and wo SERIAL_BREAK, without success.