thermometer and humidity sms


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    23


    Did you find this post helpful? Yes | No

    Default sms

    How can I unite this sample software
    Code:
    http://dosyayukle.info/index.php?p=download&hash=rzskbVI8qQey
    with my software.Thank you.

    '**************** SMS SEND SAMPLE ********************
    '************************************************* *******************
    SmsMesajTx : SerOut2 modem_tx,modem_baud,["AT+CMGF=1",13] ' Mesaj Formatı TXT için
    Pause Bek100

    SerOut2 modem_tx,modem_baud,["AT+CMGS=",34,"90532XXXXXXX",34,",145",13]

    SerIn2 modem_rx,modem_baud,5000,msghata2,[wait(">")]


    Pause Bek500

    SmsData = "A" ' Gidecek Mesaj


    For addr= 0 TO 159
    SerOut2 modem_tx,modem_baud,[SmsData]
    Next addr

    Pause Bek500

    SerOut2 modem_tx,modem_baud,[26] ' CTRL+Z

    SerIn2 modem_rx,modem_baud,35000,msghata2,[wait("+CMGS")]

    msghata2: SerOut2 modem_tx,modem_baud,["ATH",13]
    Pause Bek500

    Return
    '************************************************* ***************
    Last edited by elektoro2009; - 13th April 2008 at 18:14.

  2. #2
    Join Date
    Apr 2008
    Posts
    23


    Did you find this post helpful? Yes | No

    Default unite

    How can I unite this sample software TERMONEMALRM-1.zip with my software.
    Thank you.Best regards.

    '**************** SMS SEND SAMPLE ********************
    SmsMesajTx : SerOut2 modem_tx,modem_baud,["AT+CMGF=1",13] ' Mesaj Formatı TXT için
    Pause Bek100

    SerOut2 modem_tx,modem_baud,["AT+CMGS=",34,"90532XXXXXXX",34,",145",13]

    SerIn2 modem_rx,modem_baud,5000,msghata2,[wait(">")]


    Pause Bek500

    SmsData = "A" ' Gidecek Mesaj


    For addr= 0 TO 159
    SerOut2 modem_tx,modem_baud,[SmsData]
    Next addr

    Pause Bek500

    SerOut2 modem_tx,modem_baud,[26] ' CTRL+Z

    SerIn2 modem_rx,modem_baud,35000,msghata2,[wait("+CMGS")]

    msghata2: SerOut2 modem_tx,modem_baud,["ATH",13]
    Pause Bek500

    Return
    '************************************************* ***************
    Last edited by elektoro2009; - 14th April 2008 at 23:43.

  3. #3
    Join Date
    Apr 2008
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    circuit is here.
    Attached Files Attached Files

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,144


    Did you find this post helpful? Yes | No

    Default

    Hi! I would suggest to select the Mobile terminal device of your choice first and study the specs and AT commands that accompany it. Most of the AT commands are common but each terminal might have its own special ones.

    Also I would strongly recommend to use the UART module of the PIC's and also use bidirectional communication to check that the device has replied with OK after succesful command.

    For example:

    send AT+cr+lf

    device replies OK+cr+lf

    After you establish a good command of the device you are going to use then trie to send SMS. It is a difficult task for the begginer.

    Ioannis

  5. #5
    Join Date
    Apr 2008
    Posts
    23


    Did you find this post helpful? Yes | No

    Default sms

    Do yuo know sample temparature and humidity sms send circuit.
    Could you write sample address.
    I know this address: http://www.wrankl.de/SMST4PIC/SMST4PIC.html
    I maked this circuit,but complate not run.Don't sms.
    Thank you.Regards.
    Last edited by elektoro2009; - 18th April 2008 at 00:48.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,144


    Did you find this post helpful? Yes | No

    Default

    Hi! Please read my post again. What you are trying to do is a complicated project. Not for the novice. If you insist on doing it, then do it with small steps, one task at a time.

    1. Select your mobile device. READ CAREFULLY the Data Sheet and get acquainted with it.

    2. Use only the USART of your PIC (you need of course level translation like a MAX232).

    3. Try to communicate with your mobile device with simple commands like AT and wait for the answer OK.

    4. Then try more complicated tasks like sending SMS.

    Also note that some commands like deleting SMS might take some time until they respond with OK. Not all commands execute immediatly!

    Ioannis

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    If you insist on doing it, then do it with small steps, one task at a time.
    I'm probably guessing here, but....

    Step 1.1 - Make blinky LED

Similar Threads

  1. sms send sht11 pic16f876 nokia 6210
    By elektoro2009 in forum GSM
    Replies: 11
    Last Post: - 9th June 2008, 08:57

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts