EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / GPS and 8051 Prigramming Problem

GPS and 8051 Prigramming Problem

|

Microcontroller › 8051 › GPS and 8051 Prigramming Problem

  • This topic has 4 replies, 4 voices, and was last updated 14 years, 2 months ago by sailendra prasad dash.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 4, 2011 at 1:15 pm #1243
    Abdul Moiz Haroon
    Participant

    Hi,

        I’m making my university final project “Autonomous UAV” but I’m having problem with programming.

        Whenever I try to get a simple string for printing, it works perfectly, but when I try to do anything else with that, I get a broken string like 8051 is unable to handle all the chars coming from GPS.

       If I try to check ‘$’ sign it looses the other info so right after it only shows GGA instead of GPGGA.

        I’m Using 8051 with 11.0592 crystal, M89 Holux GPS.

       Please help me out with that.

       Thnx a lot!!!

    August 18, 2011 at 1:58 pm #6611
    mahendra singh
    Participant

    hii Abdul…

                       first u chck fr $GPGGA pattern and save it in a array…if u r not getting $GPGGA then again go back …when u got it then automattcally u can save the whole pattern of $GPGGA in an array….nw check for comma…now u know the exact position of commas iun the pattern…..then print it by order…time, lattitude, longitude…

    October 5, 2011 at 5:17 pm #6678
    SaLMAN Ahmed Khan
    Participant

    agree with mahendra singh …but are u interfacing gps using c sharp language???

    October 26, 2011 at 5:50 pm #6752
    Abdul Moiz Haroon
    Participant

    Thanks a lot guys but I have already solved the problem. I was trying to grab-&-check the string from the GPS simultaniously but the 8051 couldn’t handle it. But now I’m first collecting the string and then cropping out my needed data.

     

    But thanks a lot for help!!! ;)

    March 23, 2012 at 4:20 am #7321
    sailendra prasad dash
    Participant

    are you using string operation because i am too facing the same problem that you faced. I have used the program in following link

     

    http://www.engineersgarage.com/microcontroller/8051projects/extract-gps-receiver-details-8051-circuit

     

    but i think the controller is not able to find out $GPRMC.

    can you guide me regarding this.

     

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Battery discharger May 20, 2026
  • Relay question May 19, 2026
  • Phone Charger 5v to 12v May 19, 2026
  • reviving old swordfish program but? May 18, 2026
  • Assistance locating a 'trail' camera gadget, please ? May 18, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise