

ROKU-C-16 (Interface Board):
This board is used to interface to a BrightSign 'Compact'. The first 8 inputs or buttons (inputs 0-7) pass directly to the BrightSign GPIO connections (Btn0-Btn7). The BrightSign uses the 5V TTL serial port to receive the inputs 8-15 (Port1 serial event) for the 'C-16 board'. The BrightSign controls the 16 Outputs via the 5V TTL Serial Port (Port1).
Rev 3 Firmware Option2 = OFF: BrightAuthor is expecting strings to represent the serial 'inputs'. The new default format is to send the ascii value for the 'input number'' followed by a carriage return (<CR>). Inputs 8-15 are transmitted to the Brightsign whenever the inputs are detected low. Only the first input 'low' is reported as an I/O event (similar to the GPIO events). So, if input 8 and input 9 are both low only input 8 (Serial Event '8') will be sent. This is '8',<CR> (two bytes). If input10 goes low after input 11 goes low, only input 10 will be reported as an event.
Note: BrightAuthor 'EOL' (end of line character) should be set to 13 (carriage return). This should be the default.
Rev 3 Firmware Option2 = On (send binary data byte)
Serial Transmission Protocol: The BrightSign has to allow 10 milliseconds to elapse between serial data 'bursts' out. This 10 millisecond 'rest' time is interpreted by the HMS board as a 'break' in serial transmission. This 'break' condition synchronizes the HMS board to the serial transmissions from the BrightSign.
Outputs 0-7 and 8-15: The first two bytes going out the BrightSign 5V TTL serial
port are the data bytes for Port1 and Port2 of the HMS board. Port1 is
Outputs 0-7 and Port2 is Outputs 8-15. If TTLSend(1;128) is sent, then bit
1 of port 1 will turn on (Output0) and bit 7 of Port 2 will turn on
(Output15). All other outputs will turn off because their respective bits
are low.
Link: Setting up the Serial Port and Sending Bytes with 'BrightAuthor'.
*****************************************************************
Diagnostics: Option 6 Selects a 'multiple diagnostic' feature. With Switch 1, slider 6 (SW1-6) on, the board is in a diagnostic mode. The two 8 bit ports are cycled one bit at a time on (changes every second). The 5V TTL driver sends decimal 170 (0xAA) to the BrightSign if not Option5. This diagnostic allows for a visual on all output drivers, verified connection and baud settings to the BrightSign 5VTTL serial port.
*****************************************************************
Here is a table of 'bit' control and the decimal values to control that bit.
Just add the decimal numbers together to get the bits set that you want. Setting all bits on is 255d (decimal). Setting bits 0 and 7 on is 128+1 or 129 decimal
| Note: External Supply Voltage: An External Power Supply is needed to power the loads on the output connector. Do not connect any loads that have their own power that exceeds the power as applied to the board using the 'Ext. Power Connector'. Doing so may result in damage to the board. I.E. Suppose that 12 volts is supplied to this board and you have a relay board with it's own power of 24Volts DC that powers the relays. The 24VDC will feed back into the board via the foldback diodes. Note: Foldback diodes are required for inductive loads such as relays or small motors. |
Updated: January 04, 2012