Shop OBEX P1 Docs P2 Docs Learn Events
can PBASIC language understand AT commands? — Parallax Forums

can PBASIC language understand AT commands?

go0gle itgo0gle it Posts: 2
edited 2007-11-20 20:20 in BASIC Stamp
is it even possible for PBASIC language to understand AT commands? or is there some type of translator out there? could they work together? if someone could pls give me an answer to this question, I'd surely appreciate it! Thank you.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-11-20 16:21
    AT commands are typically used by modems. While the BASIC Stamp is not a modem you could certainly program it to respond to similar commands. But what would it do? If you send ATA it cannot answer the phone. You could make ATDT generate the tones, but you would need additional circuitry to interface to the phone line. What is it you want to do? Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • go0gle itgo0gle it Posts: 2
    edited 2007-11-20 18:20
    Thanks a bunch Chris.... I have a little project i'm working on, and i needed to know a couple of things b-4 i could go on with it.... Greatly appreciated.... take care
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-11-20 20:20
    No problem, we’re glad to help. If you provided more information about what you wanted to do we may be able to point you to resources you could use. As a side-note, in Tech Support we’ve been faced before with questions regarding communication problems with various serial devices. For us, not having the device usually means we have no way to determine what may be happening. Myself, I have in the past programmed the BASIC Stamp to be an emulator of a device. For example, like a modem, if you program the BASIC Stamp to accept incoming serial data and parse data beginning with AT then you could easily make the BASIC Stamp ‘look’ like a modem to a remote device. Of course, it wouldn’t be able to dial out (directly) but you would be able to simulate the device responding to messages that it normally should. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.