Shop OBEX P1 Docs P2 Docs Learn Events
Mac + Keyspan 28X Anyone got it to work? — Parallax Forums

Mac + Keyspan 28X Anyone got it to work?

ArchiverArchiver Posts: 46,084
edited 2002-07-24 10:24 in General Discussion
Hi,

I know this has been covered before, and I think I've read almost
every bit of info on the web and at Parallax about getting this to
work but I'm still stuck.

I've got a PowerBook G4 running 9.2 and VirtualPC 5 + Windows 98.
I'm connecting to the OEM Stamp 2 boards DB-9 through a Keyspan 28X
(the dual port USB to Mac serial unit).

I have verified that the board works by hooking it up to a WinBook
(its my server, so, no I can't use it permanently).

I've tried two or three premade DB-9 to Din 8 cable adapters to no
avail. I've made up my own cables.

When I run the Stamp application in Windows and I try to identify the
stamp I get NO on Echo and NO on Loopback for both COM1 and COM2.

I've verified the Keyspan Adapters works through VirtualPC + Win98 by
hooking up a modem and Rx/Tx'ing commands.

In short, everything works on the Stamp end everything works on the
Mac end but the two devices just are not talking to one another.

Anyone have any ideas?
--


INFOequipt,Inc.
dougc@i...
www.infoequipt.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-07-24 01:15
    In a message dated 7/23/02 20:13:50 Eastern Daylight Time,
    dougc@I... writes:


    > In short, everything works on the Stamp end everything works on the
    > Mac end but the two devices just are not talking to one another.
    >
    > Anyone have any ideas?
    > --
    >

    Do you have pins 6 and 7 on the DB9 shorted ?

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-07-24 07:20
    The basic problem is due to the signaling of RS422 (which is what the Mac
    serial ports are).

    It is easy to make an RS422 to RS232 cable, but the issue is with the pulses
    created by the RS422 port - they are too short or something like that.

    However, this solution does work:

    Use a Keyspan USB to PDA adapter. That is USB to RS232.

    Don't use a Belkin or any other brand, the Keyspan has been tried and tested
    to work.

    Below is Tracy's response to an earlier post on this subject:

    Hi Ben,

    There are multiple sufficient causes. I don't think the older
    Mac/VPC/RS422 port will work with the Stamp IDE software. I looked
    into this intensively a couple of years ago, before Apple switched
    completely away from RS422 support to USB only. (Note that the USB
    solution, amazingly, does work quite well, at least using the keyspan
    PDA adapter.)

    cause 1) The stamp requires a reset pulse to come out from the PC on
    the DTR line.
    -- this pulse is not generated correctly on the Mac/VPC
    cause 2) At the same time a long Break signal has to appear on TX- to
    put the Stamp into programming mode
    -- the Mac/VPC only generates a short runt pulse

    At the time, I made a circuit that would take the runt pulse and
    externally generate the reset and the break signals. But it still
    didn't work..

    cause 3) After the stamp is in programming mode, the stamp IDE
    software sends out interrogation bytes and it expects responses to
    come back from the stamp within a tight time frame, amounting to less
    than 30 milliseconds. However, VPC operated the serial port on some
    kind of queuing buffer that was serviced at something like 50
    millisecond intervals. So the response from the Stamp rarely came
    back on time and the IDE would time out with the dreaded "Stamp not
    found.." error. I asked Jeff at Parallax if he could make a
    version of the IDE with relaxed timing, but he is a very busy guy,
    and with the new IDE it has a lot more checking to do now to test for
    all the different kinds of stamps.

    I have not checked on it for a couple of years, so I would be happy
    to find that you can get it to work. But I am not too encouraging
    about it. You may have to spring for the USB adapter, or even for
    an old used PC!

    BTW, when wiring the Mac RS422 cable, HSKin as an input would be more
    like DSR or CTS. Also, be sure to connect RX+ to GND so that the
    RS422 will have a reference for the input level.

    -- regards,
    Tracy Allen
    electronically monitored ecosystems
    mailto:tracy@e...
    http://www.emesystems.com

    --
    http://www.lennard.net.nz/
    Ben Lennard, NCEE, Dip EE

    Web Hosting and Electronics R&D

    Hm: +64 4 972 7567
    Mb: +64 21 536 627
    87 Spencer Street
    Crofton Downs
    Wellington
    New Zealand

    "To the optimist, the glass is half full. To the pessimist, the glass is
    half empty. To the engineer, the glass is twice as big as it needs to be."

    No animals were harmed in the transmission of this email, although the
    Dog next door is living on borrowed time, let me tell you! Those of you
    with an overwhelming fear of the unknown will be gratified to learn that
    there is no hidden message revealed by reading this warning backwards.




    > From: Douglas Corarito <dougc@I...>
    > Reply-To: basicstamps@yahoogroups.com
    > Date: Tue, 23 Jul 2002 20:11:29 -0400
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Mac + Keyspan 28X Anyone got it to work?
    >
    > Hi,
    >
    > I know this has been covered before, and I think I've read almost
    > every bit of info on the web and at Parallax about getting this to
    > work but I'm still stuck.
    >
    > I've got a PowerBook G4 running 9.2 and VirtualPC 5 + Windows 98.
    > I'm connecting to the OEM Stamp 2 boards DB-9 through a Keyspan 28X
    > (the dual port USB to Mac serial unit).
    >
    > I have verified that the board works by hooking it up to a WinBook
    > (its my server, so, no I can't use it permanently).
    >
    > I've tried two or three premade DB-9 to Din 8 cable adapters to no
    > avail. I've made up my own cables.
    >
    > When I run the Stamp application in Windows and I try to identify the
    > stamp I get NO on Echo and NO on Loopback for both COM1 and COM2.
    >
    > I've verified the Keyspan Adapters works through VirtualPC + Win98 by
    > hooking up a modem and Rx/Tx'ing commands.
    >
    > In short, everything works on the Stamp end everything works on the
    > Mac end but the two devices just are not talking to one another.
    >
    > Anyone have any ideas?
    > --
    >
    >
    >
    > INFOequipt,Inc.
    > dougc@i...
    > www.infoequipt.com
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    > of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-07-24 10:24
    I have a similar system running just fine.
    The correct Keyspan adapter is P/N: USA-19Qi.
    It was designed as a way to connect a PDA to
    the USB port on a Macintosh or Windows computer.
    The Keyspan USB PDA Adapter comes with a
    software driver which is installed as a Control Panel.
    Configure the Keyspan USB 19 Serial Assistant and
    Virtual PC to operate through the virtual COM port. Have
    the "Basic Stamp 2 - to Keyspan" connected to the correct
    USB port. You'll know when it connects by running
    the Editor. Keep the stamp powered up and connected
    when running the configuration. Also, my keyspan USB to
    serial adapter is plugged directly into the BS2. I use
    a Parallax Board of Education and removed the DBM
    screws so the Keyspan can fit. For more information
    please visit these sites:

    http://www.keyspan.com/support/macosx/usa/
    http://www.keyspan.com/products/usb/pdaadapter/
    http://www.robotstore.com/download/Stamps_on_iMac_2.13.pdf
    http://www.parallaxinc.com/downloads/Documentation/stamp_o
    n_mac/

    -Mike


    --- In basicstamps@y..., Douglas Corarito <dougc@I...> wrote:
    > Hi,
    >
    > I know this has been covered before, and I think I've read
    almost
    > every bit of info on the web and at Parallax about getting this to
    > work but I'm still stuck.
    >
    > I've got a PowerBook G4 running 9.2 and VirtualPC 5 +
    Windows 98.
    > I'm connecting to the OEM Stamp 2 boards DB-9 through a
    Keyspan 28X
    > (the dual port USB to Mac serial unit).
    >
    > I have verified that the board works by hooking it up to a
    WinBook
    > (its my server, so, no I can't use it permanently).
    >
    > I've tried two or three premade DB-9 to Din 8 cable adapters to
    no
    > avail. I've made up my own cables.
    >
    > When I run the Stamp application in Windows and I try to
    identify the
    > stamp I get NO on Echo and NO on Loopback for both COM1
    and COM2.
    >
    > I've verified the Keyspan Adapters works through VirtualPC +
    Win98 by
    > hooking up a modem and Rx/Tx'ing commands.
    >
    > In short, everything works on the Stamp end everything works
    on the
    > Mac end but the two devices just are not talking to one another.
    >
    > Anyone have any ideas?
    > --
    >
    >
    >
    > INFOequipt,Inc.
    > dougc@i...
    > www.infoequipt.com
Sign In or Register to comment.