Hi
I have spent the last 2 days looking for a solution to what I would think is a simple problem.
I have googled and read all i can seem to find. My programming skills are poor to say the least but i can usually work my way through a problem but this has me totally stumped. I want to produce a satellite signal strength monitor for my nextion based project. i need to get the satelite Number and snr value for each active satellite and send these to the relevant variables on nextion. using the included exmple in the tinygps library I can get the info but it is all in a single line what i need is to be able to send the individual information for each one eg.
sat 1 id= 2 snr = 35
sat 2 id= 4 snr = 65
idealy i want a1 = sat1 id b1=sat1 snr and so on
thanks for any help but cant afford to loose much more sleep
What does this single line of data look like?
hi this is the result from serial monitor
Sats=8 Nums=1 2 3 4 6 9 11 12 17 19 25 31 39 SNR=30 35 50 36 32 37 33 34 23 31 0 32 38
Sats=8 Nums=1 2 3 4 6 9 11 12 17 19 25 31 39 SNR=30 35 50 36 31 37 33 35 24 30 0 32 38
Sats=8 Nums=1 2 3 4 6 9 11 12 17 19 25 31 39 SNR=30 35 50 37 31 37 33 35 26 30 0 32 38
what i need is
vala1=1 valb1=30
vala2=2 valb2=35 etc etc
You're going to need some code to parse those strings.
Is that literally what you got from serial? It looks like the first number is the count of visible satellites, but you have sat numbers and SNR for more than eight.
the sats number is the ones that are locked and in use for navigation
think it will nearly always show 12
Would you be interested in doing this without using the TinyGps++ library? The library is useful but not necessary.
I too need to monitor the signal strengths so I built an Android app to do it:
Take a look at the Serial Input Basics tutorial, posted on the forum.
It is unusual (maybe abnormal) to get such a large number of sat signals at such strong levels.
Can you see if you are getting azimuth and elevation for all of them?
It is working wine I have a external antenna hooked up and it is some 30 foot up in air I have managed to do most of this now will post the code once I have it all cobbled together and hopefully any errors or simplifications can be added
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.