Pic to GSM Phone connection (HSerin problems)


Closed Thread
Results 1 to 40 of 289

Hybrid View

  1. #1
    dimitrin's Avatar
    dimitrin Guest

    Default so now you confuse me more

    because it does work with rs 232.

    thanks again for you help

  2. #2
    aruran's Avatar
    aruran Guest

    Question Ericsson T18

    I got an Ericsson T18 phone, which works with the data cable for AT commands.. Going through the internet I found that it doesn't support Text mode, Only pdu mode available. So can I make it work by using bitmaniac's PDU decoder. And I am going to use PIC16F877A. If I do the necessary changes it should work right......

    thanks in advance
    aruran

  3. #3
    PIC Coder's Avatar
    PIC Coder Guest

    Default Samsung SCH-N356.

    Hello,
    I am look out for technical details of Samsung SCH-N356. I also want to make SMS controled relay. Please suggest.
    Bye

  4. #4
    aruran's Avatar
    aruran Guest

    Thumbs up SMS using T18

    Hai all,

    First of all thank you all for the help rendered. I have successfully made a Ericsson T18 to send SMS using PIC16F877A. I give the PIC using I2C bus some data from a main PIC for my microcontroller project. I have written a dynamic PDU encode routing to handle the dynamic texts sent by the main pic. This was achieved mainly from the help of bitmaniac's PDU encode...

    Thank you all
    aruran

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762

    Default

    aruran,

    it would be nice if you would share youre code.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  6. #6
    MICOCALI's Avatar
    MICOCALI Guest

    Default hserin

    What is the metod for write a code in 16f628 for read in rs232?
    when the telephone send (*elip string, my 16f628 to be one pin at gnd

  7. #7
    Join Date
    Apr 2005
    Posts
    17

    Thumbs up

    I just finished my circuit below a PIC to cellphone interface to send text messages..I can succesfully SEND a pre-programmed text message using this code:



    Device 16F84A
    Declare Xtal = 4

    Start:
    LOW LED
    DelayMS 1000
    SerOut2 PORTB.1, 84,["AT+CMGS=",34,"MyNumber",34,13]
    DelayMS 1000
    SerOut2 PORTB.1, 84,["TEST",13]
    DelayMS 1000
    SerOut2 PORTB.1, 84,[26]
    DelayMS 3000
    GOTO Start


    I can send an endless "TEST" text messages to "MyNumber" but I can't make it work to read received text messages..

    I need a code sample that will READ the received text message and will text back to the sender the word "GOOD"

    I don't have the idea how to strip the sender phone number and the sent text message "GOOD" from the example below using SERIN command..

    +CMGR: "REC READ","+xx1234567890",,"05/05/26,17:19:23+00"
    GOOD
    OK

    I'd look at this code:

    HSerin 5000, Loop, [Wait("UNREAD"), skip 3, STR Caller\12, skip 4, STR GSMTime\17, skip 4, STR GSMbuffer\12]

    But I can't "SAY" it using SERIN command using PIC16F84..

    Thanks for any info..
    Last edited by kasamiko; - 26th May 2005 at 11:25.

  8. #8
    aruran's Avatar
    aruran Guest

    Default

    Quote Originally Posted by NavMicroSystems
    aruran,

    it would be nice if you would share youre code.
    Hai NavMicro,

    Sorry for the delayed response. I was involved in the project in another part..So I couldn't concentrate on the SMS sending part as it is almost finished.

    I have finished the PBP coding to send SMS using a Ericsson T10. It uses PDU mode since T10 supports AT command for PDU mode. So help from bitmaniac's PBP file helped me.
    I have attached the file.

    I also want to develop this to be integrated into a Embedded IP module for my project. I want to know how can I make this SMS sender to send sms when a centrallized MCU gives an interrupt and then the datas such as message, recepient number and so on are fed from that centrallized MCU to the MCU that controlling sending sms.

    Some people say that the PBP is not good for interrupt handling, and ASM codes inserted may be of use. Have anybody got any idea....

    thanks
    aruran
    Attached Files Attached Files
    Last edited by aruran; - 16th August 2005 at 16:47.

  9. #9
    Airrr's Avatar
    Airrr Guest

    Default oh no!

    i've read this thread a few times, but it wont work at all!
    nokia 6210 connected with RX to PIC 16f84a port b.1
    gnd2gnd

    now thats the programm

    SerOut2 PORTB.1, 396,["AT", 13, 10]
    Pause 1000
    SerOut2 PORTB.1, 396,["AT+CMGF=1", 13, 10]
    Pause 500
    SerOut2 PORTB.1, 396,["AT+CMGS=", 34, "+972544567209", 34, 13, 10]
    Pause 500
    SerOut2 PORTB.1, 396,["Test-message", 13, 10]
    Pause 500

    i tryed 8mhz crystal and 12mhz
    pic sends some pulses out, but mobile just do nothing
    is it a wrong programm or what?

    ps, i need simply to send SMS.
    i think i missed something important..
    Last edited by Airrr; - 1st September 2005 at 01:59.

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 : 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