gsm modem and pic communication


Results 1 to 2 of 2

Threaded View

  1. #1
    shani_developer's Avatar
    shani_developer Guest

    Default gsm modem and pic communication

    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
    Attached Files Attached Files

Members who have read this thread : 1

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