Pic to GSM(nokia 6610), Please help..T_T


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2009
    Posts
    12

    Unhappy Pic to GSM(nokia 6610), Please help..T_T

    i have a problem with my project. i don't know where is wrong, if it is in the program or in my circuit. here is the flow of my project. if i press the button in PORTB it will send automatically a message. my problem is it doesn't text or send a message. thats why i need your help. i know lot of here can help me. thanks. i will put my program and the circuit. by the way my phone using is nokia 6610 and the data cable is usb.


    HERE IS MY PROGRAM:

    ------------------------
    DEFINE OSC 20


    DEFINE HSER_TXSTA 24h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_BAUD 115200
    DEFINE HSER2_CLROERR 1


    CLR CON 12 ' Clear screen
    LF CON 10 ' Line-feed character
    CR CON 13 ' Carriage-return character
    SUB CON 26 ' Ctr + Z
    QOUTE CON 34

    PORTB = $00

    AGAIN:

    if PORTB.0 = 0 THEN

    pause 200
    HSEROUT ["AT",CR,LF]
    pause 1000

    HSEROUT ["AT+CMGF=1",CR,LF]
    PAUSE 500

    HSerout ["AT+CMGS=",SUB,"+639187085735",SUB,CR,LF]
    PAUSE 500

    HSEROUT ["Test-Message",CR,LF]
    HSEROUT [26]
    ENDIF

    GOTO AGAIN

    END

    ---------nothing follows
    Attached Images Attached Images  

  2. #2
    Join Date
    Oct 2007
    Location
    The Netherlands
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    In your circuit diagram you try to send serial data to a usb connector which will never work. You need a data cable with 9 pin D connector.

  3. #3
    Join Date
    Nov 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    thanks for the reply. but there is no a rs232 data cable available for a nokia 6610, only usb have.. is there a another way??

  4. #4
    Join Date
    Oct 2007
    Location
    The Netherlands
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    plenty of cables available, for example here:
    http://ucables.com/ref/NK-7210

  5. #5
    Join Date
    Nov 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    i have a question, Do you think it will work if i connect a usb to DB9(Rs232)?

  6. #6
    Join Date
    Oct 2007
    Location
    The Netherlands
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    No, your phone is a usb slave, not a host. You need the rs232 cable. They are cheap so why not buy one?
    Last edited by eggman; - 26th November 2009 at 15:41. Reason: typo

  7. #7
    Join Date
    Nov 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    because, i dont have a credit card. he he.

  8. #8
    Join Date
    Nov 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    is there another way? is there any idea how to build or how to make a datacable of a nokia 6610?

  9. #9
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    If you don't want to get a Cable for your Nokia, then I'm sure schematics for the Nokia exist somewhere on the net. Google is a great tool.

    If you don't want to go down that route, then the cheapest way is to plug your USB Cable into your PC. Then wire your PIC into a SERIAL PORT on your PC (per diagrams shown in your PICBasic Manual). Write a suitable piece of code on your PC to act as a Router.

    You then have your PIC talking to your Nokia.

  10. #10
    Join Date
    Nov 2009
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    ok ill find the schematic for the nokia..

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. PIC to GSM(Nokia 6310i)
    By reianjim in forum Schematics
    Replies: 0
    Last Post: - 9th December 2009, 15:05
  3. 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, 14:46
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  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