TX RX data transfer

Sorry for the double posts. Not trying to spam the forum.
I have been scouring everything I can read but can’t seem to figure out on the PixelBlaze end how to send/receive anything across the TX and RX pins when attached to other boards. Anyone have working code somewhere I could look at or a couple lines they could paste in here?
Thank you!

1 Like

Hi @ag_design!

The tx/rx pins are currently for expansion connection, eg the sensor expansion board. The tx has mostly just log messages right now. Interesting perhaps but not sure you can do much, maybe see when a pattern starts, and periodic update of the same kind of stuff you see in the status bar in the ui.

For rx, currently only the sensor board binary frame format is supported. You can creatively repurpose this to feed in data to the various sensor board variables. Data format is 115200 baud 8n1. Must be 3.3v.

The primary control interface is the websocket.

What are you looking to do? I could offer some more specific advice.

Also no worries about legit questions spam, that’s what this is for!

For the most part I would be wanting to do things that can also be accomplished with websockets — affecting patterns, triggering events, etc. I guess it’s just coming from a general distrust of WiFi. There’s just some comfort in the bare metal connection of a wire, especially when it’s more convenient for the PB to be connected to another network not of its own making. But I’m probably just a paranoid luddite. But websockets has the best support and flexibility so I should probably just roll with it.

No worries. You can also check some gpio in code and control the playlist. Or do the same with fake sensor board data over serial.

It’s not quite as elegant but would keep you from having to go the Wi-Fi route.