---
+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 27
  1. #1
    Newbie level 4
    Points: 890, Level: 6

    Join Date
    Mar 2010
    Location
    India
    Posts
    7
    Helped
    3 / 3
    Points
    890
    Level
    6

    Read SMS From GSM Module : SMS Based Control System By 8051

    Hello, i am designing SMS Based Device Control System Using AT89S52, i have some trouble reagrding SMS reading...
    Through Mobile SMS i need to control assume 4 devices in circuit so i mean i will message in short like this...

    D1 - Device 1 ON
    D2 - Device 2 ON
    D3 - Device 3 ON
    D4 - Device 4 ON

    to gsm module this sms is sent, but now the trouble comes, that how to read this sms and give the signal to 8051 controller to operate according device...
    in simple way i need to read sms that i sent like D1 sms for controlling Device 1, how to read this sms that will help me to control the devices... please help me if someone give me full sms reading code tutorial then surely appreciated...

  2. #2
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    go through the following file u will get the idea.............


    9 members found this post helpful.

    •   Alt15th January 2013, 10:17

      advertising

        
       

  3. #3
    Newbie level 4
    Points: 890, Level: 6

    Join Date
    Mar 2010
    Location
    India
    Posts
    7
    Helped
    3 / 3
    Points
    890
    Level
    6

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    bit confused in functions written in the program.. so it would be better to run this program with little change with my program (only LCD programming change) then see what happens... anyway jjeevan007 thanks...


    1 members found this post helpful.

  4. #4
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    if u want u can delete the displaying part........

    main thing is receiving the data from gsm its correct which works fine..........

    if u have any doubts u are welcome
    Last edited by jjeevan007; 18th January 2013 at 06:25.


    1 members found this post helpful.

  5. #5
    Newbie level 3
    Points: 23, Level: 1

    Join Date
    Mar 2013
    Posts
    4
    Helped
    0 / 0
    Points
    23
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    thanx for the code. what are u comparing in the code with two mobile nos?



  6. #6
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    controlling of the devices is using only a predefined number only......

    thats why we are comparing the two mobile numbers



  7. #7
    Newbie level 3
    Points: 23, Level: 1

    Join Date
    Mar 2013
    Posts
    4
    Helped
    0 / 0
    Points
    23
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    what is the keyword that has to be messaged to gsm modem to switch on a device?

    thanx



  8. #8
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    those are called at commands

    just google it u can find lot of information on GSM at commands........

    go through the following site

    http://www.engineersgarage.com/tutorials/at-commands



  9. #9
    Newbie level 3
    Points: 23, Level: 1

    Join Date
    Mar 2013
    Posts
    4
    Helped
    0 / 0
    Points
    23
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    Thanks jjeevan007. actually i am building a security system which will send sms if the system gets interrupted. For activating the system i want to send a sms to the system. i am able to send sms from gsm modem to mobile but i am unable to receive the sms in gsm modem using 89s52. Please help me.

    Thankssss....



    •   Alt2nd March 2013, 10:30

      advertising

        
       

  10. #10
    Newbie level 3
    Points: 23, Level: 1

    Join Date
    Mar 2013
    Posts
    4
    Helped
    0 / 0
    Points
    23
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    please help me.....

    - - - Updated - - -

    please help me.....



    •   Alt3rd March 2013, 11:20

      advertising

        
       

  11. #11
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    why dont u activate the security system using the push button........



  12. #12
    Junior Member level 1
    Points: 264, Level: 3

    Join Date
    May 2013
    Posts
    17
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    Quote Originally Posted by jjeevan007 View Post
    go through the following file u will get the idea.............
    Hii
    I want to jnow where's the attached file I m also workinmin tne project and having dificulties with ciding



  13. #13
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,307
    Helped
    808 / 808
    Points
    23,048
    Level
    36

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    gsm.txt is attached in post #2. You have to register and login to access the file.


    1 members found this post helpful.

  14. #14
    Junior Member level 1
    Points: 264, Level: 3

    Join Date
    May 2013
    Posts
    17
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    Is that the full program or I need to change something in that??
    Thanks



  15. #15
    Full Member level 5
    Points: 2,000, Level: 10

    Join Date
    Apr 2012
    Location
    bangalore
    Posts
    311
    Helped
    42 / 42
    Points
    2,000
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    it is the full program, it displays the message on to the lcd


    1 members found this post helpful.

  16. #16
    Junior Member level 1
    Points: 264, Level: 3

    Join Date
    May 2013
    Posts
    17
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    Quote Originally Posted by jjeevan007 View Post
    it is the full program, it displays the message on to the lcd
    Thanks sir...
    I think it will control the devices too that are connected to the uc and as well as display the message on the lcd??
    Am I right??
    Thanks



  17. #17
    Newbie level 2
    Points: 26, Level: 1

    Join Date
    Jun 2013
    Posts
    2
    Helped
    0 / 0
    Points
    26
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    i do not get the functions data_res() and data_send what do these functions do
    Last edited by jawadtariq007; 9th June 2013 at 14:33.



  18. #18
    Full Member level 4
    Points: 2,070, Level: 10
    g_shyam1682's Avatar
    Join Date
    Jan 2010
    Location
    Udaipur-Rajshan-India
    Posts
    203
    Helped
    52 / 52
    Points
    2,070
    Level
    10

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    Hi

    data_send function is used to send AT command to GSM module.
    data_res function is used to read AT command response from GSM module but i think data_res function is not write properly to handle reply from GSM module it just flush out data from GSM module.

    Regards,


    1 members found this post helpful.

  19. #19
    Newbie level 2
    Points: 26, Level: 1

    Join Date
    Jun 2013
    Posts
    2
    Helped
    0 / 0
    Points
    26
    Level
    1

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    i am designing the same project on pic18f452 i have made changing to the above code can you please tell me if my code is correct
    regards



  20. #20
    Newbie level 2
    Points: 271, Level: 3

    Join Date
    Sep 2012
    Posts
    2
    Helped
    0 / 0
    Points
    271
    Level
    3

    Re: Read SMS From GSM Module : SMS Based Control System By 8051

    I have doubt about where the received message is stored? Is it in the the SBUF of the 8051 microcontroller?



+ Post New Thread
Please login
Page 1 of 2 12 LastLast