hi everybody
i am my my project on gsm based controlling system
i have done simulation using proteus isis and it is working properly i have attached sony ericsson t290 ia can send and receive sms using simulation but when i made hardware it can only send but cant receive i use rsout and rsin commands for sending and receiving sms. but the problem is that the gsm phone not giviing any responce. i used 12mhz crystal and 9600 baud rate then i tested the hardware using hserin and hserout commands and test the circuit but still it is not giving any responce in hardware i used max 232 between pic and gsm modem.
Device 18F4520
DEFINE OSC 12
' Set transmit register to transmitter enabled
DEFINE HSER_TXSTA 24h
DEFINE HSER_RCSTA 90h
DEFINE HSER_SPBRG 77 '.16% error
DEFINE HSER_CLROERR 1
DEFINE HSER_BAUD 9600
SPBRG=77
TRISC=%10111111
BAUDCON.3=1
SMS: 'this is the SMS commands routine in order to send an SMS
HSerOut ["AT" ,13] 'set modem speed to 9600 baud
HSerIn 3000, SMS, [Wait("OK")]
Print At 1,1,"working" 'in order to test whther it is executing hserin command
but the phone still not responding
please solve this problem
Hi, we are pleased to see that you are using our forum.
We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!
Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.


Reply With Quote

Bookmarks