Shop OBEX P1 Docs P2 Docs Learn Events
Cermetek CH1786 modem — Parallax Forums

Cermetek CH1786 modem

ArchiverArchiver Posts: 46,084
edited 2004-03-15 15:13 in General Discussion
Hi all,

Is there anybody can help me how to send “page” or to call from BS2sx
through a Cermetek CH1786 modem?

Thanks in advance.

Foz

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral.
http://special.msn.com/bcentral/loudclear.armx

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-12 19:16
    You can uses a modem to send standard numeric pages. What you have to
    do is keep the modem in command mode after you dial (append a ; to the
    number), wait the appropriate ammount of time to be ready for your DTMF
    data, then send the numbers. I built a four-channel alarm that would
    send coded messages to a user's pager. Since it's a commercial product
    (for a former employer) I can't divulge the full source, but here's code
    fragment that should help:

    SEROUT TX1, Baud, 50, [noparse][[/noparse]"ATDT5551212;", CR]
    PAUSE 2000
    SEROUT TX1, Baud, 50, [noparse][[/noparse]"1234567"]
    PAUSE 500
    SEROUT TX1, Baud, 1, [noparse][[/noparse]"ATH", CR]

    -- Jon Williams
    -- Parallax


    Original Message
    From: Fawzi Radwan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=YCT_n03bHPnEpLIYQ4AIdqFS0ly35aqyeOwopJNRLZtHplbdjM5D5a8JUckGjsQEsQZ4-u3WBccVLoKbGFQIzA]fradwan555@h...[/url
    Sent: Friday, March 12, 2004 8:46 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Cermetek CH1786 modem


    Hi all,

    Is there anybody can help me how to send "page" or to call from BS2sx
    through a Cermetek CH1786 modem?

    Thanks in advance.

    Foz
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-13 16:56
    Hi Jon Williams,

    Do I have to initialize the mode before dialing the number or what?
    In fact, I wrote a code but I couldn’t get the work done “see the code”

    '{$STAMP BS2sx}
    txdpin CON 13
    dcdpin CON 07
    sirenpin CON 15
    alarm CON 4611
    bdmd CON 84+$4000
    delay CON 1000
    '
    contact VAR IN14
    '
    DIRS = $8000
    LOW sirenpin
    '
    SEROUT txdpin,bdmd, [noparse][[/noparse]"ATDT 1234567" ,10,13]
    PAUSE 2000
    SEROUT txdpin,bdmd,10,[noparse][[/noparse]"+++"]
    PAUSE 3000
    SEROUT txdpin,bdmd,10,[noparse][[/noparse]"ATH",10,13]
    END

    Please help me how to get that work done...

    Thank you so much for the help.

    Foz


    >From: "Jon Williams" <jwilliams@p...>
    >Reply-To: basicstamps@yahoogroups.com
    >To: <basicstamps@yahoogroups.com>
    >Subject: RE: [noparse][[/noparse]basicstamps] Cermetek CH1786 modem
    >Date: Fri, 12 Mar 2004 11:16:32 -0800
    >
    >You can uses a modem to send standard numeric pages. What you have to
    >do is keep the modem in command mode after you dial (append a ; to the
    >number), wait the appropriate ammount of time to be ready for your DTMF
    >data, then send the numbers. I built a four-channel alarm that would
    >send coded messages to a user's pager. Since it's a commercial product
    >(for a former employer) I can't divulge the full source, but here's code
    >fragment that should help:
    >
    > SEROUT TX1, Baud, 50, [noparse][[/noparse]"ATDT5551212;", CR]
    > PAUSE 2000
    > SEROUT TX1, Baud, 50, [noparse][[/noparse]"1234567"]
    > PAUSE 500
    > SEROUT TX1, Baud, 1, [noparse][[/noparse]"ATH", CR]
    >
    >-- Jon Williams
    >-- Parallax
    >
    >
    >
    Original Message
    >From: Fawzi Radwan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=fTh7RL9r0No3NoK__y1yDRrTWnz1_w8Ys6ax6cWUbdB4LgiJlkKl1es8vpK50QpKqXOhRdO-4ZXe5M3tJg]fradwan555@h...[/url
    >Sent: Friday, March 12, 2004 8:46 AM
    >To: basicstamps@yahoogroups.com
    >Subject: [noparse][[/noparse]basicstamps] Cermetek CH1786 modem
    >
    >
    >Hi all,
    >
    >Is there anybody can help me how to send "page" or to call from BS2sx
    >through a Cermetek CH1786 modem?
    >
    >Thanks in advance.
    >
    >Foz
    >
    >
    >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.
    >
    >Yahoo! Groups Links
    >
    >
    >
    >
    >

    _________________________________________________________________
    Get business advice and resources to improve your work life, from bCentral.
    http://special.msn.com/bcentral/loudclear.armx
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-15 15:13
    You left out the trailing semi-colon on
    the number dialed, which would have left
    you in command mode.
    "ATDT 1234567;" ,10,13]
    See the semi-colon after the 7?


    --- In basicstamps@yahoogroups.com, "Fawzi Radwan" <fradwan555@h...>
    wrote:
    > Hi Jon Williams,
    >
    > Do I have to initialize the mode before dialing the number or what?
    > In fact, I wrote a code but I couldn't get the work done "see the
    code"
    >
    > '{$STAMP BS2sx}
    > txdpin CON 13
    > dcdpin CON 07
    > sirenpin CON 15
    > alarm CON 4611
    > bdmd CON 84+$4000
    > delay CON 1000
    > '
    > contact VAR IN14
    > '
    > DIRS = $8000
    > LOW sirenpin
    > '
    > SEROUT txdpin,bdmd, [noparse][[/noparse]"ATDT 1234567" ,10,13]
    > PAUSE 2000
    > SEROUT txdpin,bdmd,10,[noparse][[/noparse]"+++"]
    > PAUSE 3000
    > SEROUT txdpin,bdmd,10,[noparse][[/noparse]"ATH",10,13]
    > END
    >
    > Please help me how to get that work done...
    >
    > Thank you so much for the help.
    >
    > Foz
    >
    >
    > >From: "Jon Williams" <jwilliams@p...>
    > >Reply-To: basicstamps@yahoogroups.com
    > >To: <basicstamps@yahoogroups.com>
    > >Subject: RE: [noparse][[/noparse]basicstamps] Cermetek CH1786 modem
    > >Date: Fri, 12 Mar 2004 11:16:32 -0800
    > >
    > >You can uses a modem to send standard numeric pages. What you
    have to
    > >do is keep the modem in command mode after you dial (append a ; to
    the
    > >number), wait the appropriate ammount of time to be ready for your
    DTMF
    > >data, then send the numbers. I built a four-channel alarm that
    would
    > >send coded messages to a user's pager. Since it's a commercial
    product
    > >(for a former employer) I can't divulge the full source, but
    here's code
    > >fragment that should help:
    > >
    > > SEROUT TX1, Baud, 50, [noparse][[/noparse]"ATDT5551212;", CR]
    > > PAUSE 2000
    > > SEROUT TX1, Baud, 50, [noparse][[/noparse]"1234567"]
    > > PAUSE 500
    > > SEROUT TX1, Baud, 1, [noparse][[/noparse]"ATH", CR]
    > >
    > >-- Jon Williams
    > >-- Parallax
    > >
    > >
    > >
    Original Message
    > >From: Fawzi Radwan [noparse][[/noparse]mailto:fradwan555@h...]
    > >Sent: Friday, March 12, 2004 8:46 AM
    > >To: basicstamps@yahoogroups.com
    > >Subject: [noparse][[/noparse]basicstamps] Cermetek CH1786 modem
    > >
    > >
    > >Hi all,
    > >
    > >Is there anybody can help me how to send "page" or to call from
    BS2sx
    > >through a Cermetek CH1786 modem?
    > >
    > >Thanks in advance.
    > >
    > >Foz
    > >
    > >
    > >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.
    > >
    > >Yahoo! Groups Links
    > >
    > >
    > >
    > >
    > >
    >
    > _________________________________________________________________
    > Get business advice and resources to improve your work life, from
    bCentral.
    > http://special.msn.com/bcentral/loudclear.armx
Sign In or Register to comment.