0

How to extend GPIO

I need to extend gpio on my XT1143

What if I use another player as extender (e.g. HD223)?

Is it possible? Say, if I connect hd223 to xt1143 via lan...

And if it's posiible, how the script/command should look like?

Thnx

 

5 comments

  • 0
    Avatar
    Lmccallister

    This actually would be pretty easy to do in Brightauthor. I would simply have HD223 have a zone with an event handler with Button Press events that leave it on it's current state. Then set each of those button press events to have a a secondary command where they output a UDP command to the XT1143. Then have those UDP commands as triggers on your XT to act as a button would. 

  • 0
    Avatar
    krt

    Thank you

    I agree, it would be easier. But the main technical goal was to use only one player. Anyway the problem almost solved)

  • 0
    Avatar
    Lmccallister

    Ah, didn't know you were trying to avoid a second player.

    Here's what I've done in the past when I needed a LOT of GPIO with a simple interface: use a keyboard emulator like the iPac2 or iPac4 (https://www.ultimarc.com/ipac1.html).

    These appear as a regular keyboard to the Brightsign, and you can use the programming interface to set any GPIO to any keyboard key. You can get 32 or 56 inputs out of a single unit. 

     

     

  • 0
    Avatar
    krt

    That's very interesting.How It works? There is a script or some special soft?
    Our "plan B" was to use simple pc keyboard and replace native buttons with long wired mechanical buttons

  • 0
    Avatar
    Lmccallister

    The iPac is configured by a little software tool they have for free on their site. You plug the pac into your computer via USB and then You basically have a series of dropdown menus to select what character each GPIO on the iPac is. You write that to nonvolatile firmware so it retains it even during power cycling. After that, the Brightsign just thinks it is a regular keyboard regardless of how you've configured it. 

Please sign in to leave a comment.