GithubHelp home page GithubHelp logo

GPS TEL0094 about tinygpsplus HOT 5 OPEN

PoloLastik avatar PoloLastik commented on July 17, 2024
GPS TEL0094

from tinygpsplus.

Comments (5)

svdrummer avatar svdrummer commented on July 17, 2024

We all started somewhere...However... these githubs are library issues, not really for hardware or script debugging.
Check your GPS unit manual, and you will most likely find that the GPS is 9600 baud and not 4800 baud. If which case,
change ss.begin(4800);
to ss.begin(9600);

A quick google on MY part shows the following for this module.

9600bps (default) (4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600) TTL interface
5V at 30mA (support 3.3V to 5V)
56-channel receiver
Extremely high sensitivity -161dBm

Notice the default 9600bps(default) line.

Hope this helps. Google is your friend.

from tinygpsplus.

mikalhart avatar mikalhart commented on July 17, 2024

@PoloLastik, I note that you have declared pin 6 as your RX pin in the SoftwareSerial ss declaration, but then written that you connected pin 6 to the GPS RX pin. Remember that RX from the microcontroller's viewpoint is TX from the GPS module's. The easiest fix at this point would be to change your software a bit:

SoftwareSerial ss(5, 6);

And yes, @TD-er is right: most modules these days are 9600 baud.

from tinygpsplus.

TD-er avatar TD-er commented on July 17, 2024

This time it wasn't me who replied :)

from tinygpsplus.

mikalhart avatar mikalhart commented on July 17, 2024

Ha, whoops, indeed. Credit where credit is due: sorry, @svdrummer :)

from tinygpsplus.

mikalhart avatar mikalhart commented on July 17, 2024

One more note: it's undeniably confusing, but this is the repo for the (imo) slightly more sophisticated TinyGPS++ library, whereas @PoloLastik's sample code is using the old TinyGPS. (I'm not suggesting you change, @PoloLastik, just observing the difference for later readers.)

from tinygpsplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.