Advanced Features
Serial Port Configuration
9min
all brightsign players offer serial i/o for diagnostic and interactive capabilities many models have a dedicated serial port (either db9 or 3 5mm) to enable serial communication this page outlines how to configure the player and host device for serial communication you can also view log output over the diagnostic web server (dws) docid\ qxt4yhey7iej m9dh73wm or telnet & ssh docid\ l0l gyihavtdbci9ffcqh , or enable the brightsign shell docid\ fxxyu9jmocutc6xe2p7l2 to debug brightscript applications while the usb port can be used to send serial commands (for example, to control certain monitors), console functionality is only available through the db9 or 3 5mm jack signal settings the following are the default serial settings for a brightsign player they can be changed in the interactive docid\ dkusdivrxpuaiuovm2ehl screen of {{brightauthor classic}} or using roserialport docid 25ega25abzftxgitvvmms with brightscript baud rate 115200 data 8 bit parity none stop 1 bit flow control hardware flow control is available on the 4kx42, xdx32, and hdx22 (software flow control is not supported on any model) determine dte/dce brightsign players come in a variety of hardware configurations, including both data terminal equipment (dte) and data circuit terminating equipment (dce) typically, brightsign players are dce devices; however, the following are dte devices 4kx42 xdx32 hdx20 hdx22 by default, dte and dce devices can only speak to their opposite if the brightsign player and the intended interface device are of the same type (both dte or both dce), a null modem cable or converter can be used to transpose tx/rx signals to allow communication 3 5mm serial the catalog of brightsign players is diverse while this information holds true for the majority of 3 5mm enabled devices, the following are exceptions hdx23 hardware interfaces docid\ oljztv6yg9wl f9gj1mft and ho523 hardware interfaces docid\ uwt76lak9uq3lgd6ifcij the uart (asynchronous serial) interface is a 3 5mm (1/8") jack that uses rs 232 levels for communication the receiver will tolerate input voltages between 30v and +30v, with anything below 3v interpreted as logical 1 the output signalling voltage output is +15v or 15v the serial interface supports tx, rx, and ground only – rts/cts hardware flow control is not supported the following diagram illustrates the behavior of the tx and rx signal the 3 5mm serial port has the following configuration (from the perspective of the player) tip receive ring transmit sleeve ground brightsign players are dce devices, so communication with another dce device that uses a 3 5mm port would require a null modem cable or converter that transposes the tx/rx signals if the device communicating with the player is a dte device with a db9 serial port (performing asynchronous transmission), the serial cable should be wired as shown in the following diagram colorblind png db9 rs 232 serial the catalog of brightsign players is diverse while this information holds true for the majority of db9 enabled devices, the following are exceptions hdx20 hardware interfaces docid\ glhxwsfayoyttjql4tx1a the rs 232 interface is a male de 9 (more commonly referred to as db 9) connector the input to the chip accepts a range between +25v and 25v, so it is compatible with +12v/ 12v signaling the rs 232 interface supports rts/cts hardware flow control, but no software flow control the maximum cable length is 50 meters, and the total cable capacitance is 2500pf a lower capacitance cable allows you to use cable lengths beyond 50 meters the following diagram illustrates the behavior of the tx and rx signal for details on pinouts, check the individual hardware pages 4kx42 hardware interfaces docid\ kios5sm3oto7pjsboruoc , xdx32 hardware interfaces docid\ rrr0sgdkaxlsqvbjo ndi , xdx30 hardware interfaces docid\ b8zke4enw9rbvcoenpwzg , hdx20 hardware interfaces docid\ glhxwsfayoyttjql4tx1a , hdx22 hardware interfaces docid\ mzj9errqq0 cz vhqdbvi port enumeration most standard serial devices connected to the db9 or 3 5mm port will enumerate on port 0 of the player (on the ho523 player, they will enumerate on port 1) serial devices connected to a usb port will enumerate on port 2 of the player (on the ls424 player, they will enumerate on port 0) additional usb serial devices will enumerate on ports 3, 4, 5, etc the enumeration order will remain consistent between reboots as long as the usb serial devices are connected to the same player/hub ports the enumeration order can be retrieved using the "usblist" command at the brightsign> brightsign shell docid\ fxxyu9jmocutc6xe2p7l2 prompt; otherwise, it will need to be determined by testing the setup the 3 5mm serial ports on some older player models do not fully meet the tia/eia 232 f transmitter requirements these units will interoperate with most, but not all, conformant eia 232 receivers consult the hardware docid\ uyyjyej6qojy1hksbrlpu docs for your player for full details