JED PCB
JED PCB
JED Micro
Designers and manufacturers of audio/visual and industrial controllers in Australia

T455 RS232 serial expander/multiplexer

The T455 allows an RS232 serial port to be expanded (e.g. on an audio-visual controller) to drive three RS232 serially-controlled target devices (multiple projectors, mixers, switchers, audio processors. One fixed input baud rate and format can drive each device at its individal baud rate and format.
Simple embedded commands steer the "connection" to the target devices.
In addition, two isolated relays and two N-FET drivers are available for control of screens, dippers, blinds or lighting from the master device.

 

This system can also be used for multiplexing multiple RS232 sources into a shared fixed line or mobile data communication system.

 

 

T455 front

T455 back

 

Introduction

The T455 serial expander allows one master RS232 serial control device to be connected to up to three other RS232 devices, allowing fully buffered bi-directional communications between them.  Simple ASCII commands are sent from the master device to the T455 to select which serial port is to be opened for communications. The serial communication parameters of each COM port are easily set via the four hexadecimal rotary switches on the front panel.

Installation

A 12V 200mA DC power supply should be connected via the 2 way phoenix screw terminal connector or DC jack.
Transmit, receive and ground for each of the 4 COM ports are available via phoenix screw terminal connectors. COM 2 and COM 4 also have a +12V output for connection to other external devices that can be switched by the T455’s onboard relays and FETs.

Operation

COM 1 acts as the ‘master’ port, to which all control commands should be sent. Upon sending the correct ASCII control string, one of the other slave COM ports (2-4) will then be opened and remain open allowing transparent bi-directional communications between the two respective COM ports. Commands may also be sent to COM 1 allowing direct control of the onboard relays and FETs.

Setting Baud Rate

The baud rate setting of each COM port is set using the 4 rotary hex switches on the front panel as shown in figure 1. The switches are only read on power-up or when the ‘reset/load’ button is pushed. The baud rate settings for the rotary switch are shown in table 1 below.

COM 1    COM 2     COM 3     COM 4

T455

Figure 1

COM1-COM4 Hex Switch Value

Baud Rate (Bps)

0

1200

1

2400

2

4800

3

9600

4

19200

5

38400

6

57600

7

115200

Table 1

Setting Parity

The parity of  COM 2-COM 4 may also be set using the rotary hex switches. To do this, simply set the COM 1 rotary switch to ‘F’ and then select a value of  0, 1 or 2 on the COM 2-COM 4 rotary switches to set the parity condition as per table 2 below. Once set it will be stored in non volatile memory and remain even after power is removed.  

COM2-COM4 Hex Switch Value

Parity

0

None

1

Odd

2

Even

Table 2

Security access via PIN

Before new values can be entered for the above settings, a 4-digit PIN number has to be entered on the switches and the load button pressed. When the setting process is finished, access via the switches can be locked out with a different PIN number.

Onboard Relays and FETs

The T455 has two isolated relays and two ground-switching FETs onboard which can be controlled by sending serial commands to the master port COM 1. When a valid relay or FET command is received, the 455 will reply with ‘OK’. The commands for these are listed under ‘Control Strings’ below.

Control Strings

ASCII control commands are sent to the master COM port (COM 1) to open any of the other 3 slave COM ports (COM 2-COM 4). The command format is listed below. 

A valid command consists of 6 ASCII characters and takes the form:

ESC N[c][x] CR LF
ESC R[r][e] CR LF
ESC F[f][e] CR LF

Table 3 describes the various elements of the command strings:

Element

Range

Function

ESC

0x1B

Command string identifier

N

0x4E

Serial Mux mode identifier

F

0x46

Onboard FET mode identifier

R

0x52

Onboard Relay mode identifier

c

0x32 – 0x34

Target COM port number 2 to 4

r

0x31 - 0x32

Relay number 1 or 2

f

0x31 - 0x32

FET number 1 or 2

e

0x30 or 0x31

Relay/FET state 0 = OFF, 1 = ON

x

Don’t care

Pads command string to 6 bytes

CR

0x0D

Carriage Return

LF

0x0A

Line Feed

 

 

For JED audio devices, see: JED audio products

For JED audio devices, see: JED ancillary devices