Shop OBEX P1 Docs P2 Docs Learn Events
Direct exe control of stamp>... — Parallax Forums

Direct exe control of stamp>...

ArchiverArchiver Posts: 46,084
edited 2000-09-09 05:32 in General Discussion
Since your PC running program can access the COM port where Stamp is
connected and send a control command that can be recognized by the
stamp, this is straightforward.

ACJacques


Patel wrote:
>
> HI There all of you..
>
> I Have a question can any one help me out??
> Can I make a Basic Stamp 1 get connected directly to the computer and
> when i run an exe file or a VB file it will swith on a relay in the
> stamp and another file will switch it off,
> for eg relay1on.exe ---- will switch on the relay on the basic
> stamp 1
> relay1off.exe ---- will swith off the relay on the basic
> stamp 1
>
> as I'm new here Hope someone will help me out in the program and
> design of a simple circuit like that ,
> any one has any idea of speech control and the Basic Stamp???
> G.I.Patel

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-09-08 13:52
    Yes ... this technique works very well ... I'm currently using this
    technique with an SX-28 to control 8 relays. I wrote a client program which
    runs on my PC that will send a single byte via the specified COM port. The
    SX receives the byte and outputs it to RB which is ultimately connected to 8
    relays. Each relay corresponds to a single bit in the byte sent. Using the
    Windows scheduler, I scheduled several executions of this program at key
    times and that now makes up my lawn sprinkler timer! <g>

    If anyone is interested, email me off list, and I'll send you the program.

    -- Mitch

    Original Message
    From: "A.C.Jacques" <acjacques@i...>
    To: <basicstamps@egroups.com>
    Sent: Thursday, September 07, 2000 11:55 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Direct exe control of stamp>...


    > Since your PC running program can access the COM port where Stamp is
    > connected and send a control command that can be recognized by the
    > stamp, this is straightforward.
    >
    > ACJacques
    >
    >
    > Patel wrote:
    > >
    > > HI There all of you..
    > >
    > > I Have a question can any one help me out??
    > > Can I make a Basic Stamp 1 get connected directly to the computer and
    > > when i run an exe file or a VB file it will swith on a relay in the
    > > stamp and another file will switch it off,
    > > for eg relay1on.exe ---- will switch on the relay on the basic
    > > stamp 1
    > > relay1off.exe ---- will swith off the relay on the basic
    > > stamp 1
    > >
    > > as I'm new here Hope someone will help me out in the program and
    > > design of a simple circuit like that ,
    > > any one has any idea of speech control and the Basic Stamp???
    > > G.I.Patel
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-09-09 05:32
    HI There all of you..

    I Have a question can any one help me out??
    Can I make a Basic Stamp 1 get connected directly to the computer and when i run an exe file or a VB file it will swith on a relay in the stamp and another file will switch it off,
    ··· for eg relay1on.exe ---- will switch on the relay on the basic stamp 1
    ·············relay1off.exe ---- will swith off the relay on the basic stamp 1··

    as I'm new here·Hope someone will help me out in the program and design of a simple·circuit like that·,
    any one·has any idea of speech control and the Basic Stamp???
    G.I.Patel
Sign In or Register to comment.