free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Rickey's World :: Discussion Forums :: Discuss and Learn :: E-books and Tutorials :: 8051
 
<< Previous thread | Next thread >>
GPS/SMS tracking system implementation problem
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
amarhw
Fri Aug 14 2009, 04:26PM
 User Offline
Registered Member #21374
Joined: Fri Aug 14 2009, 04:18PM

Posts: 15
Thanked 0 times in 0 posts
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 .

Back to top

compaq
Fri Aug 14 2009, 10:03PM
 User Offline
Registered Member #19841
Joined: Wed Jul 01 2009, 02:17AM

Posts: 79
Thanked 0 times in 0 posts
hy i am doing the same project
u have to first interpret those strings n extract values of latitude and longitude from those strings
and then sms tht
8051 has 1 uart so u have to write one uart ur self
hope u got tht
Back to top

amarhw
Fri Aug 14 2009, 11:53PM
 User Offline
Registered Member #21374
Joined: Fri Aug 14 2009, 04:18PM

Posts: 15
Thanked 0 times in 0 posts
Hi
You mean while I am receiving the data from the GPS I should interpret the coordinates ?
can you tell me how I can receive from UART 0 ?
Thanks Compaq
Back to top

compaq
Sat Aug 15 2009, 02:35AM
 User Offline
Registered Member #19841
Joined: Wed Jul 01 2009, 02:17AM

Posts: 79
Thanked 0 times in 0 posts
yea exactly i have to recieve gps data from tx rx of the microcontroller at 4800 baud rate and then u have to interpret that data and send it to any other tx of ur controller
and u have toy write one of your own uart for tht u will find its code in downloads ..
Back to top

amarhw
Sat Aug 15 2009, 04:29AM
 User Offline
Registered Member #21374
Joined: Fri Aug 14 2009, 04:18PM

Posts: 15
Thanked 0 times in 0 posts
Thanks
How I can convert .hex file to C code ?
By the way , you do not need to connect the Rx pin of the GPS to the Tx of the microcontroller.
My idea is to connect the GSM module to UART0 because it is easier to send and receive using it, and connecting the GPS to P1.4 .
Back to top

 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems