Shop OBEX P1 Docs P2 Docs Learn Events
stamp — Parallax Forums

stamp

KARIM102KARIM102 Posts: 75
edited 2010-08-15 06:55 in Accessories
hi everyone,

could someone give me a coding to Receive a sms to my GE864 and make this sms as a output from my basic stamp using PBAISE lug plz

thx

Comments

  • KARIM102KARIM102 Posts: 75
    edited 2010-08-14 17:18
    hi everyone,
    I would like to know how make my GE864 read the SmS messge which i send it to him by other Gsm!!!! in stamp mircontroller!!!!!!!!!
  • FranklinFranklin Posts: 4,747
    edited 2010-08-14 21:53
    Posting the same (or similar) messages is not considered good form on these forums. If you don't get an answer it is usually because people here don't know the answer. Or the question is written in a way that leads us to believe you have not tried to find an answer before asking.
  • TumblerTumbler Posts: 323
    edited 2010-08-15 00:53
  • KARIM102KARIM102 Posts: 75
    edited 2010-08-15 01:40
    thanks a lot, how the messege will show up in the debug termail when you send it from your phone???? to THE GSM
  • TumblerTumbler Posts: 323
    edited 2010-08-15 02:22
    how the messege will show up in the debug termail when you send it from your phone
    Depends on the config, you can change them via AT commands.
    Take a look at the datasheet for the commands.
  • KARIM102KARIM102 Posts: 75
    edited 2010-08-15 06:55
    i try this coding!!! but it doesn't work
    ' {$STAMP BS2}
    ' {$PBASIC 2.5}


    '
    [ I/O Definitions ]

    GPRS_RX PIN 0
    GPRS_TX PIN 1
    Letter VAR Word
    Go VAR Word
    '
    [ Constants ]

    GPRS_Baud CON 84


    DO

    SEROUT GPRS_TX, GPRS_Baud, ["AT+CMGF=1", CR]
    SERIN GPRS_RX, GPRS_Baud, [WAIT("+CNMI:"), Letter]

    IF Letter = Go THEN
    HIGH 15
    ENDIF

    LOOP


    "i wanna send Go to make PIN 15 goes high"

    can you help me with this???

    best wishes
Sign In or Register to comment.