ESP32 GPS UART not working!

For general Flowcode discussion that does not belong in the other sections.
jgu1
Posts: 797
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Ben, Ben, tell me are you God, :lol: probaly not, but you are a master, it work, at least now I see the second is comming on the screen ;)

Later I test the other data from GPS and you hear. Thank you AGAIN. :D

Tell Leigh when he receive the GPS module, on of them is yours :lol:

Br jorgen.

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi Leigh!

I will hear, do you receive some GPS module from me, long time I send them?

Jorgen

BenR
Matrix Staff
Posts: 1940
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 689 times

Re: ESP32 GPS UART not working!

Post by BenR »

Hi Jorgen,

Modules received, many thanks :D

I found one waiting for me on my desk in the office ;) 8-)

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi Ben!
Your wlcome. Glad to hear, otherwise I have to track. :lol:

I have done some more test with the GPS work nice, buuuuut :lol: when I measure the groundspeed I measure compared with my navigator in the car,
I see:


26 km/h FC9 GPS > 50 Navigator km/h
53 km/h FC9 GPS > 100 Navigator km/h
70 km/h FC9 GPS >130 Navigator km/h

Do I forget some calculation or?


Thak´s in advance

Jorgen
Attachments
ESP32 ILI9341 GPSA.fcfx
(22.68 KiB) Downloaded 627 times

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi!

Little progress. After I change the Return variable from Int. to Float (as the it also should be :lol: ) the speed is now more liniary. But the speed I readout is only the half, so I have to multiply with 2. Is this the way???

I perform some test today with speed up to 70 km/h and compared with my navigator almost equal.

Tomorrow (monday) I have to drive a longer trip, my job, and I make some more readout and get some more experience and you hear.

Br jorgen
Attachments
ESP32 ILI9341 GPSAFloat.fcfx
(24.84 KiB) Downloaded 630 times

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi again!

By multiply the readout with 2 (why this?) and compared with navigator in my car and speedometer on my phone I get.

The FC9 GPS -------------- Navigator

Km/h 108 > 100 km/h
" 130 > 120 "
" 97 > 90 "
" 86 > 80 "
Ect..

Something to do please :D

Br jorgen

BenR
Matrix Staff
Posts: 1940
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 689 times

Re: ESP32 GPS UART not working!

Post by BenR »

Hi Jorgen.

GPS returns ground speed in knots. To convert from knots to kph multiply by 1.852 and hopefully that gets you close.

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi Ben!

ok, of course it make sense :D

Try tomorrow and convert, thank you Ben..

Br jorgen

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: ESP32 GPS UART not working!

Post by jgu1 »

Hi Ben!

Success it is very accurate now. Thank you :D

Br jorgen

Post Reply