0

XD230 and Arduino or MaxMSP (on a Mac)

Hello,

I would like to be able to send one message from an Arduino to an XD230 (ideally from a digital pin of the Arduino), so that the XD230 can play a video (no other messages/controls are necessary). The XD 230 will be connected to other two Brighsign XD230 players as the video is sectioned across multiples videoprojectors.

I read some of the other useful posts from your forum and was wondering if this specific model (XD 230) can communicate with an Arduino as it doesn't look it had a GPIO port.

The same Arduino is talking to maxMSP over serial, running on a Mac.
Is there any other way I could send the same play message from the Mac through a script or similar?

 

Many thanks in advance for your help and time

Best wishes

MM

7 comments

  • 0
    Avatar
    ^UD\_$

    You could try and use UDP messages over network, either directly from the Arduino, or from the Mac.

    I'm not familiar with maxMSP, but if you can execute a shell command, then you cold use the CLI nc tool like so:

    echo "The UDP Message" | nc -u <target IP address or host> <port number to mach interactive settings in BA>

     

    Example:

    Send a UDP message "playvideo" to address192.168.10.10 on port 15710

    echo "playvideo" | nc -u 192.168.10.10 15710

     

    maxMSP sounds interesting, so I'll check it out and may have a better idea.

    I hope that helped

  • 0
    Avatar
    Marcus Smith

    Hi, thanks for your help. Yes MaxMSP has an object through which one can send UDP messages to specific IP addresses/ports. Here is the documentation in case you are interested https://docs.cycling74.com/max5/refpages/max-ref/udpsend.html
    I only ever used it to talk to the same computer, but in theory it works over a network.
    Does the XD230 accept commands over the ethernet cable?

    Many Thanks for the help

  • 0
    Avatar
    ^UD\_$

    All BrightSign's networked players accept UDP messages, which can then be responded to, by means of  a BrightAuthor UDP event.

  • 0
    Avatar
    Marcus Smith

    Thanks! I will use the example you kindly provided and will see how it goes!

  • 0
    Avatar
    Marcus Smith

    One more question if you don't mind, I might be able to replace the XD230 with an HD223 and at that point I could use the new GPIO port.

    Does the port accept 5v input or 3.3v? Just wondering in case I need to buy a level shifter....

     

  • 0
    Avatar
    ^UD\_$

    Even with the HD223, I would still take the UDP route.

    In both cases UDP allows you to use standard network wiring, without any additional hardware and points of failure.

    It also scales up to very easily, as UDP can be broadcasted on the network, for syncronized action across multiple players.

    My ¢2

  • 0
    Avatar
    Marcus Smith

    Ok! That sounds really good.

    I thought I was going to use the GPIO as the 3 Brightsigns are connected/sync (I assume through the Ethernet port)

Please sign in to leave a comment.