Go to advanced search

by HasnainMoavia
Wed Apr 24, 2019 9:07 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

Thanks a lot everyone for being helpful and supportive. :)
All the discussion and information shared by you guys was really helpful.
by HasnainMoavia
Wed Apr 17, 2019 2:28 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

First you need to parse the raw GPS data into longitude and latitude values. There are some NMEA parsing libraries you can use for that.( maybe even some examples from adafruit how to use them too ) Can you please specify it with a link or some other further detail? The link to the code I am using ...
by HasnainMoavia
Wed Apr 17, 2019 1:35 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

Learn a bit of Python3 and a good way to do this and work out what you need to do is work your way through this project tutorial. https://projects.raspberrypi.org/en/projects/sense-hat-data-logger It's a datalogger (which is what you are doing ) but for the SenseHAT. Best part is you don't need a S...
by HasnainMoavia
Wed Apr 17, 2019 1:34 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

Do you have a GPS ? Do you know how it connects to the Pi ? What is the purpose of the text file ? Who or what should read the file later ? Should it contain raw GPS data or only serve as a log of positions ? How well do you know Python ? Yes I am using the GPS sensor of Adafruit. It is connected t...
by HasnainMoavia
Wed Apr 17, 2019 1:31 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

It probably relates to the OP's first port to the forum... https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=234357&p=1433628#p1433628 They are probably still using an Adafruit Ultimate GPS Breakout. I assume by this question they have managed to get the GPS board working, if so it would have...
by HasnainMoavia
Wed Apr 17, 2019 1:27 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

Re: How to save GPS Data to a text file?

Actually, I wants to save every gps (latitude and longitude) value which it changes when I start moving from one place to another. I wants to save it to .txt file which I can further plot on graph and can check the accuracy of the GPS sensor.
Please note, I am using Raspberry Pi 3.
by HasnainMoavia
Wed Apr 17, 2019 2:38 am
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 12
Views: 1155

How to save GPS Data to a text file?

Hello everyone!

I am new with Raspberry Pi and GPS.
I need some help that how can I save the data of the GPS sensor to .txt file on the Raspberry Pi using Python code?
Help will be appreciated.

Thanks
by HasnainMoavia
Tue Mar 05, 2019 11:23 am
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

Thanks a lot for your help and guidance. I am going to work soon over it and look for it's further errors. Question: a)Shall I keep configuring the GPS sensor using this Hard Setup way or shall I use FTDI cable to access the data on Raspberry Pi? I have few more question to ask regarding the FTDI ca...
by HasnainMoavia
Tue Feb 26, 2019 1:00 am
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

I am using the Hard way to configure and use the GPS module; not an FTDI cable, which transfers it to a usb cable. https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/uart-serial#the-hard-way-using-built-in-uart-8-15 There is a problem in the Install the CircuitPython GPS Library . I downl...
by HasnainMoavia
Mon Feb 25, 2019 1:21 pm
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

I am once again trying to do it all from the beginning. As given in the https://learn.adafruit.com/adafruit-ultimate-gps/circuitpython-parsing The first step is: https://github.com/adafruit/Adafruit_CircuitPython_GPS By going through the steps when I run this code: circuitpython-build-bundles --file...
by HasnainMoavia
Mon Feb 25, 2019 10:32 am
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

# Define RX and TX pins for the board's serial port connected to the GPS. # These are the defaults you should use for the GPS FeatherWing. # For other boards set RX = GPS module TX, and TX = GPS module RX pins. RX = board.RXD TX = board.TXD I have changed the respective as you said. It gives an err...
by HasnainMoavia
Sun Feb 24, 2019 9:59 pm
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

Yeah it's stated in the Python code in the link https://learn.adafruit.com/adafruit-ultimate-gps/circuitpython-parsing # Define RX and TX pins for the board's serial port connected to the GPS. [b]# These are the defaults you should use for the GPS FeatherWing.[/b] # For other boards set RX = GPS mod...
by HasnainMoavia
Sun Feb 24, 2019 8:50 pm
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

Re: AdaFruit Ultimate GPS Python Code Error

Yeah I have followed all the steps as given in the link, but it still gives the error which is in the python code. On the website of the forums of Adafruit, in case of any problem in the coding i.e. Python a link of Raspberrypi.org/forums is given and that is why I tried to look for a solution here....
by HasnainMoavia
Sun Feb 24, 2019 12:19 am
Forum: Python
Topic: AdaFruit Ultimate GPS Python Code Error
Replies: 18
Views: 2697

AdaFruit Ultimate GPS Python Code Error

Hello! I am new to Raspberry and Python. I am currently working over Adafruit Ultimate GPS Breakout. I believe I have fulfilled all the settings and libraries for the Ultimate GPS as given in it's handout given by the Adafruit site. When I run the code, it gives an error. Traceback most recent call ...

Go to advanced search