0

Please help: HD810 + ROKU C-16

I am having a large amount of trouble understanding how to get things to work. Here's my situation.

I'm using BrightSign Player HD810 w/ ROKU C-16 button board. (http://www.hms-electronics.com/Roku/roku_c_16.htm)

Important: I need to use the 5v Serial port *ONLY*. We were told when we purchased the ROKU board that we wouldn't need the other cable for GPIO. I need to confirm that I can access all 16 inputs and outputs solely though the 1/8" serial port. 

I'm trying to get a real basic setup going. I want a batch of mp3 files to be triggered by a corresponding button. For example, someone walks up a kisok and first nothing is happening. When they press button 1 it will play mp3 # 1 (and light up button 1's led until playback is finished, then go back to nothing). That is it. There is no video involved. Only audio output to speakers. No kiosk will have more than 16 choices but that means I will need to access all inputs and outputs on the board.

From what I understand I can use an image file as my "initial state" then trigger my mp3 files from there...then have a media end event on each mp3 file so it will return to initial state when finished.


Here how I'm confused..Any help would be greatly appreciated!

When using BrightAuthor to set up the interactive presentation, I have been choosing the 'Serial Input Event' then dragging from the bottom of my initial state/image to the mp3 file I want to play when button 1 is pressed. I get the popup and BrightAuthor wants me to Specify Port: which is defaulted to "0". I have been changing this to "1". Note: The ROKU C-16 board's data sheet points me to the following URL for "Setting up the Serial Port and Sending Bytes with 'BrightAuthor'." --> http://www.hms-electronics.com/Roku/TTL_BA.htm <-- This tells me to go into BrightAuthor's preferences and change the serial port from "0" to "1". I have done this however every time I open up preferences in BrightAuthor it has gone back to "0". Very confusing. Continuing in the BrightAuthor's 'Serial Input Event' popup, I need toSpecify the Serial Input: I assume this has to do with the inputs on the ROKU board, so my 1st button would = Input "0", and the 8th button would = Input "9" ? Next in the popup, as I understand I need toAdd Command. This is where more confusion comes in. What type do I choose here? Serial String CR? no CR? comma separated? What I want to happen is: when Button 1 is pressed, Light up the LED and play the file. So, is this command area just to tell the LED to light up? I am just supposed to send "1" byte here??

1 comment

  • 0
    Avatar
    RokuLyndon



    I sent the following to you via your support email...

    According to the page you include in your email, that's not the case. It says that the first 8 inputs as passed through using the first 8 onboard gpios. The 5V port handles the other 8 inputs, and the 16 outputs. Unless this description is old, and newer boards don't have this requirement, it seems you need the cable.

    "Description of Operation:

    This board is used to interface to a BrightSign 'Compact'. The fist 8 inputs (inputs 0-7) pass directly to the BrightSign GPIO connections (Btn0-Btn7). The BrightSign uses the 5V TTL serial port to input 8 bits of data (inputs 8-15 if 'C-16 board'). The BrightSign controls the 16 Outputs via the 5V TTL Serial Port. The same 5V TTL serial port is used to control the DMX output."

    Edit preferences is the global settings that are used before you create a new project. If you want to change settings of an existing project, you need to go to file, presentation properties, and change the port settings there for port 1. These are just settings though. Where you need to set the port is when you add a serial event, that's where you need to set the port to 1. By default, serial events expect a carriage return with input. But, I think this board only sends bytes. I'm attaching a custom autorun that you can use with your brightauthor project so that it listens for bytes over the serial port and not strings. This video explains how to use a custom autorun.

    "https://www.brightsignnetwork.com/download/Videos/custom_autorun%20part%201-1.m4v

    Yes, the serial input is what's coming from the board. So you add the byte value that the board will be sending. We have to translate the boards out to a button. So, if the button is sending 128 and that's supposed to correspond to input x, then you're actually listening for the 128.

    For the output to the board, I don't believe he directions for the board asks for a carriage return. So, I think you're just using send byte. When sending bytes, you are sending decimal values.

    I sent you this ba 2.2 custom autorun that changes serial events from looking for strings to listening for bytes.
    https://www.brightsignnetwork.com/download/Scripts/autorun%20-%20bytereceive.brs

Please sign in to leave a comment.