TC35i GSM With PIC 16F690 help


Closed Thread
Results 1 to 34 of 34

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    tc35i factory settings for bounrate is 2400 not 9600!
    TC35i is autobauding from 4.8Kbps to 115Kbps. 2400 bauds setting will not activate the auto-function.

    Al.
    All progress began with an idea

  2. #2
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    I think you need to check your modem with hyperterminal to check if it works correctly. If your computer doesn't have a serial port, you can obtain a serial to USB converter (check if compatible with your operating system)

    Al.
    All progress began with an idea

  3. #3


    Did you find this post helpful? Yes | No

    Red face

    Quote Originally Posted by aratti View Post
    I think you need to check your modem with hyperterminal to check if it works correctly. If your computer doesn't have a serial port, you can obtain a serial to USB converter (check if compatible with your operating system)

    Al.
    I will try that hopefully tomm, and will post my findings. Thank you all for your help upto now.

  4. #4


    Did you find this post helpful? Yes | No

    Red face

    By the way, can someone tell me the expected voltages across 232 pins and modem Rx & Tx pin. I just have a funny feeling that problem is with the hardware part instead of software.

  5. #5
    Join Date
    Sep 2009
    Posts
    739


    Did you find this post helpful? Yes | No

    Default

    Voltages shoul be about +/-10V.
    Quote Originally Posted by financecatalyst
    First: Why have you used "0" in the instruction serout tx,0,...
    Second: why have you not used serout2 and used just serout & serin2 instead of serin?
    There no reason why i used serout.
    0 is used to set bondrate to 2400T.
    Set cursor to serout and pres F1, and everything is in help.
    Program is working. I used to check conection with modem for my call & sms controller.
    Code with status led:
    Code:
    Init:
       toggle led1
       serout tx,0,["AT",13]
       serin2 rx,396,1000,init,[WAIT("OK")] 
      serout TX,0,["at&f",13]
       pause 500
       toggle led1
      serout TX,0,["at+cmgf=1",13]
       pause 500
       toggle led1
      serout TX,0,["at+clip=1",13]
       pause 500
      led1=1
    Start:....
    Led will flash every second if modem is'n connected.
    While setting up modem led will flash every 0.5s.
    When device is ready led stay on.

  6. #6


    Did you find this post helpful? Yes | No

    Exclamation

    Quote Originally Posted by pedja089 View Post
    Voltages shoul be about +/-10V.

    There no reason why i used serout.
    0 is used to set bondrate to 2400T.
    Set cursor to serout and pres F1, and everything is in help.
    Program is working. I used to check conection with modem for my call & sms controller.
    Code with status led:
    Code:
    Init:
       toggle led1
       serout tx,0,["AT",13]
       serin2 rx,396,1000,init,[WAIT("OK")] 
      serout TX,0,["at&f",13]
       pause 500
       toggle led1
      serout TX,0,["at+cmgf=1",13]
       pause 500
       toggle led1
      serout TX,0,["at+clip=1",13]
       pause 500
      led1=1
    Start:....
    Led will flash every second if modem is'n connected.
    While setting up modem led will flash every 0.5s.
    When device is ready led stay on.
    After all day breaking my head - I have to say Many Thanks to all who have tried to help me and especially you for the code and Aratti (for hardware correction).
    It is working now.

    BUT as usual few questions to understand it better.
    1) Why is it only working with serout & serin2 combination. I tried it with serout+serin & serout2+serin2 but it didn't work in this combination.

    2)What is the actual difference between 0 & 396 when they BOTH are true baud 2400?
    Thanks again

  7. #7
    Join Date
    Sep 2009
    Posts
    739


    Did you find this post helpful? Yes | No

    Default

    It should be work with serout and serout2.
    0 and 396...
    look in help in mcs!!
    396 is for serout2 and serin2
    0 is for serin, serout...
    you have tables in help...

Similar Threads

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