All Projects → FranzTscharf → Python-NEO-6M-GPS-Raspberry-Pi

FranzTscharf / Python-NEO-6M-GPS-Raspberry-Pi

Licence: other
Python script for the NEO-6M GPS module on the Raspberry Pi

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python-NEO-6M-GPS-Raspberry-Pi

warpi
"GUI" script running on a Raspberry Pi 4
Stars: ✭ 29 (-29.27%)
Mutual labels:  python-script, raspberry
Libgps
UART NMEA GPS library for Raspberry Pi
Stars: ✭ 60 (+46.34%)
Mutual labels:  gps, raspberry
Geolocation
Flutter geolocation plugin for Android and iOS.
Stars: ✭ 205 (+400%)
Mutual labels:  gps
Exiftool Vendored.js
Fast, cross-platform Node.js access to ExifTool
Stars: ✭ 200 (+387.8%)
Mutual labels:  gps
IG Automation Bot
Python tool for Instagram direct message automation with scheduler, quota management, user blacklist & autonomous user scrapping. Easily configurable through Yaml config files! Not maintained anymore in favor of IGopher (https://github.com/hbollon/IGopher)
Stars: ✭ 18 (-56.1%)
Mutual labels:  python-script
Mocs
My Own Car System, a Go & Qt application for your car
Stars: ✭ 218 (+431.71%)
Mutual labels:  gps
pyddos
DDOS python script
Stars: ✭ 266 (+548.78%)
Mutual labels:  python-script
RenameThemSubs
Rename multiple subtitles files to match video file names for automatic loading with just one click
Stars: ✭ 40 (-2.44%)
Mutual labels:  python-script
FusedBulb
Location fetch library.
Stars: ✭ 22 (-46.34%)
Mutual labels:  gps
Maps
🌍🌏🌎 The whole world fits inside your cloud!
Stars: ✭ 253 (+517.07%)
Mutual labels:  gps
Map Based Visual Localization
A general framework for map-based visual localization. It contains 1) Map Generation which support traditional features or deeplearning features. 2) Hierarchical-Localizationvisual in visual(points or line) map. 3)Fusion framework with IMU, wheel odom and GPS sensors.
Stars: ✭ 229 (+458.54%)
Mutual labels:  gps
Skylift
Wi-Fi Geolocation Spoofing with the ESP8266
Stars: ✭ 223 (+443.9%)
Mutual labels:  gps
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (-9.76%)
Mutual labels:  python-script
Luatelemetry
FrSky SmartPort(S.Port), D-series, F.Port and TBS Crossfire telemetry on all Taranis and Horus transmitters
Stars: ✭ 206 (+402.44%)
Mutual labels:  gps
anyfesto
Low cost Raspberry Pi /Linux based access point with audio, education and communications local content server. Inspired by the ideas of sharing with others. Anyfesto - a platform from which to speak.
Stars: ✭ 66 (+60.98%)
Mutual labels:  raspberry
Micropygps
A Full Featured GPS NMEA-0183 sentence parser for use with Micropython and the PyBoard embedded platform
Stars: ✭ 201 (+390.24%)
Mutual labels:  gps
Guidancesteering
Guidance Steering (AutoTrack) for Farming Simulator 19.
Stars: ✭ 228 (+456.1%)
Mutual labels:  gps
WeatherPi TFT
a weather display for a raspberry pi and a TFT display written in python3 and pygame
Stars: ✭ 66 (+60.98%)
Mutual labels:  raspberry
github-clear-merged-pull-requests
Clear merged pull requests ref (branch) on GitHub
Stars: ✭ 12 (-70.73%)
Mutual labels:  python-script
rpi boat utils
Utilities for Raspberry Pi, mostly for usage on a boat. Includes UART control scripts, traffic measurement tools for Mikrotik (RouterOS) and OpenWrt, AIS wireless daemon, AIS decoder and an extensible boat & IoT sensor daemon for Signal K.
Stars: ✭ 71 (+73.17%)
Mutual labels:  gps

Python-NEO-6M-GPS-Raspberry-Pi

Python script for the NEO-6M GPS module on the Raspberry Pi

1. Connecting Schema

Image of Yaktocat Image of Yaktoc2at Image of Yaktoc2at2 Image of Yaktoc2at2

2. Install the Dependencies

  • pip installed.
sudo apt-get install python-pip
  • you will need pynmea2.
sudo pip install pynmea2
  • You need the GPS software
sudo apt-get install gpsd gpsd-clients python-gps minicom

3. Configurate the services

  • Serial port modify cmdline.txt:
sudo nano /boot/cmdline.txt

and replace all with the following lines:

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
  • Change startup settings:
sudo nano /boot/config.txt

and at the end of the file add the following lines:

dtparam=spi=on
dtoverlay=pi3-disable-bt
core_freq=250
enable_uart=1
force_turbo=1
init_uart_baud=9600
  • reboot the system:
sudo reboot now
  • Configure the module for the 9600 rate:
stty -F /dev/ttyAMA0 9600
  • Connect AMA0 to the GPS Software First kill the process and add the device to gpsd tool
sudo killall gpsd
sudo nano /etc/default/gpsd

Edit the file /etc/default/gpsd and add your serial port in DEVICES, like

DEVICES="/dev/ttyAMA0"
  • Restart the Software
sudo systemctl enable gpsd.socket
sudo systemctl start gpsd.socket 
sudo cgps -s

4. Run the Example

These instructions will get you a quick start with the script and please check before if you have the dependencies installed. Also connect the raspberry like the obove schemata.

  • Look if the terminal output of the sensor works
cat /dev/ttyAMA0

or use:

cgps -s
  • Run the script
cd Python-NEO-6M-GPS-Raspberry-Pi
sudo python Neo6mGPS.py

The above examples can take up too 10-20min to find a GPS signal for the first time. After this the gps module will be able to find the gps signal a lot faster. That mean please leave the script or the cat command running for a coupe of minutes.

5. Example source code

import serial
import pynmea2
def parseGPS(str):
    if str.find('GGA') > 0:
        msg = pynmea2.parse(str)
        print "Timestamp: %s -- Lat: %s %s -- Lon: %s %s -- Altitude:
%s %s" %
(msg.timestamp,msg.lat,msg.lat_dir,msg.lon,msg.lon_dir,msg.altitude,m
sg.altitude_units)
serialPort = serial.Serial("/dev/ttyAMA0", 9600, timeout=0.5)
while True:
    str = serialPort.readline()
    parseGPS(str)

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].