Can you run DMX at a slower baud rate and smaller universe?
-
- Posts: 3
- Joined: Tue Dec 20, 2016 4:28 pm
- Real Name:
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?
-
- Posts: 1331
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
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.
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.