Please send me a SMS program


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Posts
    13

    Unhappy Please send me a SMS program

    Can anyone tell me how to send a SMS using GSM Module via PIC microcontroller (16F877A).

    I build up a circuit to get the weight of the animal in to microcontroller. But due to my poor knowledge on Microcontroller + GSM modem interfacing I unable to send message via GSM Modem. But I know how to send SMS via Computer. I have some knowledge on PIC Microcontroller and PicBasic language. Can you please send me a working routing to send a SMS using Microcontroller and a schematic. It will be more helpful if you could send it related to PICBasic.

    My SMS Code,

    Start:

    Pause 1000
    SerOut PORTB.3,T9600, ["AT+CMGS=",34,"MyNumber",34,13]
    Pause 1000
    SerOut PORTB.3,T9600, ["TEST",13]
    Pause 1000
    SerOut PORTB.3,T9600, [26]

    Goto Start

  2. #2
    Join Date
    Mar 2009
    Posts
    48

    Default

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

  3. #3
    Join Date
    May 2009
    Posts
    13

    Default Please tell me what are the errors on my code

    Please someone tell me the possible errors of my given code

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795

    Default

    Have you checked the link xxxxxx gave to you?

    There is already a ew post. Read it.

    As always, USART is your best friend in communications and always wait for the device to answer (either OK or some error message).

    Pause is not enough...

    Ioannis

  5. #5
    Join Date
    May 2009
    Posts
    13

    Thumbs up Thank you all, But I just a biginer

    I am just a beginner to this GSM communication field and I studied agriculture engineering for my BSc. I self studied these things, and that’s why I am asking this kind of stupid questions. I’ll try with the codes given by XXXX. I need your future help in this regards.
    Thank You

  6. #6
    Join Date
    May 2009
    Posts
    13

    Smile USART Pin on PIC16F877A

    Can anyone tell me, what are the hardware Serial port pins on 16F877A.

  7. #7
    Join Date
    Mar 2006
    Location
    China
    Posts
    266

    Default Well

    I suggest you start your project with downloading the datasheet for the 16F877A and read it. You dont have to understand more of the datasheet than to remember that you have seen something about this and that and then you look that section up.

    Do you have a /P or /PT package? One is a 40-pin DIP, the other a 44-pin TQFP (surface mounted). Before we know this we dont know what pis it is :-)
    Last edited by Jumper; - 15th June 2009 at 11:04.

  8. #8
    Join Date
    May 2009
    Posts
    13

    Default Thanks

    thanks i Read it

Similar Threads

  1. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 21:31
  2. Replies: 18
    Last Post: - 7th April 2009, 22:46
  3. Replies: 0
    Last Post: - 1st September 2008, 08:03
  4. sms send sht11 pic16f876 nokia 6210
    By elektoro2009 in forum GSM
    Replies: 11
    Last Post: - 9th June 2008, 09:57
  5. send incomming msg (SMS) to VB
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 24th April 2006, 12:16

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts