US: 978mhz reception - discussion (% feeding both, best antennas, filters, etc)

Discussion in 'Hardware' started by TXMike74, Aug 4, 2018.

  1. James

    James Guest

    Looks like 978 data is coming through on 51405.

    Screenshot_2018-09-15_08-06-57.png

    Screenshot_2018-09-15_08-06-47.png
     
  2. James

    James Guest

    There's probably a better way to check if a string is set?

    http://linuxcommand.org/lc3_man_pages/bash1.html
    -z string
    True if the length of string is zero.


    I learn something new every day ... I feel like bash always has something new for me .. heh

    https://serverfault.com/questions/7503/how-to-determine-if-a-bash-variable-is-empty

    ...
    You can test to see if a variable is specifically unset (as distinct from an empty string):

    if [[ -z ${variable+x} ]]
    where the "x" is arbitrary.

    If you want to know whether a variable is null but not unset:

    if [[ -z $variable && ${variable+x} ]]
     
  3. imago

    imago New Member

    Take back what I said on Wednesday. My windows build is indeed working and 978 traffic is in fact making it here to ADSBX. Possibly create an installer for all this stuff for windows to go along with your nix images
     
  4. TanerH

    TanerH New Member

    The most common way I do this is:

    Code:
    if [ "x$VARIABLE" == "x" ]; then
        echo "You forgot to set VARIABLE..."
        exit -1
    fi
    This is because if "$VARIABLE" is empty, the test becomes " if [ "x" == "x" ] " which will not complain about an empty variable in the test expression :) It should be equivalent to the -z check, which is shorter, and perhaps more legible. I'm just old and use the other method from habit ;)

    Now, for the "+x" trick to work, you have to use DOUBLE brackets [[ ]], but be warned that is not 100% portable. (Any semi-recent version of bash should support it, though). That said, I'm not sure how you'd need that in this case... since the hope (it seemed) was to just set the port if it wasn't already set in the config/settings file, no?

    Anyway - the double brackets can do fancy things like RegEx matching, too... more here: http://mywiki.wooledge.org/BashFAQ/031
     
  5. TXMike74

    TXMike74 Member

    I am confused.. I see calls for
    /tmp/adsbx-params
    as well as
    /tmp/params

    I am using the ADSBx Flight Aware dual image and there is no file named adsbx-params, params does exist.

    I did a sudo find and there were no files adsbx-params anywhere.

    The stock adsbexchange-978_maint.sh shell script calls for /tmp/params. Which script uses /tmp/adsbx-params ?
     
  6. James

    James Guest

    Different image.

    The custom ADSBx image with Grafana uses /tmp/adsbx-params.

    The FlightAware image uses tmp/params because that's what FA uses.
     
  7. James

    James Guest

    The TXM-DAL-978 is working. It received 2,791 messages since I posted last image.

    Screenshot_2018-09-15_20-23-55.png
     
  8. TXMike74

    TXMike74 Member

    Thank you James. Now I just need to improve antenna performance!
     
  9. hunter2021

    hunter2021 Member

    Greetings, I am interested in capturing aircraft that do not work in 1090, mostly many old planes.


    Download dump 978 windows
    it tells me that my operating system tells me that the version of that file is not compatible


    I have searched many pages and I want to share what I found
    https://zaitcev.livejournal.com/226449.html
    https://www.pilotsofamerica.com/community/threads/diy-open-source-traffic.65894/
    https://www.pilotsofamerica.com/community/threads/ads-b-uat-receiver-for-computer.79031/

    https://www.reddit.com/r/stratux/comments/53u7eg/stratux_for_flight_tracking/

    I'm interested in exploring the world 978 mhz
    can help me start from scratch how to build the antenna and a program that can be used with windows
     
  10. MDA

    MDA Administrator Staff Member

    I can't help you with software (978 doesn't work in Europe).
    But here is link to very handy antenna calculators: http://m0ukd.com/calculators/
     
  11. James

    James Guest

    I think you are confusing that 978 is, 978 is not for 'old planes'.
     
  12. hunter2021

    hunter2021 Member

    The big question the airplanes that do not appear in my VRS, how often are they working?

    the nearest airport can see aircraft the secondary radar RSM 970S

    I have possibilities to observe something ?
     
  13. James

    James Guest

    It all depends on their transponder, we can only get a lock on mode-s 1090 mhz (using MLAT), ADS-B (1090 mhz), and those in the US installing 978 transponders. Mode C altitude, we only know they are within a radius of the reciever, but we really don't know where.

    If you are by a 978 tower, you can decode the puck messages and you'll get those planes that ATC is using radar to position (but only in the US). I think the UK is running a trial of 978 and I suspect at least the 978 weather features will be adopted by the rest of the world.