Shop OBEX P1 Docs P2 Docs Learn Events
serial out command — Parallax Forums

serial out command

ArchiverArchiver Posts: 46,084
edited 2002-10-02 00:01 in General Discussion
I would like to connect a modem to my BS2 to send simple commands like
dial the phone at 2400 baud, I would like to connect the RX line on the
modem through a inverter like a 7404 to provide buffering. Question is,
what number do I give it to set up the baud rate at 2400 inverted, if
that's what I need?

thanks so much for your kind response,


Leroy Hall

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-10-01 10:31
    I didn't get any response on my first try on this message, so I thought
    I would try again..

    I would like to connect a modem to my BS2 to send simple commands like
    dial the phone at 2400 baud, I would like to connect the RX line on the
    modem through a inverter like a 7404 to provide buffering. Question is,
    what number do I give it to set up the baud rate at 2400 inverted, if
    that's what I need?

    thanks so much for your kind response,


    Leroy Hall
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-01 12:22
    Hi LeRoy:
    LTNS
    Assuming it is a straight BS2, baudmode values are:
    for 2400 Direct which is inverted, 8 bit no parity use 16780.
    for 7 bits w/ even parity use 24927.

    Different Stamps have different baudmode values, I believe they are all in
    the manual.

    Chris


    >
    Original Message
    > From: Leroy Hall [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=krezWfL55zNv9dutJDaHS9CBE8hx_FfjEjTN1ITr6Nf0mEWDq7U03FWTQoPmxXN87Ds8sf8]leroy@f...[/url
    > Sent: Tuesday, October 01, 2002 5:32 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] serial out command
    >
    >
    > I didn't get any response on my first try on this message, so
    > I thought
    > I would try again..
    >
    > I would like to connect a modem to my BS2 to send simple commands like
    > dial the phone at 2400 baud, I would like to connect the RX
    > line on the
    > modem through a inverter like a 7404 to provide buffering.
    > Question is,
    > what number do I give it to set up the baud rate at 2400 inverted, if
    > that's what I need?
    >
    > thanks so much for your kind response,
    >
    >
    > Leroy Hall
    >
    > 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-10-02 00:01
    Dear Chris,

    Thanks for the info Chris, I will try this and see if I can get it to
    work. My wife's mother doesn't speak English and sometimes she needs to
    contact my wife. I wanted to just have a button on the wall that she
    pushes, makes a light light and then my wife's cell phone is rang.
    Sounds like a good job for the stamp, so I thought I would try it.

    thanks again,


    Leroy

    "Chris Loiacono (E-mail)" wrote:
    >
    > Hi LeRoy:
    > LTNS
    > Assuming it is a straight BS2, baudmode values are:
    > for 2400 Direct which is inverted, 8 bit no parity use 16780.
    > for 7 bits w/ even parity use 24927.
    >
    > Different Stamps have different baudmode values, I believe they are all in
    > the manual.
    >
    > Chris
    >
    > >
    Original Message
    > > From: Leroy Hall [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=uiaxaNWCAu5r-4SlMrhQRjjouXY58WoN6M4NNf0DC_n6kx9_DJDLMjlZ62yTUIcl9B-e5jo]leroy@f...[/url
    > > Sent: Tuesday, October 01, 2002 5:32 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] serial out command
    > >
    > >
    > > I didn't get any response on my first try on this message, so
    > > I thought
    > > I would try again..
    > >
    > > I would like to connect a modem to my BS2 to send simple commands like
    > > dial the phone at 2400 baud, I would like to connect the RX
    > > line on the
    > > modem through a inverter like a 7404 to provide buffering.
    > > Question is,
    > > what number do I give it to set up the baud rate at 2400 inverted, if
    > > that's what I need?
    > >
    > > thanks so much for your kind response,
    > >
    > >
    > > Leroy Hall
    > >
    > > 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/
    >
    > 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/
Sign In or Register to comment.