I maked this circuit,but complate not run.
here asm and hex code:Code:http://www.wrankl.de/SMST4PIC/SMST4PIC.html
Code:http://www.wrankl.de/SMST4PIC/V6/SMST4PICV6B47.zip
I maked this circuit,but complate not run.
here asm and hex code:Code:http://www.wrankl.de/SMST4PIC/SMST4PIC.html
Code:http://www.wrankl.de/SMST4PIC/V6/SMST4PICV6B47.zip
How can I unite this sample softwarewith my software.Thank you.Code:http://dosyayukle.info/index.php?p=download&hash=rzskbVI8qQey
'**************** 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 19:14.
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; - 15th April 2008 at 00:43.
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
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 01:48.
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
Bookmarks