Pic to GSM Phone connection (HSerin problems)


Closed Thread
Results 1 to 40 of 289

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Talking

    you'll have to do some modification before. Ralph's favourite 16F84a have no internal USART. Wich mean that, at least, you'll need to change HSEROUT, HSERIN for an equivalent SERIN,SERIN2,SEROUT,SEROUT2

    Once it will be done... it's suppose to work fine.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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

    Default

    Quote Originally Posted by mister_e
    ..,Ralph's favourite 16F84a have no internal USART. Wich mean that, at least, you'll need to change HSEROUT, HSERIN for an equivalent SERIN,SERIN2,SEROUT,SEROUT2
    Steve, thanks for the reminder ;-)

    As you can see, many beginners are giving themselves a hard time by starting with that "great" F84 while life could be so easy with one of the recent 18pin types.

    I guess one of the reasons is because my favourite is mentioned in so many (outdated) books and manuals.

    (Even in the lastest issue of the PBP Manual)
    regards

    Ralph

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



  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Talking

    Ralph,
    in addition to that, this awesome F84 is one of the first flash device from Microchip and can still be found everywhere and at local electronic parts provider... like 12C508

    for the remainder, you know why i did it
    Last edited by mister_e; - 20th April 2005 at 05:01.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Apr 2005
    Posts
    17

    Talking

    And it is also weird.....
    It's the ONLY PIC available in our electronics store!!!
    That's why I have no choice...

    BTW:
    Is there a FREE PicBasic compiler and some links for tutorials??

    Thanks

  5. #5
    aruran's Avatar
    aruran Guest

    Talking Nokia... and SMS

    Sorry to ask you all again. I didn't quite get it Mr.kasamiko since the phone's voltages are little lesser

    than 5V. So why the hell we should use max232 to connect to the pic. I didn't quite understand it. I thought

    if I connect it to the PIC directly through the interface given http://www.atrox.at/datacable/dlr3/index.html

    But I am not farely clear what pins I should omitt. I thought that the phone's MBUS and GND are the only pins connected. As posted by stu746 I didn't realy understand the circuit modification. Enybody please help me......? If you could send me the circuit for any nokia connecting to a PIC only would be of immense help.
    I will be greatful to you all

    regards
    aruran

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170

    Default

    On the above code:

    HSerin 5000,loop,[wait("UNREAD"),skip 3,STR Caller\13,skip 4,STR GSMTime\17,skip 6, STR GSMBUFFER\16\13]

    it would be good to change UNREAD to READ since the phone can answer also "REC READ" or other "READ" messages.

    Ioannis

  7. #7
    Join Date
    Apr 2005
    Posts
    17

    Question

    Quote Originally Posted by Ioannis
    On the above code:

    HSerin 5000,loop,[wait("UNREAD"),skip 3,STR Caller\13,skip 4,STR GSMTime\17,skip 6, STR GSMBUFFER\16\13]

    it would be good to change UNREAD to READ since the phone can answer also "REC READ" or other "READ" messages.

    Ioannis
    What is the purposed of this code modification? and in what particular above code?
    Thanks

  8. #8
    Join Date
    Apr 2005
    Posts
    17

    Default

    Quote Originally Posted by aruran
    Sorry to ask you all again. I didn't quite get it Mr.kasamiko since the phone's voltages are little lesser

    than 5V. So why the hell we should use max232 to connect to the pic. I didn't quite understand it. I thought

    if I connect it to the PIC directly through the interface given http://www.atrox.at/datacable/dlr3/index.html

    But I am not farely clear what pins I should omitt. I thought that the phone's MBUS and GND are the only pins connected. As posted by stu746 I didn't realy understand the circuit modification. Enybody please help me......? If you could send me the circuit for any nokia connecting to a PIC only would be of immense help.
    I will be greatful to you all

    regards
    aruran
    MAX232 was used on that circuit since it was designed to be used for PC. If you're planning to use that as stand-alone on Nokia's like 6210, you can omit MAX232..
    I have a circuit to be connected for 6210 but I dont have a code for PIC to have it receive an SMS then activate a relay.
    What I need is a PIC16F84 with 8 mhz xtal and can drive a 4 relay when it received an SMS command..
    I know sa AT commands for Nokia but don't know how would I start it..
    Any sample codes will be appreciated.
    TIA

Similar Threads

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