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 speedometer
-
- Posts: 28
- http://meble-kuchenne.info.pl
- Joined: Wed Sep 22, 2021 7:23 am
- Been thanked: 2 times
Re: GPS speedometer
Hello.
Does "ReadGroundSpeed" in the macro return that international nautical mile? (nmi)
I converted the value to km/h.
Thank you.
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
-
- Matrix Staff
- Posts: 1472
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 349 times
Re: GPS speedometer
Raw GPS data returns ground speed in knots (nautical miles per hour) and so I assume the figure returned is in those original units.
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: GPS speedometer
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel