0

XD233 interactive question

I work at a WW2 battleship memorial.  We are new to Brightsigns but I love them so far.  We have a "wishing well" that grew out of having one of the 4 story tall loading trunks open for visitors to look down.  They started tossing coins into it years ago and the idea stuck.  A few years back we had a company add an industrial light shield under the grating that triggers a bomb falling sound effect and flashes some red lights.  They used a Control 4 home automation module and we can't make it work anymore.

We would like the coin falling to trigger the MP3 file to play.  The sound effect is the bomb falling whistle and the boom of the explosion.  The Control 4 flashed the lights after the whistle and during the boom part.  The light shield has a wire that it grounds when it is triggered.  That should be able to trigger the XD233 GPIO to play the MP3 bomb sound.  My question is, how do I drive a GPIO pin high or low about 3 seconds into the sound and can I adjust the timing later?  I don't care if the lights flash, but red lights on would be cool, flashing would be a bonus.  Thanks very much in advance.

2 comments

  • 0
    Avatar
    JRB Technical

    First and foremost, I always recommend some form of optocoupler in between the BrightSign's GPIO and other devices, just as an added layer of protection.

    Something like this from Amazon:

    https://www.amazon.com/ELEGOO-Channel-Optocoupler-Arduino-Raspberry/dp/B01HCFJC0Y/

    You could use 1 of the 8 channels for the Coin Drop sensor, and the others you could connect to GPIO's as outputs to turn the lights on and off.

     

    Start with an Event Handler in a Interactive presentation, and have it link to the MP3 file with a GPIO trigger, and have a Media End event link from the MP3 file back to the Event Handler to reset when the audio file has ended.

    You could also add a string of Event Handlers to turn the GPIO's on and off for the lights, with a Timeout to start (link 2) which would be set to how long to wait after the MP3 started playing before going through the lights on/off sequence.

     

    There are a few different ways to do this, but should be possible.

    With the optocoupler relays it gives you the flexibility so you can easily run LED or any other type of lights.

     

    John

     

  • 0
    Avatar
    Terry Kuhn

    Thanks John.  Just the ticket.  I have the files copying now and look forward to testing it on the unit later today.

Please sign in to leave a comment.