Skip to content

linuxnico/neo-6M

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

neo-6M

Python 3 class for neo-6M GPS

required:

geopy library if you want to geolocalize your gps point

https://github.com/geopy/geopy

use:

    from neo6 import GpsNeo6

    gps=GpsNeo6(port="/dev/ttyUSB0",debit=9600,diff=2) #diff is difference between utc time en local time    

    while True:

        gps.traite()

        print(gps) # print all info

        print(gps.latitude,gps.longitude)

results

    heure: 15h49m20s
    latitude: 41.5906788889
    longitude: 8.7393938889
    vitesse: 0.251 km/h
    altitude: 147.4 metre(s)
    precision: 1 metre(s)
    Nombre de satelites vue: 13

Sorry for french text in results

About

python class for neo6-M GPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages