DIY R-Verter-Type RS-232 Interface
- Year
- 1995
- Type
- DIY project
- Category
- RS-232 serial interface
- Manufacturer
- Homebrew design by Kenneth L. Siders (comp.sys.atari.8bit, 1995)
Overview
Atari's official route to RS-232 was the 850 Interface Module. A cheaper approach makes the SIO port itself carry RS-232 data, driven by a software handler, as Atari's own SX212 modem does. Commercial adapters of this kind were sold as the R-Verter, and the matching handlers (R-Verter, "BobVerter") are available on their own and with terminal programs such as BobTerm. In January 1995 Kenneth L. Siders posted instructions to comp.sys.atari.8bit for building an R-Verter-compatible interface yourself. He had never seen a real one, so he worked out the pin usage by tracing the connections inside an Atari SX212 modem. The text was later circulated as ATSERIAL.TXT and recommended again on Usenet in 1998 to people asking how to connect a standard external modem to SIO.
What it does
- Gives an XL/XE an RS-232 port (DB-9 male, IBM-PC style) for a modem, a null-modem link to a PC, or other serial gear.
- Works with any R-Verter or BobVerter handler. It may also work with SX212 software, though not necessarily at every baud rate.
- Siders transferred files to an IBM PC over a null-modem cable at 19,200 baud without trouble. A patched handler at 38,400 baud gave too many errors.
Parts
| Ref | Part |
|---|---|
| IC1 | MAX232 / ICL232 RS-232 level converter (on-chip ±10 V generator) |
| IC2 | 74LS00 quad NAND, which gates the data lines off when DTR isn't asserted |
| R1 | 1 kΩ |
| R2 | 4 kΩ (3–7 kΩ OK) |
| C1, C2 | 4.7 µF; C3, C4, C5: 10 µF (he used 33 µF throughout without trouble). Use 12–16 V types for C3 and C4, and mind the polarity: C4's positive lead goes to ground |
| D1, D2, D3 | 1N4148 / 1N914 |
| ZD1 | 1N4733 (5.1 V) or 1N4734 (5.6 V) zener, only for the optional ring detect |
How it's wired
The SIO side uses Data In (3), Data Out (5), Proceed (9), Motor control (8), Interrupt (13, optional), +5 V (10) and ground (4). On the RS-232 side:
- TxD/RxD: SIO Data Out goes through the 74LS00 gating and IC1's T1 driver to DB-9 pin 3. DB-9 pin 2 comes back through R1 receiver and D2 to SIO Data In.
- DTR (pin 4) enables the NAND gating, so the interface only talks when the remote end is ready.
- Carrier Detect (pin 1) goes through receiver R2 and D1 onto the SIO Proceed line, where the handler can see it.
- SIO Motor Control drives transmitter T2 to produce RTS (pin 7).
- CTS and DSR aren't used, so only XON/XOFF flow control is possible. File-transfer protocols cope fine.
- Optional ring detect: RI (pin 9) through R2, a zener clamp and D3 onto the SIO Interrupt line. This part is untested.
Building advice
Place the capacitors close to the MAX232. Siders squeezed both chips into a large DB-9 hood on the end of an SIO cable salvaged from a dead XM301 modem. He admits it worked, but says he would never try it again. Use a small board instead. A standard PC modem cable then plugs straight in, and a null-modem adapter and gender changer let you link to a PC.
Limitations
- Like other SIO-based serial adapters, it can't transfer while other SIO activity, such as disk I/O, is going on. Only interfaces on the XL/XE parallel bus avoid that.
- No hardware handshaking, so use XON/XOFF or a block protocol such as XMODEM.
- For simple file transfers to a PC, a USB SIO2PC cable is the easier modern route.
Credits
- Picture: The 13-pin SIO plug: the interface takes Data In/Out, Proceed, Motor and Interrupt from here. — Multicherry, Wikimedia Commons (CC BY-SA 4.0)
