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.

how to send mail through GSM(SIM300) in 8051

Status
Not open for further replies.

Embedded Partner

Full Member level 5
Joined
Nov 29, 2010
Messages
247
Helped
42
Reputation
84
Reaction score
37
Trophy points
1,308
Location
Hubli(INDIA)
Activity points
2,636
i am working on the project that to send the email through GSM which containing inbuilt GPRS
1st tel me how i can initialize my project
 

First you have to learn basic interfacing with GSM/GPRS modem
learn AT commands.. try to do simple interfacing with modem like dialing no, sending/recieving sms, checking signal strength etc.
then you start GPRS related commands
 

First you have to learn basic interfacing with GSM/GPRS modem
learn AT commands.. try to do simple interfacing with modem like dialing no, sending/recieving sms, checking signal strength etc.
then you start GPRS related commands

i have done some operations on this GSM
i.e
reading sms
sending sms
calling
receiving
and so on but i dont know how to interface GPRS just i m reading GPRS commands but i m not getting them
 
Last edited:

Maybe nikhilele is not aware of your capabaility, nor i am. so before asking help, make sure that your request is understood by others properly.
and dont be rude when you are asking for help.

nikhilele or nobody is nobody's servant here

---------- Post added at 21:28 ---------- Previous post was at 21:26 ----------

What are the other things you did no this modem. did you do DTMF projects, or Multi call handling algorithm, or fax, or network enhancement, or anything of any sort
 

i have learnt and done some mini projects .....
just tel me how can i read the gprs
 
Last edited:

First of all, your requirements are not clear.
Second thing it is impossible to read GPRS lat and longitude as GPRS never gives these details. Understand the difference between GPRS and GPS if it is not typing error
third These details are given by GPS.

If you want to learn GPS then read the data sheet you have and tell what kind of GPS is that you are using, model no, and make ( dont forget to put in these details)
 

dude i have done many operations on this GSM
i.e
reading sms
sending sms
calling
receiving
and so on but i dont know how to interface GPRS just i m reading GPRS commands but i m not getting them

If you have done all these things please read data sheet and do the rest too
 

hello friends if that post hearts u, then i m sorry:-x



there r some GPRS commands are der
1st of all to send the mail i should receive the GPRS setting from the service isn't it?
please tel me how i can receive the settings

---------- Post added at 07:23 ---------- Previous post was at 07:18 ----------

confirm GPS or GPRS. and which GPS

i am using SIM300 7.03 vertiion GSM modemwhich is having inbuilt GPRS
i wanna send mail
 
Last edited:

i have learnt and done some mini projects .....
just tel me how can i read the gprs alt and longt

Finally my understanding is that you need only GPRS functionality not longitude and latitude information. Am i right.

Did you understand how the session is initiated, how server connection is done or you want basic practical implemantation
 

please tel me how should i initiate this project
and also here is the GSM development guide
 

Attachments

  • GSM Developer Guide - GSM AT Commands - Rev A.pdf
    1.2 MB · Views: 253

hi ckshivaram
please tell me now in my airtel sim card GPRS is enabled , what is the next step? please please
 

AT //ATTENTION COMMAND
ok



AT+CGREG? //NETWORK REGISTRATION STATUS
AT+CGREG=1
STETUS SHOULD BE 1,1


Parameter
<n> 0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CGREG:<stat>
2 enable network registration and location information unsolicited result code +CGREG: <stat>[,<lac>,<ci>]
<stat>
0 not registered, ME is not currently searching a new operator to register to
1 registered


AT+CGATT? //ATTACH/DETACH FROM GPRS SERVICE

AT+CGATT=1 //ATTACH GPRS SERVICES


<state> indicates the state of GPRS attachment
0 – detached
1 – attached
Other values are reserved and will result in an ERROR response to the execution command.


AT+CSTT="airtelgprs.com","","" //START TASK AND SET APN, USER NAME, PASSWORD

AT+CIICR //BRING UP WIRELESS CONNECTION WITH GPRS OR CSD

AT+CIFSR //GET LOCAL IP ADDRESS

AT+CIPSTART="TCP","74.125.79.83","80" //GMAIL SERVER IP ADDR AND PORT NO.
OK
CONNECT OK

AT+CIPSEND(ENTER)
>MESSAGE
CTRL z
SEND
OK



follow this, it worked for me doe simcom module

--------------------------------------------------------------------------------
 
i m sorry my program is strucked after entering cntl+z

where may be the problem please

---------- Post added at 14:54 ---------- Previous post was at 14:12 ----------

AT //ATTENTION COMMAND
ok



AT+CGREG? //NETWORK REGISTRATION STATUS
AT+CGREG=1
STETUS SHOULD BE 1,1


Parameter
<n> 0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CGREG:<stat>
2 enable network registration and location information unsolicited result code +CGREG: <stat>[,<lac>,<ci>]
<stat>
0 not registered, ME is not currently searching a new operator to register to
1 registered


AT+CGATT? //ATTACH/DETACH FROM GPRS SERVICE

AT+CGATT=1 //ATTACH GPRS SERVICES


<state> indicates the state of GPRS attachment
0 – detached
1 – attached
Other values are reserved and will result in an ERROR response to the execution command.


AT+CSTT="airtelgprs.com","","" //START TASK AND SET APN, USER NAME, PASSWORD

AT+CIICR //BRING UP WIRELESS CONNECTION WITH GPRS OR CSD

AT+CIFSR //GET LOCAL IP ADDRESS

AT+CIPSTART="TCP","74.125.79.83","80" //GMAIL SERVER IP ADDR AND PORT NO.
OK
CONNECT OK

AT+CIPSEND(ENTER)
>MESSAGE
CTRL z
SEND
OK



follow this, it worked for me doe simcom module

--------------------------------------------------------------------------------

thankyou
it is working but i wann to know that where the msg has been sent and from which website?

---------- Post added at 15:14 ---------- Previous post was at 14:54 ----------

hi ckshivaram
i got to know that IP address is for Google
and i want to know how i can send email
 
Last edited:

AT
OK
AT+CGDCONT=1,"IP","orangeinternet","192.168.71.35" ,1,1
OK
AT+CDNSCFG="158.043.192.001","158.043.128.001"
OK
AT+CSTT="orangeinternet","",""
OK
AT+CIICR
OK
AT+CIFSR
10.52.83.134
AT+CIPSTATUS
OK

STATE: IP STATUS
AT+CIPHEAD=1
OK
AT+CDNSORIP=1
OK
AT+CIPSTART="TCP","www.google.com","80"
OK

100% working from one of the friends in this forum
https://www.edaboard.com/threads/195026/
 
Last edited:

SIM300C does not talk about email support, only voice, data, sms, and fax in lower form factor. can you once check with its vendor.

my wavecom modem has internal support for that.
 
I think you need to check the software version i it and see if that version supports e mail facility
 
  • Like
Reactions: kenneth yego

    V

    Points: 2
    Helpful Answer Positive Rating

    kenneth yego

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top