Software differences?

Discussion in 'Feeding' started by gcopter1, Apr 22, 2018.

  1. gcopter1

    gcopter1 Member

    There’s adsbxchange, dump1090 and adsb receiver. What are the differences?
    Can they all be run together from the same hardware (Raspberrypi3)?

    I have two radios, 1090 and 978 so I’m interested in using software that can use both.
     
  2. Jhonny Monclair

    Jhonny Monclair Active Member

    Dump1090 is a decoder. It processes the data stream coming from radios and outputs
    ads-b/mode-s messages in a variety of formats (sbs, beast, raw, etc), depending on how it is
    configured. There are different versions of Dump1090, as well as other known decoders for
    Linux or Windows, but Dump1090-mutability is the most common choice for Raspberry kits.
    It can manage both your radios, but you need to run two instances of the program at same time,
    each of them will "listen" just one radio.

    adsb-receiver is a script that makes easy to download and install all the software packages
    required to a Linux-based radar station. It can download decoders, a range of feeders for
    known sites (Fr24, FlightAware, etc), and other useful software aimed to collect and display
    performance data in a nice way.
    It allows to install adsb-exchange feeder and Dump1090 decoder as well.
     
  3. gcopter1

    gcopter1 Member

    Sounds like adsb recvr. is going to suit me. Running two instances of dump1090? Sounds complicated.
     
  4. MDA

    MDA Administrator Staff Member

    Look at adsbexchange image v1.0 post.
    Latest release supports 978 and has a lot of nice features.
     
    Jhonny Monclair likes this.
  5. gcopter1

    gcopter1 Member

    Ok. So I went ahead and re formatted my sd card and burned the 1.27 image.
    I looked at the config text, didn't find a place to put the coordinates, etc.
    I had the config text from a previous installation and copied that into the sd card.
    Placed the card on the raspi3, logon prompt came up, I used pi and adsb123, can't logon.

    Suggestions please?
     
  6. James

    James Guest

    adsb-config.txt .. it's there ...
     
  7. gcopter1

    gcopter1 Member

    Yes, but, I scrolled up and down and I could swear I didn’t see it. When I get back home from work, I’ll just copy over the copy I made of the working one before.
     
  8. James

    James Guest

    the config.txt file is only for the Raspbian operating system
     
  9. gcopter1

    gcopter1 Member

    I’ll check again tonight and let you know.
     
  10. gcopter1

    gcopter1 Member

    Got back from work and, my freshly reformatted card was waiting for me to re flash the image.
    This time, though, the ads-b config file was there. Entered my coordinates and wi-fi info. Now, I'm waiting to connect to the servers...

    Was there something I read somewhere regarding the radios?

    Something to the effect that, I needed to tell the software what radio was using which port?
     
    Last edited: Apr 23, 2018
  11. James

    James Guest

    you do need to tell it which radio to use for 978 or 1090 ONLY if you have a specific 978 antenna and 1090 specific antenna.

    we do that by ssh into the pi and using rtl_eeprom to rename each sdr then tell 1090 and 978 what sdr to use

    Again you only need to do this if you have a 978 tuned antenna and 1090 antenna attached to specific SDR

    lsusb
    rtl_eeprom
     
  12. gcopter1

    gcopter1 Member

    In that case then, yes.
    Each radio has their own antenna connector tuned to the appropriate band.
     
  13. James

    James Guest

  14. gcopter1

    gcopter1 Member

    I get this:



    Found 2 device(s):
    0: Generic RTL2832U OEM
    1: Generic RTL2832U OEM
    Using device 0: Generic RTL2832U OEM
    usb_claim_interface error -6
    Failed to open rtlsdr device #0.
    [email protected]:~ $

    Using the command rtl_test, it reveals that device 0 is the 1090 radio and device 1, is the 978.
    When I open the web browser and type in the ip, I can launch the 1090 custom map and it does see aircraft so, not sure why the raspi3 says that it failed to open device #0?
     
  15. James

    James Guest

    I think dump1090 will use device at index 0 by default, every time if that helps. But index for device can change after reboots, therefor SDR 0 might not have 1090 antenna.

    The fail means it's in use by something and something else is also trying to use it. If you have 978 enabled then that's what happens ... 1090 claims index 0 ... 978 tries to use index 0 and fails - then hopefully moves on to the next one.
     
  16. James

    James Guest

    Code:
    #!/bin/sh
    if [ -f "/tmp/adsbx-params" ]; then
            . /tmp/adsbx-params
    else
            echo "DUMP978 ERR:  Configuration file does not exist."
            exit 0
    fi
    if [ ${UAT} = "yes" ]; then
        while true
        do
                sleep 30
              if [ -z ${UATPORT} ];then
                      UATPORT=30005
              fi
              rtl_sdr -f 978000000 -s 2083334 -d 1 -g 48 - | /home/pi/dump978/dump978 | /home/pi/dump978/uat2esnt | socat TCP:feed.adsbexchange.com:$UATPORT
        done
    else
      exit 0
    fi
    
    
     
  17. gcopter1

    gcopter1 Member

    James, I apologize, obvious noob here.
    How do tag them?
    I saw the ubuntu link, scrolled thru it, found the section where it says "options".
    Is this the one I need?
    And the mutability dump1090?
     
  18. MDA

    MDA Administrator Staff Member

  19. James

    James Guest

  20. gcopter1

    gcopter1 Member


    rtl_eeprom -d 0 -s 1090SDR

    and

    rtl_eeprom -d 1 -s 978SDR

    Right?