Pic to GSM Phone connection (HSerin problems)


Closed Thread
Results 1 to 40 of 289

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    33

    Post Buy

    Hi,

    Can I ask where can I buy the data cable DLR-3P ? In any nokia shop? because nowadays a lot of shop only sold the usb one not the serial port...hard to find ya...THANK YOU..

    dragonball

  2. #2
    Join Date
    Jul 2007
    Posts
    2

    Default help me plz

    I am trying to send sms with siemens c55 by Pic 16f876.I already know at command.I have sent already sms by hyperterminal.And I tried on pic 16f876 ı failed.I dont know where i mistake.Plz help me.my source codes are below...

    my schematic is:

    http://images.elektroda.net/15_1185282984.jpg


    ///////////////////////////////////////////////////////////////////////////////////

    #include <16f876.h> // Kullanılacak denetleyicinin başlık dosyası
    tanıtılıyor.

    #fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NO DEBUG,NOCPD //
    Denetleyici konfigürasyon ayarları

    #use delay (clock=20000000) // Gecikme fonksiyonu için kullanılacak
    osilatör frekansı belirtiliyor.

    #use rs232 (baud=9600, xmit=pin_C6, rcv=pin_C7, parity=N, stop=1) //
    RS232 protokolünün 9600 bit/sn baud hızında olacağını ve
    //
    TX,RX uçlarının hangi pinler olacağını tanımlıyor
    //
    parity bitinin olmadığını, stop bitinin 1 bit olacağı belirtiliyor



    unsigned char mesaj_gonder[] = "AT+CMGS=19";
    unsigned char mesaj[] = "0011000C910945447198660000FF05E8329BFD06";

    /********* ANA PROGRAM FONKSİYONU********/

    void main ( )
    {
    setup_spi(FALSE); // SPI birimi devre dışı
    setup_adc_ports(NO_ANALOGS); // ANALOG giriş yok
    setup_adc(ADC_OFF); // ADC birimi devre dışı
    setup_ccp1(ccp_off); // CCP1 devre dışı
    setup_ccp2(ccp_off); // CCP2 devre dışı

    set_tris_c(0x80);



    puts(mesaj_gonder); //AT+CMGS=25
    putchar(0x0D); // Enter tuşuna basılıyo
    delay_ms(3000);
    puts(mesaj); //Message in PDU format
    putchar(0x1A); //Control-z tuşu
    putchar(0x0D); // Enter tuşuna basılıyor
    }

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

    Default

    This is not general purpose forum! We do only Pic Basic and specially MELABS PicBasic language!

    Ioannis

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

    Default

    Quote Originally Posted by CLLUNLU View Post
    I am trying to send sms with siemens c55 by Pic 16f876.I already know at command.I have sent already sms by hyperterminal.And I tried on pic 16f876 ı failed.I dont know where i mistake.Plz help me.my source codes are below...

    my schematic is:

    http://images.elektroda.net/15_1185282984.jpg


    ///////////////////////////////////////////////////////////////////////////////////

    #include <16f876.h> // Kullanılacak denetleyicinin başlık dosyası
    tanıtılıyor.

    #fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NO DEBUG,NOCPD //
    Denetleyici konfigürasyon ayarları

    #use delay (clock=20000000) // Gecikme fonksiyonu için kullanılacak
    osilatör frekansı belirtiliyor.

    #use rs232 (baud=9600, xmit=pin_C6, rcv=pin_C7, parity=N, stop=1) //
    RS232 protokolünün 9600 bit/sn baud hızında olacağını ve
    //
    TX,RX uçlarının hangi pinler olacağını tanımlıyor
    //
    parity bitinin olmadığını, stop bitinin 1 bit olacağı belirtiliyor



    unsigned char mesaj_gonder[] = "AT+CMGS=19";
    unsigned char mesaj[] = "0011000C910945447198660000FF05E8329BFD06";

    /********* ANA PROGRAM FONKSİYONU********/

    void main ( )
    {
    setup_spi(FALSE); // SPI birimi devre dışı
    setup_adc_ports(NO_ANALOGS); // ANALOG giriş yok
    setup_adc(ADC_OFF); // ADC birimi devre dışı
    setup_ccp1(ccp_off); // CCP1 devre dışı
    setup_ccp2(ccp_off); // CCP2 devre dışı

    set_tris_c(0x80);



    puts(mesaj_gonder); //AT+CMGS=25
    putchar(0x0D); // Enter tuşuna basılıyo
    delay_ms(3000);
    puts(mesaj); //Message in PDU format
    putchar(0x1A); //Control-z tuşu
    putchar(0x0D); // Enter tuşuna basılıyor
    }
    From your circuit you have got gnd connected to pin 5
    also if you can communicate to the phone using hyperterminal
    then you need to connect a null modem between your pic and the phone or just swap Tx with Rx

    Isaac

  5. #5
    Join Date
    Apr 2005
    Posts
    17

    Default

    Quote Originally Posted by DragonBall_6 View Post
    Hi,

    Can I ask where can I buy the data cable DLR-3P ? In any nokia shop? because nowadays a lot of shop only sold the usb one not the serial port...hard to find ya...THANK YOU..

    dragonball
    Why don't you make it yourself?

  6. #6
    Join Date
    Nov 2006
    Posts
    33

    Default data cable

    I also think like that but is it very hard?
    maybe I want to take a try.
    Do you have the schematic or website?

    Thank a lot.

    Peter

  7. #7
    Join Date
    Jul 2007
    Posts
    2

    Default data cable


  8. #8
    Join Date
    Mar 2006
    Posts
    41

    Cool dlr3p_cable plus hex file for PIC16F84A

    Hi

    Here's my cable i frequently use in my gsm sms-remote control projects hope this helps!!! the dlr3p firmware is a hack version!!!

    original ckt!!!
    http://www.atrox.at/datacable/dlr3/index.html
    Attached Files Attached Files

  9. #9
    Join Date
    Nov 2006
    Posts
    33

    Post How Can connect my Phone to the circuit?

    Thank for the reply..Really thank.....

    May I know in your circuit which part is to connect my handphone connector such as nokia 6100.
    I'm not able to find the serial data cable in the market(malaysia) nowadays to connect my mobile phone. What i can find is the usb connector one not the serial port one.

    Can I connect like this??: handphone-->handphone connector-->usb male-->usb female to female converter------>usb-serial adapter then i can connect to my PC.Is that possible and do i need any driver?????

    Because as i know, to send data thru usb is very complicated so i need to find a way to send data using serial cable. it is much easy.

    Pls advice...

    Thank you very much>>>>

  10. #10
    Join Date
    Mar 2006
    Posts
    41

    Talking GSM to PIC

    Firstly you need to find out if u'r fone is AT-capable most of valid fones have modem dlr3p cable will only work in 6110 series and 7110 series or compatible phones i believe 6100 is using POP-PORT and if u'r talking about USB connection either HOST or PERIPEHERAL mode you will be needing USB to TTL logic converter like those chips from maxim or FTDI because USB is LVDS "low voltage differential signaling" try to find out more about your phones POP-PORT if it sends out TTL and if it is AT-commands compatible and by the way you need to figure out if your phone is can handle TEXT or is PDU by defualt the formeris easier!!! if it is in PDU mode you wont be able to get a response from your phone you will need to be doing translation in your software!!!

    PS.

    The 7-pin in the ckt is directly pin to pin to 6110 or 7110 port i used an old headfone very cheap even the fone is cheap roughly 900 pesos or 20US$

    Yours Trully Ryan

  11. #11
    Join Date
    Apr 2005
    Posts
    17

    Default

    Quote Originally Posted by leisryan View Post
    Hi

    Here's my cable i frequently use in my gsm sms-remote control projects hope this helps!!! the dlr3p firmware is a hack version!!!

    original ckt!!!
    http://www.atrox.at/datacable/dlr3/index.html
    Bro what do you mean "HACK VERSION" of firmware...

    What part was hack?


    Mabuhay!!

  12. #12
    Join Date
    Mar 2006
    Posts
    41

    Talking HACK dlr3p

    original dlr3p has a propreitary signal which sets up the 6210 series and alike fone inorder to accept data from their PORT unlike older cables MBUS,FBUS etc!!! you can follow the link i posted recently above!!!

Similar Threads

  1. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 00: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, 14:46
  3. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 20:33
  4. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  5. Pic to GSM Phone connection
    By samertop in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th July 2005, 13: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