TC35i GSM With PIC 16F690 help


Results 1 to 34 of 34

Threaded View

  1. #11
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    It never enters label two as I assume there is somthign wrong in the communication part of PIC with the modem


    Code:
    main:
    Serout2 tx,baud,["AT+CMGF=1",13]
    gosub one
    Serin2 rx,baud,5000,main,[wait("OK"),i]
    gosub two
    goto main

    Remove the GOSUB One instruction! When you send an AT command to the modem, then you MUST immediatly switch to the SERIN2 instruction otherwise there is a high chance that the modem answer will be lost.

    Edited:
    baud con 16468 ' baud rate = 9600 Inverted
    Looking to the PBP manual the correct setting for 9600 bauds is 84 not 16468

    Did you use the MAX232 for connecting Pic to modem?

    Al.
    Last edited by aratti; - 29th September 2009 at 18:26.
    All progress began with an idea

Similar Threads

  1. Want to learn GSM & PIC programming
    By financecatalyst in forum GSM
    Replies: 5
    Last Post: - 25th February 2014, 10:22
  2. GSM With PIC?
    By financecatalyst in forum General
    Replies: 1
    Last Post: - 20th September 2009, 00:12
  3. SERIN AND SEROUT PROBELM USING 16f690 PIC
    By Charles in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 18th January 2007, 04:59
  4. gsm card reader using pic
    By ninebarmaximus in forum General
    Replies: 0
    Last Post: - 6th December 2005, 19:08
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

Members who have read this thread : 0

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