Comments (5)
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.
@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.
This time it wasn't me who replied :)
from tinygpsplus.
Ha, whoops, indeed. Credit where credit is due: sorry, @svdrummer :)
from tinygpsplus.
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)
- Satellites count is always zero but data exists
- problem with include header in a .h module HOT 2
- What a great gps library HOT 3
- no centisecond with Quectel/Mediatek GPS chips HOT 1
- Anything inside void loop if statement does not work...WHYYYY? HOT 2
- Add calculation mechanism for time-since-epoch (in sec and ms)
- Add doc string for `gps.time.age()` that says the return value is in `ms`
- v1.0.3a is invalid semantic versioning syntax
- Leap seconds and inaccurate time report HOT 4
- Is it work for L89 GPS module quectel? HOT 2
- Location: INVALID HOT 3
- Support for Beidou & GLONASS
- Multi-Constillation Support for custom Sentences
- Pull requests. HOT 3
- Error parsing NMEA sentence with TinyGPSPlus HOT 1
- link for the documentation down HOT 2
- No Data coming from module HOT 4
- ATGM336H Not Encoding HOT 4
- UBLOX-MAX-M10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinygpsplus.