[MOD-RGB] Simple serial driving ?

Started by laurent, June 25, 2013, 06:22:56 PM

Previous topic - Next topic

laurent

Hello,

I bought some excellent MOD-RGB modules, which works perfectly with my Raspberry Pi, after some little wiring and i2cset commands (from i2c-tools package).

I saw in the firmware notes that another driving mode is possible, called "DMX mode" (which could be enabled by a jumper).
I don't know anything about the DMX 512 bus and its protocol, but I saw that it uses the USART lines of the µC (and TX/RX on the UEXT bus).
There are few instructions for using this bus mode on the firmware note (page 3/4), but it isn't very clear for me.

Is it possible to use a simple serial bus, and simply send each RGB channel byte one after the other ?

I want to use this mode, not with DMX bus and protocol, but with a serial cable converter like the USB-Serial-Cable-F from Olimex that I currently own ( https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/ ).
It would be much appreciated for easier testing with a PC, for example.

Thanks in advance,
Laurent