GPS speedometer

For general Flowcode discussion that does not belong in the other sections.
Post Reply
zoli2496
Posts: 28
http://meble-kuchenne.info.pl
Joined: Wed Sep 22, 2021 7:23 am
Been thanked: 2 times

GPS speedometer

Post 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 146 times

zoli2496
Posts: 28
Joined: Wed Sep 22, 2021 7:23 am
Been thanked: 2 times

Re: GPS speedometer

Post by zoli2496 »

Hello.

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

Thank you.
Attachments
GPS_TESZT_SPEED_NANO_NMI.fcfx
(13 KiB) Downloaded 161 times

Steve-Matrix
Matrix Staff
Posts: 1472
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 349 times

Re: GPS speedometer

Post 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.

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: GPS speedometer

Post by chipfryer27 »


BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 503 times
Been thanked: 686 times

Re: GPS speedometer

Post 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.

Post Reply