amarhw
Junior Member level 1
sms tracking
Hi
I am trying to do this project using GPS+SMS modules and 8051 (XAG49 ) microcontroller with RIDE simulator using C language.
The idea is :
The SMS module receive a massage then the location send back to that sender .
Therefore I should connect the SMS and GPS module with the MC using UART0 and UART1 in the same time. When the request of location received, the MC should read it and read the coordinates ( which is a long string of data ,therefore, I think that I should store it in the RAM then take only the coordinates from it ) and send it back to the sender.
The problems is :
How I can read from UART0 and UART1 using C language?
How can I save the string of data that the GPS send continuously in the RAM to take the part contain the coordinates ? Or there are other idea to take the useful part from the data string that the GPS send in a continuously.
Thanks in advance .
Hi
I am trying to do this project using GPS+SMS modules and 8051 (XAG49 ) microcontroller with RIDE simulator using C language.
The idea is :
The SMS module receive a massage then the location send back to that sender .
Therefore I should connect the SMS and GPS module with the MC using UART0 and UART1 in the same time. When the request of location received, the MC should read it and read the coordinates ( which is a long string of data ,therefore, I think that I should store it in the RAM then take only the coordinates from it ) and send it back to the sender.
The problems is :
How I can read from UART0 and UART1 using C language?
How can I save the string of data that the GPS send continuously in the RAM to take the part contain the coordinates ? Or there are other idea to take the useful part from the data string that the GPS send in a continuously.
Thanks in advance .