That topic must be discussed hundreds of times, but I haven’t found…
I’m trying to use DIY USB-DMX adapter based on FT232RL-MAX485 сhips. Similar to Enttec Open DMX.Is there any example of vvvv talking to Open DMX or everybody just using Pro versions? Since I’m not using vvvv for commercial projects it’s not possible for me to spend 200$ for interface. Open DMX should be a good option.
That should be simple: just send an ASCII string (looking to West DMX PRO example patch), but what is difference between Open and Pro in terms of protocol? I know that USB PRO version does some buffering before throwing data to RS485 and Open DMX do not obviously.
I’ve tested it with real DMX Fixture that I have (simple 30ch Led dimmer). Plugin sends bytes to corresponding channels, but unfortunately LED’s are flickering. For example if LFO gradually increase control signal for 10sec,I can notice peaks from corresponding value to fully open dimmer (like 1 or 255 value). And there are a lot of them (seems like 5-10HZ frequency).
Double checked wiring,hardware,etc. The situation is the same with two different PC (Win XP, Win 8.1). At the same time littlecat-dmx-engine work well, so I suppose it’s not a hardware related problem.
just had a quick look and found a super stupid bug on my side… I was multiplying the incoming values by 255 - twice.
If that would explain your flickering, this version should work now
If not, then I’ll hook it up to a dimmer and see what’s going on…
also, right now there is a 25ms break after each writing process, this might be too much, but that’s what was suggested in the example, if you feel like it should be faster, one could maybe lower that time…
cool, I didn’t touch any comport windows settings, so I’d just leave them like they are (at least that’s not what I meant by the speed improvement) - why would you anyways, are you experiencing weird behaviour?
thanks for testing it, right now the reset button only resets the connection to the device. So it’S not sending all zeros when resetting, but should it? Haven’t thought about it much, might be useful…
edit: read your post again: yeah makes sense. should it maybe even be like in the arnet node, that one input slice = all channels, two input slices = every second channel and so on?
About port settings: DMX specifications says that baud rate should be 250kbit/s. I’m not experiencing any problems just want to be sure that I’m doing everything right. Although, led strips lights that I control over DMX not so smooth. I can notice some jitter if changes are slow. I suppose it’s my hardware limitations. Port speed doesn’t affect it.
Continue testing and going to implement optoisolation in my interface next…
Thank you, Soriak!
P.S. Sending zeros might be useful - I think so too. But it’s not that important.
I’m experiencing strange behavior with my USB-DMX Adapter. The connection is lost after some time of operation. The time is vary from 1/2 hour - 1 hour. Ok, it’s not Enttec, but DIY, so you can suppose it’s hardware problem. But I tried with different PC’s and it’s working great with some and disconnecting with others. I tried Win8.1 desktop PC (fine!), WinXP+Win10 on Thinkpad X220 laptop (loses connection), Win8.1 on Lenovo desktop (loses connection). So situation is vary from PC to PC. FT232 just stop receiving bits from PC.
Mb somebody have some thoughts or ideas to dig for?