[comp.sys.mac.hardware] Mac Serial Port Pinout

scott@blueeyes.kines.uiuc.edu (scott) (09/27/90)

Hello. Pardon the basicness of this request, but I don't own a Mac nor do I
have access to any Mac reference books (otherwise I would most certainly
RTFM ;-)

I need the pinouts for the 8-pin Mini-DIN connector (at least, I *think*
the Mac II uses an 8-pin mini-DIN connector for its serial port - I'm
certain I'll be quickly corrected if I am mistaken). I've seen cables which
connect the Mac II serial port to a standard DB25 (for use with a Hayes modem).
How are these wired? 

(Warning, Will Robinson - Crude ASCII graphics to follow!)

I picture the connector this way:




    __________
   /          \
 /  6   7   8   \
|                |
| 3   4   X   5  |
 \              /
  \   1   2   /
    ---------

Note: The real connector has a round shell, not the abomination I have drawn
here. Also, the 'X' indicates the absence of a pin).

Given the above pin numbering system, how does a standard Mac II to DB25
cable connect, pin for pin?


Many thanks in advance for all assistance you can give. Please email me unless
the response would be of general interest.


-- 
---
Scott Coleman                                     scott@blueeyes.kines.uiuc.edu
University of Illinois at Urbana-Champaign

Wanted: Specs on the control protocol for the Panasonic AG-1960 VCR. If you 
know them or know where I may find them, PLEASE email me! Thanks!!
                                                                            ---

amadeus@pnet51.orb.mn.org (Christoper Helget) (10/01/90)

The pin #'s for the 8 pin mini-din are correct except that you give the pin
#'s for the cable, the actual ports are just the opposite.  The pinouts are
now graciously given by Apple in the latest Owners Guides as follows:
 
Pin     Signal  Description
1       HSKo            Handshake out
2       HSKi            Handshake in/external clock
3       TXD-            Transmit data -
4       GND             Signal Ground
5       RXD-            Receive data -
6       TXD+            Transmit data +
7       GPi             General Purpose input (for hardware handshaking w/
modems)
8       RXD+            Receive data +
 
The Mac serial port uses the RS-422 format (because it is good for long
distances) so what you want to do for normal RS-232 is to ground the "+" lines
and use the "-" lines as your transmit and receive.  
 
DB-25                           Mini-din 8
Shield --------------------  Shield
2  ------------------------  3
3  ------------------------  5
6  ------------------------  2
8  ------------------------  2
7  ------------------------  4 & 8
20  -----------------------  1
 
This is exactly how the Mac to serial printer cable is wired & I've been using
it with my modem.

(I tried E-mailing you but it was returned undelivered...)

UUCP: {amdahl!bungia, uunet!rosevax, crash}!orbit!pnet51!amadeus
ARPA: crash!orbit!pnet51!amadeus@nosc.mil
INET: amadeus@pnet51.orb.mn.org