http://picbasic.co.uk/forum/showthread.php?t=10757 here you could find a fine example of sending and reciving sms via pic16F887