Page 1 of 1

GPS speedometer

Posted: Sun Sep 11, 2022 6:02 am
by zoli2496
Hello.

I want to build a speedometer with a 7 segment display. I want to use the GPS macro for this. What should I set in the GPS settings? How and which macro component should I use to read the speed value in km/h from the GPS?

I guess it's not that simple. I have attached a file.

Thank you very much.
GPS_TESZT_SPEED_NANO.fcfx
speedometer
(10.81 KiB) Downloaded 161 times

Re: GPS speedometer

Posted: Sun Sep 11, 2022 6:59 pm
by zoli2496
Hello.

Does "ReadGroundSpeed" in the macro return that international nautical mile? (nmi)
I converted the value to km/h.

Thank you.

Re: GPS speedometer

Posted: Mon Sep 12, 2022 9:23 am
by Steve-Matrix
Raw GPS data returns ground speed in knots (nautical miles per hour) and so I assume the figure returned is in those original units.

Re: GPS speedometer

Posted: Mon Sep 12, 2022 9:31 am
by chipfryer27

Re: GPS speedometer

Posted: Mon Sep 12, 2022 10:21 am
by BenR
Hello,

Looks like your program should be about right. If it's not working then maybe check the baud rate of the GPS is correct and that the GPS is in a place where it can get a signal.