EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / reading sms from gsm modem and comparing with predefind one

reading sms from gsm modem and comparing with predefind one

|

Microcontroller › PIC › reading sms from gsm modem and comparing with predefind one

  • This topic has 23 replies, 7 voices, and was last updated 8 years, 9 months ago by narasimha rao.
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • August 6, 2012 at 6:43 am #8405
    Amrith
    Participant

    if you are using GSM module then there is no need of level converter between your controller & GSM module.

    Note: Remember GSM Modem is different fromGSM module.

    August 6, 2012 at 8:59 am #8412
    td
    Participant

     thanks for reply.

    how can i connect level converter in between modem and pic?now i connected

    pic tx


    modem rx

    pic rx


    modem tx

    and connected max232  input pin(rx)


    modem tx

                            max232  output pin(tx)


    modem rx

    ie, level convertr parallelly.

     

     

    without connecting this max232, i can send sms in to mobile.

    but the problem is response of modem is not going to pic

    August 19, 2012 at 4:35 am #8478
    td
    Participant

     here i m using gsm module. i directly connect gsm module and controller.

    i have connected rx,tx,vcc,power key and ground of modem.is there any extra connections in modem?

    when i load the pgm to pic, and connected with modem, i can send sms from modem to mobile. but the response of the modem is not going to pic.ie, when i give through pic, AT+CMGR=1, modem can read the sms.but that the response of modem(+CMGR: “REC READ”,”+918108111649″,,”12/07/22,14:24:11+22″
    Hello
    OK) is not going to pic.

    please give me solution.. please guide me…

    August 19, 2012 at 2:49 pm #8481
    Mukundan devakiantherjanam
    Participant

    hello

     

    i am also having a same issue in my project, i am using sim 900 module, when i connect to pc i am getting correct response, but when i connect to PIC i am getting the command back. i am not getting the response. i am sending first “A”,then “T” and then finally 0x0D. i am getting same back on my LCD. when i connect PIC to PC i am getting the correct response. 

     

     

    August 21, 2012 at 7:52 am #8490
    td
    Participant

    here  i m using 8mhz internal oscillator.for that i use

    OSCCON =0b01100010;

    (in 18f45k20)

    is ther any additional registers i have to set for this?may be because of this, receiver part is not ok.

    and we are using baud rate 9600.

    please guide me..

    August 28, 2012 at 5:55 am #8510
    td
    Participant

    i didnt get any solution……………..

    now also the response of the modem is not going to pic………..

    February 18, 2013 at 1:57 pm #9152
    Bharath Singh
    Participant

    Hi freinds ……. i need help from u … how to compare the string that as beed present in GSM modem as a msg  in inbox after sending a Read command  to GSM modem AT+CMGR………

    September 15, 2016 at 10:09 am #14137
    Anonymous
    Guest

    hi frnds…i need help ….how to read a particular number msg only ..? from gsm modem

    i am using pic16f877a. ccs compiler ..pls give me the reference code..

    September 16, 2016 at 7:09 pm #14138
    narasimha rao
    Participant

    From the AT Command set,<CR><LF> are sent from the module before data(message) is sent.

    So, try to collect the entire reply given by the module in an array.

    After time delay, check from the array the character <CR> which is decimal 13.

    Then, from the second character the message starts.

    This code snippet may work:

             do
             {
                 q++;
             }while(gsm_response[q]!=13);        //<CR><LF>MESSAGE<CR>   13=<CR>
             for(q=q+2,temp=0;gsm_response[q]!=13;q++,temp++)
             {
                 message[temp]=gsm_response[q];
             }

     

  • Author
    Posts
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Simple LED Analog Clock Idea July 7, 2025
  • The Analog Gods Hate Me July 7, 2025
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz July 7, 2025
  • PIC KIT 3 not able to program dsPIC July 7, 2025
  • Parts required for a personal project July 6, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise