Pic to GSM Phone connection (HSerin problems)


Closed Thread
Results 1 to 40 of 289

Hybrid View

  1. #1
    stu746's Avatar
    stu746 Guest

    Talking

    hi again

    finally got this working with the circuit from here

    http://www.atrox.at/datacable/dlr3/index.html

    i omitted the max232 and just wired the rx and tx to the resistors

    the following works great
    serout2 portb.5, 396,["atz",cr]
    serout2 portb.5, 396,["atd +447890563875;",cr]

    but when trying to get a response from the pic with the following it just hangs

    serout2 portb.5, 396,["atz",cr]
    serin2 portb.4,396,[wait("ok")]


    so i tried

    serout2 portb.5, 396,["a"]
    serin2 portb.4, 396,[b0]
    Lcdout b0

    and it did echo back the a, so i do have 2 way comms

    anyone have any idea how best to get an ok back from the phone?

    thanks, Stu

  2. #2
    aruran's Avatar
    aruran Guest

    Default Sms

    Hello, I am new to this field...
    I want the modified schematic you said that worked in the following quoted message. If you can send it to me, it will be a great help..


    thanking you
    aruran

    Quote Originally Posted by stu746
    hi again

    finally got this working with the circuit from here

    http://www.atrox.at/datacable/dlr3/index.html

    i omitted the max232 and just wired the rx and tx to the resistors

    the following works great
    serout2 portb.5, 396,["atz",cr]
    serout2 portb.5, 396,["atd +447890563875;",cr]

    but when trying to get a response from the pic with the following it just hangs

    serout2 portb.5, 396,["atz",cr]
    serin2 portb.4,396,[wait("ok")]


    so i tried

    serout2 portb.5, 396,["a"]
    serin2 portb.4, 396,[b0]
    Lcdout b0

    and it did echo back the a, so i do have 2 way comms

    anyone have any idea how best to get an ok back from the phone?

    thanks, Stu

Similar Threads

  1. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 01:52
  2. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 15:46
  3. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 21:33
  4. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 08:57
  5. Pic to GSM Phone connection
    By samertop in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th July 2005, 14:40

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