Gsm/Gps Tracker


Closed Thread
Results 1 to 40 of 53

Thread: Gsm/Gps Tracker

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What are the stop bits and parity of a phone?
    Dave
    Always wear safety glasses while programming.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    What are the stop bits and parity of a phone?
    Hi,

    This is a nokia 6210 and works as 9600,8,N,1

    Thanks

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Have you tried connecting to a PC with a terminal program like the one in Micro Code Studio?
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Camola, I am a little confuse. I did a bit of research on google and it seems that
    nokia 6210 has a USB connection. Are you sure your phone has a serial connection?

    Al.
    All progress began with an idea

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    Camola, I am a little confuse. I did a bit of research on google and it seems that
    nokia 6210 has a USB connection. Are you sure your phone has a serial connection?

    Al.
    Hi,

    Yes it have and there are nokia cables to conect it to pc rs232 i have one from nokia and works fine with hyperterminal.

    Thanks

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Have you tried connecting to a PC with a terminal program like the one in Micro Code Studio?
    Hi,

    I only try whit Hyperterminal with sucess.

    Thanks

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by camolas View Post
    Hi,

    I only try whit Hyperterminal with sucess.

    Thanks
    Then try SERIN2 in inverted mode for a test. Could be an external hardware problem?
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Camola, from your code it seems that you are using portC.6 and PortC.7 for communication with cellphone. If this is correct then:

    Connect pic portC.6 to max232 pin 11 (TTL Tx)
    Connect pic portC.7 to max232 pin 12 (TTL Rx)
    Connect max232 pin 14 to phone serial cable pin 3 (Should be Rx ?)
    Connect max232 pin 13 to phone serial cable pin 2 (should be Tx ?)
    Connect circuit ground to phone serial cable pin 5

    (If you connect it to the PC I assume you have a 9 pins DB female connector)

    It should work. If it doesn't invert connections at the serial cable pins 2 & 3

    Al.
    Last edited by aratti; - 4th December 2008 at 16:47.
    All progress began with an idea

  9. #9


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    Camola, from your code it seems that you are using portC.6 and PortC.7 for communication with cellphone. If this is correct then:

    Connect pic portC.6 to max232 pin 11 (TTL Tx)
    Connect pic portC.7 to max232 pin 12 (TTL Rx)
    Connect max232 pin 14 to phone serial cable pin 3 (Should be Rx ?)
    Connect max232 pin 13 to phone serial cable pin 2 (should be Tx ?)
    Connect circuit ground to phone serial cable pin 5

    (If you connect it to the PC I assume you have a 9 pins DB female connector)

    It should work. If it doesn't invert connections at the serial cable pins 2 & 3

    Al.
    Hi,

    But is not need to give the nokia data cable any power?

    Thanks

  10. #10


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Then try SERIN2 in inverted mode for a test. Could be an external hardware problem?
    Hi,

    I have used Serin2 and works not in any 16f877a port it works on B.7 as Rx and in B.6 as Tx.

    Serout2 PortB.6, 84,["AT",13,10]
    Serin2 PortB.7,84, [wait ("ok")]
    High PortB.0

    Dont work in C.7 and C6, C4 and C5 big mess.....

    Can i used 2 diferents Serin2 and Serout2 in same code because i need to control phone and gps i was using hserin/out to phone and Serin2/out2 for gps.

    Thanks
    Last edited by camolas; - 4th December 2008 at 18:35.

Similar Threads

  1. solar tracker controller
    By CIRE in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 15th November 2016, 16:16
  2. Help Idea Off infrared tracker
    By jetpr in forum General
    Replies: 5
    Last Post: - 11th September 2008, 09:22
  3. Replies: 1
    Last Post: - 27th July 2008, 07:14

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