Interfacing GPS And GSM with Microcontroller
Hi,
could u please explain me how to interface gps and gsm together with microcontroller(8051)
could u please explain me how to interface gps and gsm together with microcontroller(8051)
Replies
-
wassupMore information required buddy. What module of GPS do you have? What are you trying to do ?
If you are doing complex stuff move on to DSPs not microcontrollers. -
Harshad Italiyawell mostly GPRS and GSM modem are easily interface with microcontroller by simple Serial Communication called UART.
-
bramin19Re: interfacing gps with microcontroller
can u please give ideas on how to write code for MCU to extract data from GPS reciever?
I wish to use 8051. suggest me a GPS reciever. -
Harshad ItaliyaRe: interfacing gps with microcontroller
#-Link-Snipped-# This is the GPS Module and you have to simple extract the bytes from the data you received from GPS module to your Controller via UART (SERIAL).bramin19can u please give ideas on how to write code for MCU to extract data from GPS reciever?
I wish to use 8051. suggest me a GPS reciever. -
shahrulGSM, use UART to send AT Command. Ex #-Link-Snipped-#.
GPS, use UART to read NMEA protocol.
If you combine this 2, you need microcontroller that have 2 UART. -
sssss1616Re: interfacing gps with microcontroller
friend can you give brief idea about the c-language code for how to display latitude & longitude on lcd through sunrom gps with microcontroller using NMEA protocol -
Harshad ItaliyaRe: interfacing gps with microcontroller
Before that Do you have interfaced your LCD with Controller? and its working properly? If then you just have to extract the Latitude and Longitude from the string you received from GPS Module. and put it on LCD.sssss1616friend can you give brief idea about the c-language code for how to display latitude & longitude on lcd through sunrom gps with microcontroller using NMEA protocol
Or just post your demo code whatever you have tried. -
yashelectronhello sir would u like 2 help me..........
-
yashelectronany body help me , is there any command to extract data from gps module when we interface with PC.
plz help me it's argent......... -
Harshad Italiya
Hello Yash,yashelectronhello sir would u like 2 help me..........
Sure we are here to help you mate, But please follow some basic rules of this forum.
Okey now back to your problem. Can you please let us know that which GPS Module you are using? -
yashelectronFirst i m sorry that i posted 2 time .by mistake(when i was posting my thread it was not showing due to disconnection of net ,that's why i tried again ) i hv posted 2 times. sir u can delete "interfacing pic micro controller with GSM " threade .
Now thanks for Repply actually i want to about interfacing of GPS moudule with 16f877.i hv worked on GSM module.Please can u refer me any advance GPS module. Sir first i want to confident about elementary knowledge interfacing GPS module wd mic , then i want 2 go on hardware part bcs i buy module from foreign country .
So it is humble request to guide me. 1. pls tell me how extract data from gps so that i can display long/alti on display ,is there any command like AT for GSM.
2.Since there is need of two usart tell me any pic series mic,so that i can read about that .but firstly i want 2 concentrate on only extracting data only -
Harshad Italiya
No problem mate, You're welcome to CE.yashelectronFirst i m sorry that i posted 2 time .by mistake(when i was posting my thread it was not showing due to disconnection of net ,that's why i tried again ) i hv posted 2 times. sir u can delete "interfacing pic micro controller with GSM " threade .
Now thanks for Repply actually i want to about interfacing of GPS moudule with 16f877.i hv worked on GSM module.Please can u refer me any advance GPS module. Sir first i want to confident about elementary knowledge interfacing GPS module wd mic , then i want 2 go on hardware part bcs i buy module from foreign country .
So it is humble request to guide me. 1. pls tell me how extract data from gps so that i can display long/alti on display ,is there any command like AT for GSM.
2.Since there is need of two usart tell me any pic series mic,so that i can read about that .but firstly i want 2 concentrate on only extracting data only
well here is the one GPS Module have a look at its data-sheet and they have mentioned everything there if you want to interface with PC then one software is also available you can trial on that. #-Link-Snipped-#
And here one more GPS module available #-Link-Snipped-#
Well i have not much knowledge of PIC series controller so i can help to select the controller but there are many controller available with 2 UART in higher range. -
yashelectronhello sir thanks for yr kind reply;
Sir i hv read gps data sheet and every thing is clear in spite of confusion that-
1- Is gps receiver output all massages( GGA,GLL,GSA,GSV,RMC,VTC and ZDA) simultaneously that is given in data sheet at page 8?.
if it output all then we hv take data only GLL that contain "lattitued/longitude".
2- is it update al data at every second are more time.
Thankyou! -
Harshad Italiya
Well i don't know exactly will take a look and let you know.yashelectronhello sir thanks for yr kind reply;
Sir i hv read gps data sheet and every thing is clear in spite of confusion that-
1- Is gps receiver output all massages( GGA,GLL,GSA,GSV,RMC,VTC and ZDA) simultaneously that is given in data sheet at page 8?.
if it output all then we hv take data only GLL that contain "lattitued/longitude".
2- is it update al data at every second are more time.
Thankyou! -
krupa vachhanii have to trasmit data serially from GPS to GSM using two UART micro-controller ....... which kind of coding i should use??........
-
Harshad Italiya
That's very simple Your GPS Module gives you data serially you can save that data in your Microcontroller and after processing or without processing you can send it to GSM via another UART. And as you know these things can you explain your problem in detail please where exactly you stuck in coding?krupa vachhanii have to trasmit data serially from GPS to GSM using two UART micro-controller ....... which kind of coding i should use??........ -
nauman_mrdHey Dear Friend
i have designed this circuit in which i have interfaced GSM Module Sim900D and GPS M89 Module with Atmel 89c51. Can anybdy write code for me? -
aruncharyyes we can connect gps and GSM to microcontroller 8051 family
-
aruncharyyes we can do the interface of GSM and GPS with microcontroller with MAX232 as following circuit.7and 8 pin of MAX are connected to RXD andTXD of GSM respectively ,then GPS TXD is connected to 13th pin of MAX is connected to GPS TXD PIN and then UC is connected to 10th and 12th pin of max to RXD and TXD pins of controller to MAX.
it follows in below ckt with logic probs. -
nauman_mrd
Can you please write a code for the circuit that i have designed ?aruncharyyes we can do the interface of GSM and GPS with microcontroller with MAX232 as following circuit.7and 8 pin of MAX are connected to RXD andTXD of GSM respectively ,then GPS TXD is connected to 13th pin of MAX is connected to GPS TXD PIN and then UC is connected to 10th and 12th pin of max to RXD and TXD pins of controller to MAX.
it follows in below ckt with logic probs. -
aruncharyyes, please send such that i can write......
-
nauman_mrd
can you please provide me your email address so thati can send you the circuit. i am unable to attach a pdf file here in which i have my circuit.aruncharyyes, please send such that i can write......
Thanks -
Harshad Italiya
Have you tried to write code for the same? You just have to write serial communication command in case of 8051 same way GPS Module can be interfaced with SPI communication.nauman_mrdHey Dear Friend
i have designed this circuit in which i have interfaced GSM Module Sim900D and GPS M89 Module with Atmel 89c51. Can anybdy write code for me?
I have used ARM7 with SIM900D and currently working on same. What is the part number of the GPS Module you are using? -
nauman_mrdGPS used is Holux M89. connected with Serial port (RX) using Multiplexer (74157). because we need to data from GSM and GPS both at different time intervals.
-
suhaila kmfriends, please help me i want to interface gps and gsm module with ma pic 16f877a.i want to message the location to a mobile phone
You are reading an archived discussion.
Related Posts
i am final year mechanical engg student. i m searching for project
guys will u please explain me hw to organise a junkyard...i am new to this 😔 so i need some elaboration...plz!!!
i need ideas...
can any one suggest me the procedure for calculating the amount of effort applied for pushing the pedal of a cycle..so that i can calculate the torque applied.....!
My (all-girls) college is conducting the first ever tech fest in India where only girls can participate. We have a list of sponsors, we have a truckload of events and...
I have done MSc. in computers from pune university. After that i joined IT. Now i have 5+ years experience in Java/J2EE..i am working as a Senior Software Engineer in...