ADS-B DIY Antenna

Discussion in 'Antennas, Filters etc' started by Mukundan, May 3, 2013.

Thread Status:
Not open for further replies.
  1. Sjacket99

    Sjacket99 Member


    ab cd:how can I get back in the file to set back up the lat and long, port number?

    I'm having issues.

    Error: listen EADDRINUSE

    at errnoException (net.js:904:11)

    at Server._listen2 (net.js:1042:14)

    at listen (net.js:1064:10)

    at Server.listen (net.js:1138:5)

    at EventEmitter.app.listen (/usr/local/lib/node_modules/pfclient/node_modules/express/lib/application.js:559:24)

    at Object.eval (eval at <anonymous> (/usr/local/lib/node_modules/pfclient/client.js:2:423), <anonymous>:6:3412)

    at Object.<anonymous> (/usr/local/lib/node_modules/pfclient/client.js:2:1)

    at Module._compile (module.js:456:26)

    at Object.Module._extensions..js (module.js:474:10)

    at Module.load (module.js:356:32)
     
  2. jepolch

    jepolch Active Member

    Thanks. That would be me. I forgot to add the start script when I set up pfclient last night. I was tired. I need to do that today to prevent gaps. I've been enjoying this forum very much and decided I needed to pay back PlaneFinder by feeding them my data. :)
     
  3. ab cd

    ab cd Senior Member

    Yor data graph is showing zero from 7:00 UTC (2:00 Eastern time). Check if your pfclient is feeding data or not by following comnand

    sudo cat /tmp/pfclient.log
     
  4. jepolch

    jepolch Active Member

    That's when I have my Pi's set to reboot each night. It didn't start up again because I hadn't had the start script in place yet. :oops: I've got it now.
     
  5. bramj

    bramj Member

     
  6. ab cd

    ab cd Senior Member

    Give following comand:

    sudo pfclient

    This will start configuration. Follow the on screen prompts to set up PFClient.
    It will ask "home" i.e. receiver location (Latitude & Longitude in decimal format).

    It will also ask for your PlaneFinder allocated username & password.

    For DVB-T USB Receiver, use following settings.
    Receiver Type: “30003”
    TCP Port: 30003
    Later Edit: Above is applicable only during initial configuration when auto-start script has not yet startted the pfclient. During runtime using this command tries to start another instance of the pfclient & gives erro messages. Better change configuration by editing file client.cfg (see my post # 1473 below).
    Do you get these during installation or after installation? If during installation at what stage?

    I am not expert in this, nor the details written by me. Just below the title of post #3 (pfclient installation instructions), I have given the link to source of these instructions. You may visit that webpage and ask them guidance for the issue you are facing.
     
    Last edited: Feb 7, 2015
  7. ab cd

    ab cd Senior Member

    @bramj: THANK YOU. This info is very helpful for manually changing configuration.

    @Sjacket99: You can manually change configuration by
    cd /usr/local/lib/node_modules/pfclient/
    sudo nano client.cfg
    (Later edit: file name corrected to client.cfg)

    This will open configurtion file for editing. Edit configuration settings as you want.
    Then after making changes, save configuration file pfclient.cfg by (Ctrl+o) then exit (Ctrl+x)
     
    Last edited: Feb 7, 2015
  8. Sjacket99

    Sjacket99 Member

    When i run

    root@raspberrypi:~# sudo pfclient

    [2015-02-07T18:42:24.511Z] PF Client Version: PF2.2.16

    [2015-02-07T18:42:33.682Z] Connecting to 127.0.0.1:30003



    events.js:72

    throw er; // Unhandled 'error' event

    ^

    Error: listen EADDRINUSE

    at errnoException (net.js:904:11)

    at Server._listen2 (net.js:1042:14)

    at listen (net.js:1064:10)

    at Server.listen (net.js:1138:5)

    at EventEmitter.app.listen (/usr/local/lib/node_modules/pfclient/node_modules/express/lib/application.js:559:24)

    at Object.eval (eval at <anonymous> (/usr/local/lib/node_modules/pfclient/client.js:2:423), <anonymous>:6:3412)

    at Object.<anonymous> (/usr/local/lib/node_modules/pfclient/client.js:2:1)

    at Module._compile (module.js:456:26)

    at Object.Module._extensions..js (module.js:474:10)

    at Module.load (module.js:356:32)


    That's what I get back.

    When i cd into this:

    cd /usr/local/lib/node_modules/pfclient/

    Then do this. Its a empty file.

    sudo nano pfclient.cfg

    when I do a ls it shows.

    root@raspberrypi:~# cd /usr/local/lib/node_modules/pfclient/

    root@raspberrypi:/usr/local/lib/node_modules/pfclient# ls

    client.cfg client.js htdocs launcher.js node_modules package.json
     
  9. jepolch

    jepolch Active Member

    New cantenna: Purina Cantenna, because it's made from a steel dog food can. Height 69 mm, Diameter 71 mm. I'll try it on the roof next time I fee l motivated. :) I wonder if the grooves will have a negative effect?
     

    Attached Files:

    ab cd and giacomo1989 like this.
  10. giacomo1989

    giacomo1989 Member


    Error: listen EADDRINUSE

    Port already used by another application.
     
  11. giacomo1989

    giacomo1989 Member

    Nice!!!

    I've made also another cantenna without cutting down in height the can. Seems to have a better range!!!!

    PS. You are so crafty in making your antenna. Mine are s**t compared to yours :(
     
  12. jepolch

    jepolch Active Member

    No. I just take good pictures. ;) I wish I could make a good colinear.
     
    giacomo1989 likes this.
  13. ab cd

    ab cd Senior Member

    Sorry I gave wrong file name.
    Iit is NOT pfclient.cfg
    It is client.cfg

    Correct commands are:
    Code:
    cd /usr/local/lib/node_modules/pfclient/
    sudo nano client.cfg
    
     
  14. ab cd

    ab cd Senior Member

    I also get back exactly same error messages when i run the command sudo pfclient.
    It appears that since the starting script has already started the pfclient at boot time, this command tries to start a second instance of pfclient, and causes error messages.
    Better edit configuration by editing file client.cfg (see my post #1473 above)
     
  15. ab cd

    ab cd Senior Member

    Looks great! Hopefully works great. My Vulcan/Mr. Spock logic says grooves should not make any noticeable difference.
     
    jepolch likes this.
  16. jepolch

    jepolch Active Member

    Haha. Thanks. I'll let you know how it works.
     
  17. ab cd

    ab cd Senior Member

    @giacomo1989:
    Attached simulations for Lollypop, Spider & Dipole, all with 1/4 wavelength (69mm) vertical upper whip.
    Note that both the Gain & SWR improve with a simple action: bent down the legs of lollypop!


    (1) 8-Legs, Hoizontal (Lollypop)
    Lollypop 8 straight legs.PNG

    (2) 8-Legs, Bent down 45 degrees (Spider)
    Lollypop 8 bent down legs.PNG


    (3) 8-Legs, Bent down 90 degrees (Dipole)
    Lollypop 90 degree bent down legs.PNG




    Three Musketeers.PNG
     
    Last edited: Feb 8, 2015
    jepolch, bramj and giacomo1989 like this.
  18. jepolch

    jepolch Active Member

    Great info. Thanks! I'm going to have to re-think the dipole. I made one like your little one early in this thread that I have never put to test on the roof.
     
  19. giacomo1989

    giacomo1989 Member

    Thanks so much for doing this.

    Don't you think is realy strange that dipole has better SWR than the spider? Maybe there are some considerations about the feeding point that the program does not count
     
  20. trigger

    trigger Member

    ab cd and jepolch like this.
Thread Status:
Not open for further replies.

Share This Page