With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
These resistors i have added on the output are not necessary. These are to be there only in case if device would be used for DMX input.As well values can be 10k for pull up / pull down ones
ESP8266 Artnet to DMX
OK, got first neat results! I took different router (without internet connection and network traffic) and it works fantastically. It happen to jam but once in a while( I count it as normal - happens ).So the issue was - I was using it on the network with regular network traffic, and maybe some network issues. (but Enttec ODE worked well even on that network)So - I believe there is still to look into something in the wifi code part - maybe it was getting some other network packets which were to heavy to process and it was stuck . There is always room for improvements but for now it is above great! Big respect for making it open source, looking forward to find more bugs and contribute as much as I can.
I have tried both 1.0.5 and 1.1.0, with and without VERBOSE. In my opinion dmx part seems fine, i suspect something in wifi or some other part of code. But if it works smoothly on yours, maybe it is my hardware then? because something causes that 80-95 miliseconds jam in my case. as well to make cleaner DMX output - filter capacitor on 5v rail solves it well.
Today I have checked with serial debug (with timestamps), seems like it receives all the packets, as well used ODE to capture DMX output from ESP and send it back to Artnet, different universe. Here is what it looks like. So i suspect packets are not being lost, just they are outputed not consitently? And that causes "lag" which looks like low FPS
As I mentioned, i have added timestamps to each message150031 Artnet Uni A Received150036 Artnet Uni A Received150042 Artnet Uni A ReceivedSo the time inbetween packets is shown after the timestamp.As you can notice there are some delays of 80-90 ms which are the result of that 10 fps effect. 150031 150036 5150042 6150133 91150139 6150145 6150236 91150241 5150249 8150341 92150347 6150440 93150447 7150453 6150459 6150543 84150551 8150557 6150645 88150651 6150748 97150756 8150762 6150767 5150850 83150856 6150952 96150958 6150964 6151055 91
As well I have tried stand-alone hotspot mode and yeah, only seems worse, So after all I suspect some wifi interrupt/buffer related issues
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.