TV Serial Commands
This page outlines how to use serial I/O to issue commands to a TV display through a BrightSign player. Once a player and TV have been connected by RS-232 through DB9, USB, or 3.5mm serial cables, presentations can deliver commands as scheduled through BrightAuthor. Proper use of this document requires knowledge of BrightSign player serial port configuration.
Connecting Devices
RS-232 communication is conducted between two interface types: Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE). In order to connect a BrightSign player and TV for serial I/O, the interface types on the two devices must be determined. Most BrightSign players function as a DCE devices, while TVs may vary. Consult documentation for both the player and TV to determine if they are DTE or DCE.
Straight-through cabling only supports DTE to DCE connections. If both devices are DTE or DCE, a connection can be established through a null-modem cable or transformer, which flips RX/TX signals.
Issuing Commands
Note
The DE-9 (more commonly referred to as DB-9) serial port is fully RS-232 compatible, but the 3.5mm serial port can only interoperate with some RS-232 compatible devices. It can receive from any RS-232 device, but transmission may not work depending on the electrical characteristics of the devices.
After the connection between devices is established, commands can be sent from the player to the TV. Commands can typically be found in the TV manufacturer documentation. BrightAuthor can only send decimal or ASCII values; however, many TVs operate in other numeric systems like hexadecimal. Be sure to properly convert the command value to decimal or ASCII before entering the serial bytes. BrightSign players can support sending commands in hexadecimal and binary through the use of third party scripts and plugins. For more information on how to do this, contact our support.
The following is an example of how to send a command in decimal:
Create an Interactive presentation in BrightAuthor.
Open the media state or event where you want to send the command.
Click the Advanced tab.
Click Add Command and set the command to Send – Serial Bytes.
Set the Port to 0 (standard case for most serial devices).
Enter the command in the Bytes field. Use a comma to separate each byte.
The following is an example of how to send a command in ASCII:
Create an Interactive presentation in BrightAuthor.
Open the media state or event where you want to send the command.
Click on the Advanced tab.
Click Add Command and set the command to Send – Serial String (EOL).
Set the Port to 0 (standard case for most serial devices).
Enter the command in the String field.