Those USB TV tuners used for SDR can also grab GPS data

Talk about versatile hardware. These inexpensive TV tuner dongles can also grab GPS data. You may remember seeing this same hardware used as a $20 option for software defined radio. But [Michele Bavaro] decided to see what other tricks they could pull off.

Would it surprise you that he can get location data accurate to about 20 centimeters? That figure doesn’t tell the whole story, as readings were taken while the dongle was stationary for three hours, then averaged to achieve that type of accuracy. But depending on what you need the data for this might not be a problem. And [Michele] does plan to implement real-time GPS data in his next iteration of the project. He plans to use an SDR acquisition algorithm to measure doppler shift in accounting for the slow clock speed of the dongles compared to standard GPS receivers. We can understand how that would work, but we’re glad he has the skills to actually make it happen because we’re at a loss on how the concept could be implemented.

[via Reddit]

Comments

  1. Temo says:

    Wait wait wait… How does it get triangulate? Like does it use satellites or does it do some other type of witchcraft.

    not trolling. I want to know.

    • Temo says:

      I apologise for the bad grammar. My brain is still pretty BLOWN

      • Tom says:

        I think the GPS satellites all put out incredibly well timed signals and by measuring the time differences betweent the signals you can work out where you are in relation to them.

    • Dale says:

      My understanding of GPS is each sat sends the signal with a timestamp. Knowing the sat orbit and time it sent the signal it’s position can be calculated. Then compare the differences in the send time from each sat and with 3 you can calculate the location relative to the sats, or with 4 the elevation is also possible.

      • Pilotgeek says:

        I’m pretty sure he knows how GPS itself works, but is wondering how this device actually ends up working as a GPS reciever. It appears as though it just uses the built-in television tuner to pick up the gps signals instead, and then uses cleverly written software to work out triangulation.

  2. tdbone1 says:

    just wanted to say that is pretty cool you can do both SDR and GPS with this project.
    I might have to order one of these just to have some fun
    thanks for sharing

    • malvineous says:

      Just to be clear, GPS is something you do with SDR. So any SDR can do GPS, as long as it covers the right frequency range. This is one of the reasons why SDR is so exciting, particularly at this price range.

  3. poisomike87 says:

    god I love reddit!~

  4. pelrun says:

    Wrong. There’s two stories in that blog post. The 20cm resolution thing is for a completely different piece of hardware, a dedicated GPS+GLONASS chipset.

    • galileo says:

      True.
      I read this a day or two ago (found a link on reddit).
      Anyway first part of a story is about a NVS Technologies NV08C-CSM receiver.

      Hopefully I will receive my dongle soon and test it as a Glonass receiver. It would be a great mod for a car computer. SDR and GPS all in one.

    • rasz says:

      yep
      RTL bit is only about him being able to see ‘any’ satellites at all on 8bit SDR

      • barsmonster says:

        8-bit resolution for GPS is actually an overkill.
        Production receivers use 1-bit ADC ;-)

        So with proper gain one could build decent GPS/GLONASS receiver on top of that TV thingy :-)

  5. Hirudinea says:

    This dongle is just the gift that keeps on giving.

  6. syale says:

    @Temo
    GPS uses trilateration not triangulation.

    From Wikipedia “In contrast to triangulation it does not involve the measurement of angles.”

  7. Chris says:

    There are two stories in Michele’s post. The first is about new developments in GNSS (GPS+Galileo+Glonass) particularly with regards to using Tomasu Tomaji’s INCREDIBLE RTKlib software ( rtklib.com ) with a subset of new hardware chips that enable access to RAW GPS DATA. The end of the article is about the RTL-SDR dongles, and how for the money, its surprising that it can pick up and track the satellites, although I didn’t get out of the article that he was able to calculate a PVT fix from that data. OTOH, using these new cheap RTKlib-compatible chips, it’s clear that you can get incredibly good accuracy. My results aren’t as good as Michele’s because my house is under some trees (and thats important) and I don’t have the highest quality antenna (I am using a Pctel GPS-TMG40 off of ebay) but I am able to get consistent accuracy well under a meter using standalone PPP. To do that much better than that you typically need two units, a base unit with an (absolutely) known position, and a clear sky view – no multipath- and a “geodetic grade” antenna at both locations. Ideally a very good antenna.

    You also may want to get your ephemeris data off the net directly from NASA.

    Then you can get accuracy down to one or two cm, or better!

    Check out rtklib.com and the author Tomaji Takasu’s home page. He also has posted a lot on the GPS-OSS mailing list.. He’s one of those extremely helpful people who make the net such a special place. His software has completely changed the game for GPS accuracy. A lot of big companies must be VERY displeased that he wrote his great software, which can and should also be used for teaching because it graphically illustrates the entire GPS process along with its internals, showing you at least a dizen kinds of science in action. RTKlib is a must see!

    Michele makes a great – tiny USB dongle, the Yuan 10- that uses the Skytraq S1315F GPS module, its not very expensive and its can output raw data – so with RTKlib, its the equivalent of a $1000+ surveying grade GPS.

    And as Michele mentioned, it can output that position with centimeter level accuracy *20 times a second*.

    Also, the new Fastrax he talks about looks very cool.

    Three of the Ublox chips also can output raw data.

    This is another place I should send you..

    http://gpspp.sakura.ne.jp/indexe.html and also

    http://gpspp.sakura.ne.jp/anteva/anteva.htm Its in Japanese but scroll down and look at the charts.

    His work is very, very good.

  8. Chris says:

    Crystal on the dongles is not accurate enough for positioning, is what I gather. On the other hand, he was able to use the satellites to test the sensitivity of the dongle, and using the SDR identify which satellites they were and where in the sky they were to give us that nice sky plot (thats quite useful for evaluating the receiver and antennas, as those satellite signals are weak but steady.) The sky plot is computationally simple because the satellites broadcast where they are continuously. Where *you* are is much more complicated and its a facinating journey getting to that solution, see my post about RTKlib above.

    RTKlib is like crack for physics teachers. The number of potential applications for it just makes you head spin.

    Mr. Takasu was able to measure earth movement in 3 dimensions in the Japanese earthquake last year.

    He also uses the varying speed of propagation to estimate the level of water in the air.

    (Another researcher in the US, at NOAA, had the brilliant idea that using GPS reflections off the ground (which have opposite polarization to the signal so you can calculate it by diffing it) you can figure out the moisture content of soil. )

    Thats really useful info.
    Stuff like that.

    He also built a GPS rover using a beagle board that runs Debian that allows you to get cm level accuracy anywhere within 20-30 km of the base station.

    Anyone can do that. Thats my plan, I have all the hardware to do it now, so as soon as I have a few days of free time.

  9. Chris says:

    It might be able to get GPS accuracy out of the dongles, especially if they can be kept at a stable temperature.

    But that will require some new software, as it requires some extra calculation because the hardware doesn’t have the dedicated processing pipeline that GPS chips have.

    RTKlib does something similar, so I would expect that it *might* be possible to do something using the DVB-T dongles and that.

    CUDA would also be useful in that context.. It might be possible to leverage all these low-tech-high tech discoveries – the cheap dongles and cheap CUDA-capable graphics cards and cheap homemade broadband GNSS-capable antennas, (archimedes spiral, log spiral, circular annular patch) and end up with a homebrew earth station for scientific visualization of a great number of earth science and space communications applications.

    I bet someone is working on this as we speak.

  10. Scott says:

    I’ve got an off topic question about this. I’ve always been interested in radio, and seeing that these realtek chips will let me do more stuff than my cheap old scanner got me interested. However, I also have an unused piece of equipment at work, a National Instrument data acquisition module, that can monitor up to 18 analog signals (in this case, outputs from sensors, up to 12v range I think, at maybe around 1-2 Ms/s). Can I hook an antenna to one of the inputs and do SDR with it?

    • malvineous says:

      I think you would need two more things. One is a tuner module, as you would only be able to sample say 0-1MHz, and the tuner would bring higher frequencies down to this range. This is what the E4000 tuner does on the RTL SDR (the RTL can only sample 0-3MHz or so, but the E4000 can bring any frequency from 64-1700MHz down to 0Hz where the RTL chip can “see” it.) You would also need to sample the I and Q components of the signal in order to do SDR. I imagine you’d need your own circuit and use two of the analogue inputs to do that. Then you’d have to write drivers so the software you want to use can see your new device. I think it’s doable, but likely to cost more than the $11 DVB stick would, and take longer than the shipping time from Hong Kong :-)

  11. Chris says:

    Maybe for very, very low frequencies.

    Saw this link a few days ago.. from 2007.

    SDR using a CX2388x TV+FM card
    http://www.geocities.ws/how_chee/cx23881fc6.htm

  12. Ren says:

    I guess I’d better buy a couple of these dongles before the Chinese gov’t finds out how valuable they are and keep them all for themselves.

  13. Many of the real time GPS vehicle tracking systems
    can monitor hundreds of vehicles at the same time. It has more accessible qualities and more manageable since GPS navigation is designed for car systems.
    Device which highlights high resolution features
    normally implies sharper images projected on the screen.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 91,326 other followers