# GPS Odometer / Python code

**URL:** <https://discourse.nodered.org/t/gps-odometer-python-code/64916>\
**Category:** General\
**Tags:** function-node\
**Created:** [10 July 2022 20:30 UTC](https://discourse.nodered.org/t/gps-odometer-python-code/64916 "2022-07-10T20:30:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaDr](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@SaDr](https://discourse.nodered.org/u/SaDr)\
**Post date:** [10 July 2022 20:30 UTC](https://discourse.nodered.org/t/gps-odometer-python-code/64916/1 "2022-07-10T20:30:26Z")

</div>

Hello everyone, I've been trying to build a GPS Odometer for a few days now, with no success. I'm trying to interface the GPS output with Python code, but I don't have the knowledge. Could someone give me some advice or help? Thanks.

(google translator...:o)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 July 2022 20:49 UTC](https://discourse.nodered.org/t/gps-odometer-python-code/64916/2 "2022-07-10T20:49:01Z")

</div>

Are you doing this with Node-RED?  
If so what have you tried?  
Where are you having a problem?  
Show us your flow?

If your not using Node-RED you’ll need to ask for help somewhere else 🤨

---

<div class="post-metadata">

**Author:** ![SaDr](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@SaDr](https://discourse.nodered.org/u/SaDr)\
**Post date:** [11 July 2022 07:18 UTC](https://discourse.nodered.org/t/gps-odometer-python-code/64916/3 "2022-07-11T07:18:48Z")

</div>

GPS runs in Node-Red. My problem is that I can't connect the Funktion node (with javascript) and the NMEA output. (USB GPS on Raspberry). I found something on the net (the right side with scripts), but I need to "feed" them with the output from the GPS.  
And thanks for the response.

 ![GPS_odometer_flow_pic](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a59a48276712281c8e06d9d152ecdd726af71bc.jpeg)  
[gps\_odometer\_flows (1).json](https://discourse.nodered.org/uploads/short-url/u8PvTgEHTitVbd90xlIMGXJ1Mjf.json) (19.8 KB)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 September 2022 07:18 UTC](https://discourse.nodered.org/t/gps-odometer-python-code/64916/4 "2022-09-09T07:18:59Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
