Only simple materials and a little bit of skill are needed to build an RS232 switch. All that you need are two 9-way sub-D plugs with solder pins, a small piece of sheet aluminium, two sets of screw retainer posts, a 4-pole double-throw switch, a strain relief sleeve and a suitable plastic connector shell for a 25-way sub-D connector, with both in-line and right-angle cable entries (such as Conrad Electronics #711322). What is important is that the side cable entry together with its associated strain relief leaves enough room for the switch. If necessary, you may have to cut away a few square millimetres of the sidewall or a few ribs of the plastic shell.
Project image :
Mini RS232 Data Switch Image
The switch is operated via the in-line cable opening, as can be seen from the photo. A suitable switch with an overall length of 29 mm can be found in the Conrad catalogue under order number 708232. The only modification that must be made to the connector shell is to drill two holes for the retaining screws for the switch (M2.6 screws) at a spacing of 24 mm.
Circuit diagram :
Mini RS232 Data Switch Circuit Diagram
Connect the two sub-D connectors together using the piece of aluminium and the screw retainer posts. Then solder the cable to the connectors and the switch as indicated. The two connectors are wired somewhat differently. While the upper sub-D plug is connected 1:1 with the input cable (with the switch in the appropriate position), the DCD, DTR, DSR and RI pins of the lower connector are left open. This is because RTS and CTS are fully sufficient for handshaking, as long as DTR and DSR are connected to each other. The only leads that are switched are RXD, RTS, TSD and CTS. The ground potential is fed from the cable to both connectors. After everything has been properly soldered together, you can fit everything into the cable shell as shown.
0 comments:
Post a Comment