Pic to GSM Phone connection (HSerin problems)


Closed Thread
Results 1 to 40 of 289

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    brighton
    Posts
    149

    Post

    i am trying to upload the screen shots but keep getting msg that this exceeds 200kb
    Last edited by isaac; - 23rd June 2007 at 17:45. Reason: cant send attachments

  2. #2
    Join Date
    May 2004
    Location
    brighton
    Posts
    149

    Default

    I dont know what happened to my last post.
    i was trying to attach the screen shots but couldn't.
    i connected breakout as you suggested and think i know what the problem is but not the solution lo
    When i connected the Tx/Rx to the Rx of the Pc when i run my program
    the pic is not sending anything to screen at all so this means the phone is not receiving anything so its not responding.
    But if i then disconnect the phone DLR-3 cable from the serial port of my project board i can see the AT command being sent to the phone on screen so i think the phone cable maybe faulty.
    i am still trying to get the shot to you but keep getting this massage below

    Your file of 1.08 MB bytes exceeds the forum's limit of 200.0 KB for this filetype.

    Isaac

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

    Default

    Make the file smaller jpg, png, bmp. No more than 200kb. This size is more than enough!

    About the problem not monitoring try smaller resistors like 4K7 or smaller. May be your driver from the PIC side is not powerful. What chip do you use?

    Ioannis

  4. #4
    Join Date
    May 2004
    Location
    brighton
    Posts
    149

    Default

    i use Max232 which comes with the project board

  5. #5
    Join Date
    May 2004
    Location
    brighton
    Posts
    149

    Default here is the results

    here are the results
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170

    Default

    What I see is in the first case only AT. Where is the rest of the string?

    Something is not working here. Check your overall setup of the PIC. Are you sure about the loaded program in the PIC memory? Try erasing before programming.

    Should come up with the rest of the commands, like ATZ etc.

    Ioannis

  7. #7
    Join Date
    May 2004
    Location
    brighton
    Posts
    149

    Default

    Sorry about that.
    you would only see AT because the pic times out when it dont get ok back and goes back in the loop
    snipper of code

    'Send SMS Test-Message
    sms:
    HSerout ["AT",13,10]
    HSERIN 5000, SMS,[WAIT("OK")] ' wait for response ok for 5 seconds
    HSerout ["AT+CMGF=1",13,10] 'Set Text Mode
    HSERIN 5000, SMS,[WAIT("OK")] ' wait for response ok for 5 seconds
    HSerout ["AT+CMGS=",34,"+447895711481",34,",129",13,10]
    HSERIN 5000 , SMS, [WAIT(">")]
    HSerout ["Test-Message",10,13]
    HSerout [26]
    Pause 500

    RETURN ' return from subroutine

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