Shop OBEX P1 Docs P2 Docs Learn Events
PC to Stamp Communications — Parallax Forums

PC to Stamp Communications

ArchiverArchiver Posts: 46,084
edited 2001-03-22 13:58 in General Discussion
Sid-

In addition to Jon's suggestion, and unless you have another reason
for wanting your keyboard inputs to come from your PC, another option
is to hook up a (PS/2) keyboard to your Stamp. And it's a whole lot
easier to move a keyboard without a PC dangling off the end of its
cable.

If memory serves, Al Williams offers a PIC microprocessor that'll do
this. A Scenix microprocessor solution is also described in detail
in a March 2000 Nuts and Volts article of mine.


Regards,

Steve

On 21 Mar 01 at 16:11, Newzed@a... wrote:

> I would like to know how I can communicate directly from my computer
> to the BS2 that controls my model train.
>
> For example, if I enter "T1" on my keyboard, I want this to go
> directly to a specific pin, say pin 5 on the BS2 which would receive
> it as a serin command.
> The BS2 would interpret the "T1" as a command to turn on power to
> Track 1.
> And so on. I can accomplish this with another Stamp and my TWS/RWS
> boards but I would rather not have to buy another stamp and build
> another transmitter module like the one I use for my Boebot.
>
> I do not have a terminal program.
>
> Sid Weaver
> Newzed@a...
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 21:11
    I would like to know how I can communicate directly from my computer to the
    BS2 that controls my model train.

    For example, if I enter "T1" on my keyboard, I want this to go directly to a
    specific pin, say pin 5 on the BS2 which would receive it as a serin command.
    The BS2 would interpret the "T1" as a command to turn on power to Track 1.
    And so on. I can accomplish this with another Stamp and my TWS/RWS boards
    but I would rather not have to buy another stamp and build another
    transmitter module like the one I use for my Boebot.

    I do not have a terminal program.

    Sid Weaver
    Newzed@a...
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 21:23
    Sid,
    You can use a spare com port on your PC to communicate serially with
    any input pin of the BS2, you must use 22K ohm resistors in series with
    this input, and get the baud rates to match. Then you can use the serin
    command and decode it to cause whatever you like as a function.



    Russ Bassani



    Original Message
    From: <Newzed@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, March 21, 2001 4:11 PM
    Subject: [noparse][[/noparse]basicstamps] PC to Stamp Communications


    | I would like to know how I can communicate directly from my computer to the
    | BS2 that controls my model train.
    |
    | For example, if I enter "T1" on my keyboard, I want this to go directly to a
    | specific pin, say pin 5 on the BS2 which would receive it as a serin command.
    | The BS2 would interpret the "T1" as a command to turn on power to Track 1.
    | And so on. I can accomplish this with another Stamp and my TWS/RWS boards
    | but I would rather not have to buy another stamp and build another
    | transmitter module like the one I use for my Boebot.
    |
    | I do not have a terminal program.
    |
    | Sid Weaver
    | Newzed@a...
    |
    |
    |
    | Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    |
    |
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 21:28
    Newzed@a... wrote:
    > And so on. I can accomplish this with another Stamp and my TWS/RWS boards
    > but I would rather not have to buy another stamp and build another
    > transmitter module like the one I use for my Boebot.

    You can control the TWS/RWS modules directly from the parallel port, no
    stamp needed.

    > I do not have a terminal program.

    If you mean you don't have a terminal emulator, yes you do.


    Kevin
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 21:38
    Win95 has Hyperterminal, you may have to install it from your win95 Cdrom.

    At 04:28 PM 3/21/2001 -0500, you wrote:
    >Newzed@a... wrote:
    >> And so on. I can accomplish this with another Stamp and my TWS/RWS boards
    >> but I would rather not have to buy another stamp and build another
    >> transmitter module like the one I use for my Boebot.
    >
    >You can control the TWS/RWS modules directly from the parallel port, no
    >stamp needed.
    >
    >> I do not have a terminal program.
    >
    >If you mean you don't have a terminal emulator, yes you do.
    >
    >
    >Kevin
    >
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    Sincerely
    Kerry
    Admin@M...
    WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    Kerry Barlow
    p.o. box 21
    kirkwood ny
    13795
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 22:17
    Unless someone forgot to install HyperTerminal when they loaded Winders.

    Original Message


    > > I do not have a terminal program.
    >
    > If you mean you don't have a terminal emulator, yes you do.
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-22 02:11
    [font=arial,helvetica]In a message dated 3/21/01 3:17:08 PM Central Standard Time, Newzed@aol.com
    writes:


    I would like to know how I can communicate directly from my computer to the
    BS2 that controls my model train.

    For example, if I enter "T1" on my keyboard, I want this to go directly to
    a
    specific pin, say pin 5 on the BS2 which would receive it as a serin
    command.
    The BS2 would interpret the "T1" ·as a command to turn on power to Track 1.

    And so on. ·I can accomplish this with another Stamp and my TWS/RWS boards
    but I would ·rather not have to buy another stamp ·and build another
    transmitter module like the one I use for my Boebot.

    I do not have a terminal program.



    If you're using the Windows compiler, you can use the DEBUG window as a
    simple terminal.

    -- Jon Williams
    -- Dallas, TX[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-22 13:58
    I got one when Parallax had them on sale. Don't think it is a PIC since it
    uses a 50MHz resonator.
    >
    > If memory serves, Al Williams offers a PIC microprocessor that'll do
    > this. A Scenix microprocessor solution is also described in detail
    > in a March 2000 Nuts and Volts article of mine.
    >
    >
    > Regards,
    >
    > Steve
Sign In or Register to comment.