Shop OBEX P1 Docs P2 Docs Learn Events
Interface to modem — Parallax Forums

Interface to modem

ErikErik Posts: 31
edited 2005-04-27 23:09 in BASIC Stamp
hello,

we are testing with a new modem,and in hyper teminal we give the command· "linkup s1" and then push enter.
now like we do that with a stamp and use the next line

serout 14,n9600,[noparse][[/noparse]" linkup",CR]

now we like to now is there a other instruction for the enter command.

greetings erik

Post Edited By Moderator (Chris Savage (Parallax)) : 4/27/2005 10:55:13 PM GMT

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-04-27 22:46
    erik,

    ·· You are already doing an enter in your SEROUT command with the ',CR' at the end.· If that's not working you can try adding a ',10' after:

    SEROUT 14,n9600,[noparse][[/noparse]" linkup",CR, 10]
    

    ·· Also, in your SEROUT command, you're not putting in the s1 that you were using in the command you sent from HyperTerminal.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com


    Post Edited (Chris Savage (Parallax)) : 4/27/2005 10:57:01 PM GMT
  • edited 2005-04-27 22:54
    Hello,
    ··········· You will want to find out if the modem needs a TTL(0 to 5vdc) signal or a true RS232 signal (~ +11 to ~ -11vdc). Next would be the baud rate number if you are using 8n1 at 9600. You can find you these in the stamp manual version 2.2 page 407 or also in the help file for the stamp editor in the Serout command.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    Stephen Swanson

    Technical Support
    Parallax, Inc.
    sswanson@parallax.com

  • ErikErik Posts: 31
    edited 2005-04-27 23:09
    hello chris i forget the s1 in my question.
    i go try the 10 after CR

    greetings erik
Sign In or Register to comment.