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 interfacing with ATmega16

Status
Not open for further replies.

IRF2233

Newbie level 2
Joined
Mar 27, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Islamabad Pakistan
Activity points
1,290
Dears i need a c code for sending a text message from a atmega16 to a specified number using gsm module/cell phone. I am using avrstudio as a IDE.
I am new to this so that why i need help.
and till now i haven't bought any gsm module so kindly recomend me some and can i will b done using a cell phone.

Kindly do reply or mail me at m.irfan_2233@yahoo.com
Thanks for your favour
 

I used Nokia 6610, Nokia 6610i and, Ericsson T18.
The command for sending a message is:


AT+CMGS="0000000000" -------> (Destination cell phone number)
Press Enter -----------------------> (Send the CR LF characters)
Enter your message --------------> (Write your text message)
Press Ctrl+z -----------------------> (Send the character CTRL+Z)
 

u can use this command and send this from microcontroller to gsm module.
1. AT+CMGF=1 //SMS TEXT MODE
2. AT+CMGS="YOUR NUMBER","GIVE ENTER"
"THIS IS THE MESSAGE"
"GIVE CHARACTER 26H"
 

I think the best way to do for u is using AT command Reference. AT command is standard for communication with almost GSM Modem devices. You can reference "AT command Standard" in Google.

Best and Regards,
 

first of all buy any cellphone with serial db9 serial cable most common is sony errison t280
then download at command manual
thr are some basic commands that are used to send receive and read sms
some are
at+cmgr
at+cmgs
at+cmgf
etc
all the commands will have to be transmitted from microntroller to modem thru serial cable
practice the commands on HYPERTERMINAL first then go for controller
 

give some more from the exsample-do you mean :
1 stored command in MCU to call a phome nomber ,at event .
2 sending commands from PC -MCU - sell phone?
or else?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top