UAT978 standalone Pi

Discussion in 'Feeding' started by Andrew Naylor, Jan 16, 2021.

Tags:
  1. Andrew Naylor

    Andrew Naylor New Member

    I'm looking to set up a standalone 978 receiver (probably Pi 3 or 4 w/Rtl-SDR). Got the hardware handled - but I can't tell if the documentation I'm finding online is still current. Can I just take the current standard image from the ADSBexchange website and modify the config settings to change it to 978, or are there still additional utilities that need to be downloaded?

    Thanks
     
  2. James

    James Guest

    Why standalone?
     
  3. Andrew Naylor

    Andrew Naylor New Member

    Long story short, I want to create it as a test to see if I can get it running, and then probably relocate it. I just don't want to dedicate two receivers and/or antennas to the project at the moment. Just want to keep it simple
     
  4. James

    James Guest

    You don't need 2 antenna or Pi. Just 2 SDR.

    But maybe ... it likely work out of the box with ADSBx image on 978 only.
     
  5. Steve Gooch

    Steve Gooch New Member

    In my case I just started with ADSBx and only the one 1090 SDR. I have the 1090 / 978 antenna. So I am guessing I need a splitter (recommendations?) and then just plug it in and reboot?
    How will I assure it is running once I do that?
     
  6. James

    James Guest

    Steve Gooch likes this.
  7. wiedehopf

    wiedehopf Administrator Staff Member

    You need to stop the services that use the SDRs before setting the serial:

    sudo systemctl stop readsb
    sudo systemctl stop dump978-fa
     
  8. Steve Gooch

    Steve Gooch New Member

    So with the existing one 1090 SDR in run (stop the services):
    sudo systemctl stop readsb
    sudo systemctl stop dump978-fa

    then run:
    sudo rtl_eeprom -d 0 -s 1090

    remove 1090 SDR, insert 978 SDR run:
    sudo rtl_eeprom -d 0 -s 978

    put BOTH SDRs back in then just reboot to get things running again?
     
  9. wiedehopf

    wiedehopf Administrator Staff Member

    Yes pretty much.

    You can run this command as well to make sure dump978-fa will only grab the correct SDR:
    Code:
    sed -i --follow-symlinks -E -e 's/--sdr +[^" ]*/--sdr driver=rtlsdr,serial=978/' /etc/default/dump978-fa
    
    When did you download the image?
    sudo nano /boot/adsbx-env
    Check that the line with 1090 has the # in the front removed:
    #RECEIVER_OPTIONS="–device-type rtlsdr –ppm 0"
    RECEIVER_OPTIONS="–device 1090 –device-type rtlsdr –ppm 0"

    If you didn't load the image in the last 2 month or so .... you should probably also run this:
    Code:
    sudo wget -O /usr/local/share/adsb-exchange-978/convert.sh https://github.com/adsbxchange/adsbexchange-978/raw/master/dropin.sh
    sudo wget -O /usr/local/share/uat2esnt https://github.com/adsbxchange/adsbexchange-978/raw/master/uat2esnt
    sudo chmod a+x /usr/local/share/adsb-exchange-978/convert.sh /usr/local/share/uat2esnt
    sudo reboot
    
    Anyhow ... if you have any issues just come by in the discord :)
    https://discord.gg/UEXSqDh
     
  10. Steve Gooch

    Steve Gooch New Member

    Image was downloaded 01/14/2021 (adsbx-1.0.6)
     
  11. wiedehopf

    wiedehopf Administrator Staff Member

    Logic says no need for that section i mentioned then.

    The 2nd thing you can check regardless, not too complicated.
     
  12. Steve Gooch

    Steve Gooch New Member

    Finally got around to trying this. Followed each and every step you mentioned above, but when going to the 978 page I still get:

    upload_2021-1-31_11-56-42.png
    And I notice in the reboot sequence I see some lines about 978 service stopping / stopped.
    upload_2021-1-31_11-59-29.png

    What should I be looking at here?
    FYI 1090 still works fine.
     
  13. wiedehopf

    wiedehopf Administrator Staff Member

    Looks like you don't have 978 set to yes in the main config.
     
  14. Steve Gooch

    Steve Gooch New Member

    Bingo! Thanks again for all the help and "no judgment" for us newbies!
     
  15. Steve Gooch

    Steve Gooch New Member

    After having inserted the splitter and having the two SDRs in for a day or so, I noticed that my signal level on 1090 decreased dramatically. I would not have expected this little splitter to cause this much loss. I removed it and the signal strength went back up. Example Evidence:
    upload_2021-2-2_12-35-14.png
    Is this expected?
     
  16. James

    James Guest

  17. wiedehopf

    wiedehopf Administrator Staff Member

    It still shouldn't be a change of more than 9 dB, this looks more like 20 dB?
    Or maybe this is normal for those splitters and not an issue, i'm not really familiar.

    Have you tested what the graph looks like if you remove the splitter james?
     
  18. James

    James Guest

    Bingfu sells that terrible mag mount antenna that is deaf. The ones I use are custom made from a cable guy. But should be the same, roughly.
     
  19. Steve Gooch

    Steve Gooch New Member

    Not sure what you mean by "...just need to adjust SDR appropriately." I am using the FA Blue SDR for 1090.
    Also to wiedehoph's question, do you gain 20db without the splitter?
     
  20. wiedehopf

    wiedehopf Administrator Staff Member

    I was talking about the difference on the graph you showed.

    But ... just adjust the gain accordingly and see how much range you lose and if that's acceptable.
    More result oriented than comparing the signal graphs.