I'm able to send AT commands to GSM modem,
but i am not able interface my 8051 to GSM model.
can i get sample inerfacing code for 8051 micro controller.
hi Venkatesh
Whether you got the code for interfacing 8051 with gsm modem.Y i am asking is,because i have the code.
Sakthi
Hi Sakthi,
I would be interested in knowing how this actually works,
I would like to know the interfacing part b/w GSM modem and Micro controllers. I am new to this Embedded world, I would be happy if some one could help me in following the right path.
Cheers,
Venu.
"I would like to know the interfacing part b/w GSM modem and Micro controllers"
As stated here many times already, the modem neither knows nor cares what is connected to its serial port. It makes no difference to the modem whether it is connected to a microcontroller, a terminal, a PC, or anything. All the modem knows is that it needs to receive AT commands as described in its Manual, and then it will react as described in its Manual.
So, obviously, the first thing you need to do is to read the modem's Manual!
Similarly, as far as the microcontroller is concerned, this is simply a matter of sending and receiving serial data.
All this has been discussed plenty of times here already - so follow the links already given in this thread, and do a search for "GSM Modem"
Thanks Andy,
I need a startup and I can take it from here.
Hi..I am facing the same problem as u did and the timegap is one year...I need help regarding the schematics of interfacing of the mobile phone with gps ofcourse uc is in there.Right now i have developed a vague sort of diagram but the problem is same that it is not working.Also this keil is new for me and i m trying to write a code for the transmission of gps strings from sms.Since you r already dome with this project i would be really thankful if u guide me in this way.
I already intefaced a 8051 with a Sony Ericsson T126. I can send and receive information from/to both devices. I tooks around 3 months to figure and realize out all about the connection. I also interfaced the 8051 with an Ethernet controller to conect It to Internet. In other words, It is possible to connect the old MCS-51 with the real world but It costs time, money and tons of errors.
Hi Abbas,
Well I have just started and I being busy with other assignments don't have time. I would be able to start this might be affter 2 weeks from now.
Thanx Venugopal, Well I will be very glad if u r able to help me out.I am working on this thing and now the problem is of the nand ic.When i will be connecting gsm modem and gps receiver with the uc i wil be needing the nand ic.How will i do this thing ,I am getting no idea about this .Plz help me out soon,I will b waiting....
u?
r?
i?
What NAND IC?
plz?
b?
Well as i have told u that gsm and gps will be interfaced thru uc.Since they can;t operate simultaneously so i am using nand operation so that i can use them but one at a time.First i will get data from gps and then switch to gsm to transmit it.That is wht i have thought till not.Tell me ur suggestion
"Tell me ur suggestion"
I suggest that you stop all this "ur" and other unnecessary abbreviation - as Per Westermark has hinted.
There is already a language barrier, and you are just confusing it further by over-abbreviating to the point of making your posts incomprehensible!
Please take the time to write your post in full, complete sentences using full, complete words.
The more effort you put into making your post clear and understandable, the more likely you are to get good help!
thru?
ur?
So, instead of talking about multiplexing a serial port, you throw in the word NAND, and expect the rest of the world to understand what you where thinking?
Then you specifically write that you don't know how to use a NAND IC. Why suggest a specific solution you don't know how it works, instead of describing the problem you have and ask for tips on how to solve it?
NAND gates are very general and can solve quite a lot of things, but multiplexing a number of signals (RX, TX and an unknown number of handshake lines) while making sure that the signals are non-inverted might not be the best situation to learn about the use of NAND gates.
I really recommend that you look at normal MUX chips, containing a number of two-to-one MUXes. They are trivial to use and very cheap. You could almost say that they where specifically made for solving this kind of problem...
There are plenty of 8051 derivatives available with two UARTs - why not just use one of them?
http://www.keil.com/dd/search_parm.asp
Get your system working like this first, then think about adding the complication of multiplexing if you still think it's worth it...
Remember that GSM modems can send unsolicited messages - you will miss them if they happen while the multiplexer is switched to the GPS... The converse may also be true of your GPS...
If you people are uncomfortable with the writing then I will try to improve it now. I am new to the field of microcontrollers and I am reading it from the book of Scott Mcknzie. So,I will not be needing NAND operation.Instead I can use the two UART of 8051. Can anybody suggest me the algorithm of the program.What I have thought is that first of all microcontroller will take a string from gps reciever and pick the string of lattitude and longitude.After that the microcontroller will send the AT commands to the GSM modem to send the lattitude and longitude as a sms.
It seems like you already have the algorithm.
The only think that remains is the startup - to initialize the processor (I/O pins, serial ports, baudrate, interrupt handlers, time keeping...).