All Projects → sparkfun → Qwiic_Ublox_Gps_Py

sparkfun / Qwiic_Ublox_Gps_Py

Licence: other
No description or website provided.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Qwiic Ublox Gps Py

HC-SR04 UltrasonicSensor
Arduino example code for the HC-SR04 ultrasonic ranging sensor.
Stars: ✭ 33 (-13.16%)
Mutual labels:  sparkfun
trackanimation
Track Animation is a Python 2 and 3 library that provides an easy and user-adjustable way of creating visualizations from GPS data.
Stars: ✭ 74 (+94.74%)
Mutual labels:  gps
nrf9160
LTE 4G link on nRF9160-DK (ARM Cortex-M33)
Stars: ✭ 20 (-47.37%)
Mutual labels:  gps
SparkFun CCS811 Arduino Library
A library to drive the AMS CCS811 air quality sensor
Stars: ✭ 38 (+0%)
Mutual labels:  sparkfun
Qwiic IMU BNO080
The BNO080/BNO085 IMU has a combination triple axis accelerometer/gyro/magnetometer packaged with an ARM Cortex M0+ running powerful algorithms.
Stars: ✭ 27 (-28.95%)
Mutual labels:  sparkfun
X-TRACK
A GPS bicycle speedometer that supports offline maps and track recording
Stars: ✭ 3,736 (+9731.58%)
Mutual labels:  gps
ublox
Arduino and CMake library for communicating with uBlox GPS receivers.
Stars: ✭ 89 (+134.21%)
Mutual labels:  gps
roam-reactnative
React Native Location SDK. High accuracy and battery efficient location SDK for iOS and Android by Roam.ai
Stars: ✭ 20 (-47.37%)
Mutual labels:  gps
surger
⚡ Is there surge pricing around me right now?
Stars: ✭ 20 (-47.37%)
Mutual labels:  gps
aic-mobile-ios
Art Institute of Chicago Official Mobile App
Stars: ✭ 29 (-23.68%)
Mutual labels:  gps
GPSService
Demonstrates how to use a service to regularly update a activity with data via callback. Also allows the activity to call functions on the service.
Stars: ✭ 16 (-57.89%)
Mutual labels:  gps
SparkFun SerLCD Arduino Library
A library to seamlessly control the SparkFun SerLCD over I2C, SPI, and Serial.
Stars: ✭ 18 (-52.63%)
Mutual labels:  sparkfun
Low power TTGO T-beam
Low power consumption for TTGO t-beam
Stars: ✭ 45 (+18.42%)
Mutual labels:  gps
Compass
Compass is a GPS tracking server that stores data in flat files.
Stars: ✭ 105 (+176.32%)
Mutual labels:  gps
rikitraki
This repository contains the client code of RikiTraki.com, a map-centric hiking log web application.
Stars: ✭ 16 (-57.89%)
Mutual labels:  gps
RouteConverter
The popular GPS conversion and editing tool
Stars: ✭ 123 (+223.68%)
Mutual labels:  gps
HPR-Rocket-Flight-Computer
A flight computer for high-powered rockets based on the Teensy platform. 4 programmable pyro outputs, Mach immune flight events, air-start & two-stage capable w/ tilt-sensing safety features, GPS & live telemetry. High-rate data logging at 1000 samples per second. 4.0in x 1.25in x 0.5in fits in a 38mm tube coupler.
Stars: ✭ 33 (-13.16%)
Mutual labels:  gps
Logic Level Bidirectional
Logic level converter bi-directional with Mosfets
Stars: ✭ 66 (+73.68%)
Mutual labels:  sparkfun
gpx-builder
Builder of GPX files
Stars: ✭ 25 (-34.21%)
Mutual labels:  gps
orange3-geo
🍊 🌍 Orange add-on for dealing with geography and geo-location
Stars: ✭ 22 (-42.11%)
Mutual labels:  gps

Qwiic_Ublox_Gps_Py

follow on Twitter

SparkFun GPS-RTK2 - ZED-F9P (GPS-15136) SparkFun GPS-RTK - NEO-M8P-2 (GPS-15005) SparkFun ZOE-M8Q Breakout (GPS-15193) SparkFun SAM-M8Q Breakout (GPS-15210)
SparkFun GPS-RTK Dead Reckoning - ZED-F9R (GPS-16344) SparkFun GPS-RTK Dead Reckoning Phat- ZED-F9R (GPS-16475) SparkFun GPS Dead Reckoning - NEO-M9N (GPS-15733)

This is a Python module for the SparkFun GPS products based on u-blox GPS modules.

This package is included in the overall SparkFun qwiic Python Package. While the module itself does not use I2C, it may none the less join the ranks when the Raspberry Pi has better support for clock stretching. None the less, a Qwiic connector has been included onboard so the GPS module can be used with our along side SparkFun's Qwiic products.

Contents

Supported Platforms

The u-blox gps Python package currently supports the following platforms:

Documentation

The SparkFun u-blox gps module documentation is hosted at ReadTheDocs

Installation

PyPi Installation

This repository is hosted on PyPi as the sparkfun-ublox_gps package. On systems that support PyPi installation via pip, this library is installed using the following commands

For all users (note: the user must have sudo privileges):

sudo pip install sparkfun-ublox-gps

For the current user:

sudo pip install sparkfun-ublox-gps

Local Installation

To install, make sure the setuptools package is installed on the system.

Direct installation at the command line:

python setup.py install

To build a package for use with pip:

python setup.py sdist

A package file is built and placed in a subdirectory called dist. This package file can be installed using pip.

cd dist
pip install sparkfun_ublox_gps-<version>.tar.gz
  

Example Use

from ublox_gps import UbloxGps
import serial
# Can also use SPI here - import spidev
# I2C is not supported

port = serial.Serial('/dev/serial0', baudrate=38400, timeout=1)
gps = UbloxGps(port)

def run():
  
  try: 
    print("Listenting for UBX Messages.")
    while True:
      try: 
        coords = gps.geo_coords()
        print(coords.lon, coords.lat)
      except (ValueError, IOError) as err:
        print(err)
  
  finally:
    port.close()

if __name__ == '__main__':
  run()

Examples Directory


  • geo_coords_ex1.py
    • Simple example showing how to get and print out latitude, longitude, and heading.
  • gps_time_ex2.py
    • Simple example showing how to UTC time and how to check its' validity.
  • dead_reckoning_ex3.py
    • Simple example showing how to use dead reckoning on dead reckoning modules. Make sure to take a look at our hookup guide for a detailed explanation on where to attach the module and how to calibrate it.
  • stream_nmea_gps_ex4.py
    • Simple example showing how to stream NMEA data from Ublox Modules.
  • modifying_configuration_settings_ex5.py
    • Simple example showing how change the configuration settings for the Ublox Module.
  • using_spi_ex6.py
    • Simple example showing how to use SPI. Module.

Attribution


This code is dependent on the work by daylomople and the awesome parsing capabilities of ubxtranslator.

To Do


  • Some bugs associated with SPI writes.
  • Add more Classes and Messages to sparkfun_predefines.py so that a greater variety of messages can be parsed.
  • Fix bug when getting configuration settings.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].