Go Down

Topic: Need advise to simulate GPS data (Read 600 times) previous topic - next topic

GekoCH

Hy

I do receive with my Arduino different values which represent altitude, time , log, lat etc.
I collect them all and send it through the serial port back but in the NMEA format.
I store all vlaues in integer and now I need to put them together with checksum
to send it through serial port:

Example:

time = 191410
lat = 47355634
lon = 7393538
etc

=> $GPRMC,191410,A,4735.5634,N,00739.3538,E,0.0,0.0,181102,0.4,E,A*19

How can I achieve this the fastest way?

Thx
Andy

NI$HANT

Try out processing to read on the Port and get the values from there and display as needed.
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

AWOL

Quote
How can I achieve this the fastest way?

If it is going out over a serial link, I don't really see that speed is all that important.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

GekoCH

thats true so sprintf() would be fast enough?


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy