sravani.thatha
Newbie level 6
now i have to receive the GPS RECEIVER data from the receiver and send it to an user mobile phone with the help of the GSM modem connected to the same controller with which GPS receiver is connected.
i could manage to work with GPS - ATMEGA2560 & GSM - ATMEGA2560 individually, but now simultaneously i have to work with GPS - GSM - ATMEGA2560. I have prepared RS232 cable so that at a time it can be connected to the controller,GPS,GSM. it is receiving data from GPS continuously but once it receives data for the first time it has to stop receiving data from GPS and start transmitting data to GSM in the form of command i.e.AT+CMGS="123456799";>message^z
and send this received data from GPS has to sent to user with mobile number 1234567899.
can anyone kindly help me in solving this problem. can i use RS232 in that form or is there any other choice of connecting those three (ATMEGA2560-GPS-GSM) at a time?
i could manage to work with GPS - ATMEGA2560 & GSM - ATMEGA2560 individually, but now simultaneously i have to work with GPS - GSM - ATMEGA2560. I have prepared RS232 cable so that at a time it can be connected to the controller,GPS,GSM. it is receiving data from GPS continuously but once it receives data for the first time it has to stop receiving data from GPS and start transmitting data to GSM in the form of command i.e.AT+CMGS="123456799";>message^z
and send this received data from GPS has to sent to user with mobile number 1234567899.
can anyone kindly help me in solving this problem. can i use RS232 in that form or is there any other choice of connecting those three (ATMEGA2560-GPS-GSM) at a time?