I should start by saying that I’m a complete newbie with electronics. I’m in the planning stages of a project and I think I’d like to use Spark for it, but I have a question before I start.
My project involves receiving wifi packets and transmitting the info in them via DMX, which involves the use of an XLR connector. The thing that I’m unsure about is that the DMX spec involves two pins of the connector for communication. When the voltage of pin 1 is greater than pin 2, a “1” bit is transmitted, and when the voltage of pin 2 is greater than pin 1, a “0” bit is transmitted.
That’s simple enough, and I assume I could use two digital pins on the Spark unit for it, with functions to turn them on or off depending on what to transmit. This seems like reinventing the wheel, though, when I’m just writing ordinary serial data and there’s a serial transmission pin on the device.
So, TLDR: I need to transmit serial data to two pins using a single output pin. What do I do?
Thank you for reading,