Page 1 of 1
Can you run DMX at a slower baud rate and smaller universe?
Posted: Wed May 31, 2017 2:23 pm
by chuddy117
Hi all, we're working on a project where we're trying to get an RS485 adapter working via UART on an Orange Pi. Unfortunately, the Orange Pi UARTs don't support 250kbps so we can't run a full universe of 512 channels. Realistically, we only need a maximum of 16 channels in the universe, so is it possible to hard code the baud rate at something much less than 250kbps and have it work?
Re: Can you run DMX at a slower baud rate and smaller universe?
Posted: Wed May 31, 2017 3:18 pm
by janosvitok
here is the method that copies DMX data to outputBuffer:
https://github.com/mcallegari/qlcplus/b ... et.cpp#L79
here is the method that sends outputBUffer to UART:
https://github.com/mcallegari/qlcplus/b ... et.cpp#L93
m_outputBuffer is QByteArray
http://doc.qt.io/qt-4.8/qbytearray.html
I hope you can figure out the rest

If not, ask again.
Re: Can you run DMX at a slower baud rate and smaller universe?
Posted: Wed May 31, 2017 3:24 pm
by chuddy117
Thank you! I will review.