Can you please inform me one more thing, When any new sms arrived, the GSM modem send a notification " +CMTI: "SM",5 " .
How i can use this notification to interrupt in my program.
The best way is the one that Ioannis suggested you in post #9.
For "HSERIN" instruction you have to use specific pins of your pic micro (you didn't say the type), which are the USART module, plus the DT interrupt routine.
Serch the forum for DT interrupt to learn more or go to this link: http://www.picbasic.co.uk/forum/showthread.php?t=3251
XXXXX you can download the project for sms controller at this link:http://techni.caliti.es/blog/2008/12...ontroller.html
since the project is well documented, you could see the technique used to activate 8 relays or read the status of 8 inputs all via sms command.
Al.
Last edited by aratti; - 2nd April 2009 at 23:21.
All progress began with an idea
Bookmarks