Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GSM based weather reporting system

Status
Not open for further replies.

niranjan23

Member level 5
Member level 5
Joined
Jan 22, 2012
Messages
94
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
2,109
hello.....

I am doing GSM based weather reporting sytem using 8051.....I dont have experience of using GSM modem...

firstly I want to know how do I send message from GSM modem to user..???

and how do I send weather report...??

please help me...!!
 

hii,
start by typing
1- at+cmgf=1 and press ente...... for setting preference as text sms.
2- at+cmgs= "10 digit mobile number" and press enter
cursor will come >"type ur message here and press ctrl+z
after that ur sms will transmit


notice: these r the commands for SIM 300 GSM MODULE
 
well thanx for reply.....now how can I execute AT commands with using 8051....I mean what will be the code?? and what is the replacement for ctrl+z??
I have SIM300 V_7.03
my system flow is like this
1.user will send message to system
2.then system will reply by SMS whatever will be the data from ADC
eg. Temp.=28C,Intensity=56%
 

Hello,

You can use USART communication for transmitting this AT commands AT+CMGR (read message), AT+CMGD (delete message), AT+CMGS (to send message), please refer the AT commands for more details about syntax to send or receive.

From the microcontroller, Through USART you need to transmit the command with transmission buffer of USART. before that you need to configure which USART you are using in controller and whether the USART is to be in send mode or recieve mode and baud rate to have sychronization b/w the microcontroller and GSM modem.
 

Hiii thanks for the reply......here is my SIM300 module....I want to know where do I connect 8051 on this modem..???
23022014076.jpg23022014077.jpg
 

Hi,
Please connect the serial connector from the GSM 9DB pin to micro controller 9DB
 

It your GSM modem has 5V TTL interface then cross connect the Rx and Tx pins directly to MCU's Tx and Rx pins. If your modem has RS232 interface only then you have to add a MAX232 and DB9 connector to MCU board and connect the DB9 connectors.
 
ok got it....thanx for the reply....


still i am not able to send sms to my mobile through GSM modem(sim300).....I tried too much code but not working.

I tested GSM modem on hyper terminal.....it work on it....but when I connect to microcontroller(8051) it's not working....


please guide me to make proper code...!!!....and how to use AT commands and send ...?
 

Here is my project files....

I am sorry about simulation files, my Proteus can't able to save file....

I attached some C code and assembly codes which I have tested but not working....

thanx...
 

Attachments

  • GSM.rar
    134 KB · Views: 135

There are three versions of project files and additional code in .txt files. Which one should I consider?
 

I sorry the main Code I forgot to upload

here is the main code
 

Attachments

  • GSM.txt
    6.5 KB · Views: 124

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top