Announcement

Collapse
No announcement yet.

Adding GPS to my RPi2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DemonLee
    replied
    Originally posted by rueckwaertsflieger View Post
    :-) , nothing except for this is a flightradar24 forum :-)
    If you really want to add GPS to the RSPi, then check out this https://www.pi-supply.com/product/ad...v=79cba1185463

    A friend recently purchased one and being a tech geek and a wizard at what he does, had it all up and configured in under 1/2 a day...

    Leave a comment:


  • rueckwaertsflieger
    replied
    Originally posted by StupidDoes View Post
    whats with the attitude @rueckwaertsflieger. ...
    :-) , nothing except for this is a flightradar24 forum :-)

    Leave a comment:


  • Mike
    replied
    Originally posted by StupidDoes View Post
    Mike,
    Would a GPS receiver that uses the GPIO on the RPi work any better than a USB GPS device?
    Thanks
    Today FR24 only accept GPS data from the FR24 receiver. So it does not matter how and where you connect a GPS the data will not be used. We are investigating other options but the timing is really crucial here, and at the moment only FR24 receiver GPS data is used.

    Leave a comment:


  • Oblivian
    replied
    It's not an attitude. Hes just making sure its very clear.

    Given the thread you started to continue on has the first post based solely on that. And first post went down the same road asking the cheif if it made a difference if it was a different type

    Would a GPS receiver that uses the GPIO on the RPi work any better than a USB GPS device?
    Thanks
    Before going astray from the original

    Leave a comment:


  • StupidDoes
    replied
    Originally posted by rueckwaertsflieger View Post
    (For the last time,) please be aware, the GPS rceiver will give no advantage for an ADS-B app. It is quite some kind of an effort to implement the PPS improvement for system clock precision.
    whats with the attitude @rueckwaertsflieger. Who actually said it was solely for FR24???

    Thanks for your input @SpaxmoidJAm I appreciate it!

    Leave a comment:


  • rueckwaertsflieger
    replied
    Yes SpaxmoidJAm, thank you, that's one of the good references I cannot post here.

    @StupidDoes
    Please pay extra attention to section "Configuring Linux for PPS on the GPIO port" because recent Raspbians definitely do require less things to do than older tutorials say, guess how I know - summary at the end. If you want use the GPS time feed additionally you best install gpsd, though ntp is even enabled to read from serial port GPS without GPSD module as well, using driver 20 (without gpsd). Have fun.


    Things to do with a raspberry, when attaching a serial GPS receiver - short form:

    Serial port, if you want connect the GPS feed, use the whole story (I guess you want)
    free the tty at boot time, in:
    /boot/cmdline.txt commentout:
    # `console=ttyAMA0,115200`
    # and `kgdboc=ttyAMA0,115200`

    remove/comment the default tty configuration.
    /etc/inittab comment out
    # Spawn a getty on Raspberry Pi serial line
    # T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

    Todo for PPS kernel support
    /boot/config.txt add
    dtoverlay=pps-gpio # default-pin is 18
    init_uart_baud=9600 # only if GPS is attached to UART (serial port)

    pps-gpio module to be loaded at boot time, in:
    /etc/modules add
    pps-gpio

    Then proceed with editing ntp.conf regarding the link from SpaxmoidJAm.

    Leave a comment:


  • SpaxmoidJAm
    replied
    yes but you could learn from the experiance and you would end up with your NTP time server for everything else in your home

    http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html

    i learned a lot from this page in setting up a ntp server on a beaglebone.

    Leave a comment:


  • rueckwaertsflieger
    replied
    (For the last time,) please be aware, the GPS rceiver will give no advantage for an ADS-B app. It is quite some kind of an effort to implement the PPS improvement for system clock precision.
    The cheap one is the one I am using successfully. Big disadvantage is you have to have advanced soldering skills to pick up PPS. The higher priced one exposes the PPS signal to a "real" pin on the header besides the all expected RxTx signals. Should work also. In case, I am allowed to post links here, I will report them later.

    Leave a comment:


  • StupidDoes
    replied
    Originally posted by rueckwaertsflieger View Post
    This forum software is funny, stating: "Sorry rueckwaertsflieger, you are not allowed to post links in the forums. You must have a minimum of 4 posts in order to post links. You currently have 4 posts."
    Im having the exact same issues yet as of posting this I have 7? there a few on ebay but im not sure if these are just your typical cheap Chinese SH! or not. albeit there of a 12-17 id be more than prepared to spend that little bit extra on one that actually works correctly and not going to break after a few uses!
    Cheap one
    Higher priced one

    Leave a comment:


  • rueckwaertsflieger
    replied
    GPS Receiver / defeating funny forum software

    Originally posted by StupidDoes View Post
    So what GPS module would you recommend?? ....
    Recommending is somehow difficult, because I did it once. Which level of experience do you expect from such a person? To understand this statement read: "could be link" (this phrase denotes a link, which I am not allowed to post here)
    OK, I use this one: "could be link" and from what I am reading, Ublox Neo6 or higher devices do a pretty good job. For getting the PPS signal, you have to solder a wire to Pin3 of the Ublox module. "could be link" After some search you should be able to identify a device with the PPS signal connected to a soldering point as such.
    If you want to dig deeper, try: From this website you can get ample information on what to do. "could be link" But my last clue again is: For using PPS and gaining great time accuracy you do not need a GPS time input necessarily but PPS from GPS. You might use the common NTP scheme as well. Precision is about intergrating the PPS functionality, most easy from a GPS receiver. PPS is setting up NTP and (preferably) GPIO 18 on the Pi. Just one pin, no recompile of NTP, which you probably will find in old howtos.
    Enable PPS via device tree and edit ntp.conf. Eventuelly install GPSD for gaining full GPS functionality.

    This forum software is funny, stating: "Sorry rueckwaertsflieger, you are not allowed to post links in the forums. You must have a minimum of 4 posts in order to post links. You currently have 4 posts."

    Leave a comment:


  • Oblivian
    replied
    The simple point is, Investing in a GPS unit won't help anyone currently and will be a waste.

    The software is hardcoded to probe NTP periodically and sync before sending data as part of its processing. Adding a device won't change that.

    (unless of course you have it for other reasons outside the FR24feed process)
    Last edited by Oblivian; 2016-01-05, 22:17.

    Leave a comment:


  • rueckwaertsflieger
    replied
    Sorry, newbies on this forum are not allowed to post links.

    Leave a comment:


  • StupidDoes
    replied
    Do not expect the setup as a plug and play one. There are bad GPS receivers out there. You have to tweak things.
    So what GPS module would you recommend?? I was looking at one of the microstack ones off ebay?

    Leave a comment:


  • rueckwaertsflieger
    replied
    Originally posted by StupidDoes View Post
    Mike,
    Would a GPS receiver that uses the GPIO on the RPi work any better than a USB GPS device?
    Thanks
    Yes, there is a pulse per second feature built in the ntp, driver 22. If you use this with a GPS derived PPS signal, connected to one GPIO of the Raspberry, its system clock will sync much more precisely than with clicks from other NTP servers around. NTP will manage this well without letting the PPS signal fight against the other time sources. Accuracy will become as good as some few microseconds rather than a couple of milliseconds without PPS.
    To make things better: using a serial GPS receiver, you might provide position and time with much less jitter than via USB. The PPS thing is not dependant on any GPS position feed though. PPS is NTP-related.
    Do not expect the setup as a plug and play one. There are bad GPS receivers out there. You have to tweak things.
    By the way: As far as I know, the flightradar application does not improve with precision of the system clock. Even the MLAT thing cannot participate from a better system time (yet?).

    Leave a comment:


  • StupidDoes
    replied
    Mike,
    Would a GPS receiver that uses the GPIO on the RPi work any better than a USB GPS device?
    Thanks

    Leave a comment:

Working...
X