CrazyEngineers
  • Interfacing GPS And GSM with Microcontroller

    Updated: Oct 27, 2024
    Views: 1.4K
    Hi,
    could u please explain me how to interface gps and gsm together with microcontroller(8051)
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • wassup

    MemberAug 20, 2009

    More 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.
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberAug 21, 2009

    well mostly GPRS and GSM modem are easily interface with microcontroller by simple Serial Communication called UART.
    Are you sure? This action cannot be undone.
    Cancel
  • bramin19

    MemberJan 19, 2011

    Re: 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.
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJan 22, 2011

    Re: interfacing gps with microcontroller

    bramin19
    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.
    #-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).
    Are you sure? This action cannot be undone.
    Cancel
  • shahrul

    MemberJan 27, 2011

    GSM, 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.
    Are you sure? This action cannot be undone.
    Cancel
  • sssss1616

    MemberMar 28, 2011

    Re: 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
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberMar 29, 2011

    Re: interfacing gps with microcontroller

    sssss1616
    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
    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.

    Or just post your demo code whatever you have tried.
    Are you sure? This action cannot be undone.
    Cancel
  • yashelectron

    MemberApr 8, 2011

    hello sir would u like 2 help me..........
    Are you sure? This action cannot be undone.
    Cancel
  • yashelectron

    MemberApr 8, 2011

    any body help me , is there any command to extract data from gps module when we interface with PC.
    plz help me it's argent.........
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberApr 9, 2011

    yashelectron
    hello sir would u like 2 help me..........
    Hello Yash,

    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?
    Are you sure? This action cannot be undone.
    Cancel
  • yashelectron

    MemberApr 10, 2011

    First 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
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberApr 10, 2011

    yashelectron
    First 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
    No problem mate, You're welcome to CE.

    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.
    Are you sure? This action cannot be undone.
    Cancel
  • yashelectron

    MemberApr 12, 2011

    hello 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!
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberApr 13, 2011

    yashelectron
    hello 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!
    Well i don't know exactly will take a look and let you know.
    Are you sure? This action cannot be undone.
    Cancel
  • krupa vachhani

    MemberJan 15, 2012

    i have to trasmit data serially from GPS to GSM using two UART micro-controller ....... which kind of coding i should use??........
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJan 16, 2012

    krupa vachhani
    i have to trasmit data serially from GPS to GSM using two UART micro-controller ....... which kind of coding i should use??........
    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?
    Are you sure? This action cannot be undone.
    Cancel
  • nauman_mrd

    MemberSep 15, 2012

    Hey 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?
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberSep 16, 2012

    yes we can connect gps and GSM to microcontroller 8051 family
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberSep 16, 2012

    yes 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.
    Are you sure? This action cannot be undone.
    Cancel
  • nauman_mrd

    MemberSep 16, 2012

    arunchary
    yes 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.
    Can you please write a code for the circuit that i have designed ?
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberSep 16, 2012

    yes, please send such that i can write......
    Are you sure? This action cannot be undone.
    Cancel
  • nauman_mrd

    MemberSep 17, 2012

    arunchary
    yes, please send such that i can write......
    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.

    Thanks
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberSep 19, 2012

    nauman_mrd
    Hey 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?
    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.

    I have used ARM7 with SIM900D and currently working on same. What is the part number of the GPS Module you are using?
    Are you sure? This action cannot be undone.
    Cancel
  • nauman_mrd

    MemberSep 20, 2012

    GPS 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.
    Are you sure? This action cannot be undone.
    Cancel
  • suhaila km

    MemberOct 20, 2014

    friends, 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
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register