ADS-B DIY Antenna

Status
Not open for further replies.

xforce30164

Active Member
Sheer genius! I will try it in a while. Looks great!
:oops: You're being too kind, but thanks for the compliment :D

ETA: increasing the height of the Ebay antenna seems to have helped increase the reception!
On/after 01-04 I swapped the spider antenna for the ebay antenna and on wednesday 08-04 I moved the antenna up higher and you can see the increase (of about 30%)!
ebay antenna.png
 
Last edited:

jepolch

Active Member
@xforce: I'm still getting errors at command line:
Code:
pi@raspberrypi ~/dump-tools/collectd $ ./make-graphs.sh
3627 (process ID) old priority 0, new priority 5
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
And in /var/log/syslog:
Code:
Apr 13 22:21:48 raspberrypi collectdmon[3364]: Info: collectd terminated with exit status 0
Apr 13 22:21:48 raspberrypi collectdmon[3364]: Info: shutting down collectdmon
Apr 13 22:21:50 raspberrypi collectd[3558]: Initialization complete, entering read-loop.
Apr 13 22:21:50 raspberrypi collectd[3558]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-signal; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-peak_signal; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_messages-strong_signals; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Where should we copy index.html?

Sorry if I'm a bonehead. My skills are old and rusty. :oops:
 

xforce30164

Active Member
@xforce: I'm still getting errors at command line:
Code:
pi@raspberrypi ~/dump-tools/collectd $ ./make-graphs.sh
3627 (process ID) old priority 0, new priority 5
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
And in /var/log/syslog:
Code:
Apr 13 22:21:48 raspberrypi collectdmon[3364]: Info: collectd terminated with exit status 0
Apr 13 22:21:48 raspberrypi collectdmon[3364]: Info: shutting down collectdmon
Apr 13 22:21:50 raspberrypi collectd[3558]: Initialization complete, entering read-loop.
Apr 13 22:21:50 raspberrypi collectd[3558]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-signal; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-peak_signal; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:21:51 raspberrypi collectd[3558]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_messages-strong_signals; value time = 1428963691.900; last cache update = 1428963691.900;
Apr 13 22:21:51 raspberrypi collectd[3558]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Where should we copy index.html?

Sorry if I'm a bonehead. My skills are old and rusty. :oops:
Try and run the following from the /dump-tools/collectd folder

Code:
sudo ./make-graphs.sh 24h
that calls the script to generate the graphs for the last 24 hours, (the other options used in the cron/scheduling are 7d (7 days) 30d (~1 month) and 365d (one year)

what does it give as output then?
 

jepolch

Active Member
Erp. Sorry. I overlooked the install script. Still getting errors, but I think they're better ones. :p

Command line:
Code:
3894 (process ID) old priority 0, new priority 5
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
ERROR: start time: There should be number after '-'
/var/log/syslog:
Code:
Apr 13 22:31:57 raspberrypi collectd[3846]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-single_message.rrd) failed: /var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-single_message.rrd: illegal attempt to update using time 1428964291 when last update time is 1428964291 (minimum one second step)
Apr 13 22:31:57 raspberrypi collectd[3846]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-background.rrd) failed: /var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-background.rrd: illegal attempt to update using time 1428964291 when last update time is 1428964291 (minimum one second step)
Apr 13 22:31:57 raspberrypi collectd[3846]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd) failed: /var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd: illegal attempt to update using time 1428964291 when last update time is 1428964291 (minimum one second step)
Apr 13 22:31:57 raspberrypi collectd[3846]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-reader.rrd) failed: /var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-reader.rrd: illegal attempt to update using time 1428964291 when last update time is 1428964291 (minimum one second step)
Apr 13 22:31:57 raspberrypi collectd[3846]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-signal; value time = 1428964291.900; last cache update = 1428964291.900;
Apr 13 22:31:57 raspberrypi collectd[3846]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:31:57 raspberrypi collectd[3846]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_dbfs-peak_signal; value time = 1428964291.900; last cache update = 1428964291.900;
Apr 13 22:31:57 raspberrypi collectd[3846]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 13 22:31:57 raspberrypi collectd[3846]: uc_update: Value too old: name = localhost/dump1090-rpi/dump1090_messages-strong_signals; value time = 1428964291.900; last cache update = 1428964291.900;
Apr 13 22:31:57 raspberrypi collectd[3846]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
 

jepolch

Active Member
Try and run the following from the /dump-tools/collectd folder

Code:
sudo ./make-graphs.sh 24h
that calls the script to generate the graphs for the last 24 hours, (the other options used in the cron/scheduling are 7d (7 days) 30d (~1 month) and 365d (one year)

what does it give as output then?
I forgot about adding the time. :oops: This looks better:
Code:
3910 (process ID) old priority 0, new priority 5
577x273
577x273
577x273
628x273
577x273
 

xforce30164

Active Member
I forgot about adding the time. :oops: This looks better:
Code:
3910 (process ID) old priority 0, new priority 5
577x273
577x273
577x273
628x273
577x273
That is exactly what it should look like indeed! Seems like you have it working :D (also, only 20 more minutes until GTA V, I hope I don't fall asleep before that xD)
 

jepolch

Active Member
That is exactly what it should look like indeed! Seems like you have it working :D (also, only 20 more minutes until GTA V, I hope I don't fall asleep before that xD)
Thanks again for bailing us out! No GTA for me, thanks. I'm old school. ;)

@caius: Thanks for all your help yesterday. I suspect the problems I had with @obj's files, but you didn't, is that you are using two Pi's like he is (also, you're smart and I'm dum). Me, trying to make everything into a one-Pi setup, had much pain and suffering. :p
 

xforce30164

Active Member
It's working. It all worked perfectly, I just forgot to use the install script. @ab cd: It's safe to get in the water now. :D Download @xforce30164's zip file, unzip it, change directory, then run 'install.sh'. @xforce30164 has does all the hard work for us. Thank you xforce30164!!! Great work, as always. The stats can be viewed at http://Pi's IP/collectd/index.html.
Dont forget the sudo chmod +x install.sh
 

jepolch

Active Member
:oops: You're being too kind, but thanks for the compliment :D

ETA: increasing the height of the Ebay antenna seems to have helped increase the reception!
On/after 01-04 I swapped the spider antenna for the ebay antenna and on wednesday 08-04 I moved the antenna up higher and you can see the increase (of about 30%)!
View attachment 1648
That's excellent! I notice you have a lot more aircraft vs. positions than I do.
 

Attachments

caius

Member
@caius: Thanks for all your help yesterday. I suspect the problems I had with @obj's files, but you didn't, is that you are using two Pi's like he is (also, you're smart and I'm dum). Me, trying to make everything into a one-Pi setup, had much pain and suffering. :p
No problem. I'm using two pis, but only one is running dump1090. The pi2 is used as a media server/torrent/usenet/whatever else box, so is mostly sitting idle. Both pis run collectd, but the adsb pi sends its data to the pi2 which records it and produces the graphs rather than doing it locally. That was actually pretty easy to set up - only a few lines in each collectd config file.
 

ab cd

Senior Member
My dump1090-mutability dies silently once every 2 to 3 days. I complained to my RPi supplier, and they have advised me to conduct a stress test on my RPi:

"Thank you for the update.

CPU architecture on new Pis is totally different from the previous versions. It's still possible that it's a software problem.

I would suggest doing a (reasonable) stress test for your Pi2 using a standard platform - Raspbian.

Please check this link:
https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=58856

Best regards"
 

ab cd

Senior Member
I browsed the stress test page, and other related pages whose links were given on the strss test page. I give up, too complicated for me to understand :confused: I better confine myself to cutting & bending antenna wires.
 

jepolch

Active Member
My dump1090-mutability dies silently once every 2 to 3 days. I complained to my RPi supplier, and they have advised me to conduct a stress test on my RPi:

"Thank you for the update.

CPU architecture on new Pis is totally different from the previous versions. It's still possible that it's a software problem.

I would suggest doing a (reasonable) stress test for your Pi2 using a standard platform - Raspbian.

Please check this link:
https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=58856

Best regards"
I seriously doubt the problem is caused by dump-mut. I have been running it on my Pi 2 for weeks with no problems. I'm also running Wheezy, like you are, not the Piaware SD image. No other programs crash, just dump? Have you switched to Malcolm Robb dump to see how it works, instead of using dump-mut? That's what I would do.
 

jepolch

Active Member
I browsed the stress test page, and other related pages whose links were given on the strss test page. I give up, too complicated for me to understand :confused: I better confine myself to cutting & bending antenna wires.
I know what you mean. I was feeling very dumb last night trying to get collectd to work, but with @xforce30164's script it worked first time (even thought I didn't know it, because I didn't use the script at first). Yesterday I was reminded of the dark days of system administration, only this time I was the sysadmin AND the user. :rolleyes:
 

ab cd

Senior Member
I seriously doubt the problem is caused by dump-mut. I have been running it on my Pi 2 for weeks with no problems. I'm also running Wheezy, like you are, not the Piaware SD image. No other programs crash, just dump? Have you switched to Malcolm Robb dump to see how it works, instead of using dump-mut? That's what I would do.
I am sure it is hardware problem, that is why I wrote to the spplier. Unfortunately there are two things in this case which make it very difficult to pinpoint the cause
1) This crash is intermittent. Dump1090-mutability runs ok for 2 to 3 days then dies silently. Logs simply dont show what caused this.
2) The problem is specific to just one software.

Oliver Jowett has seen all the logs, and thinks nothing wrong with software, and it is most likely hardware issue. The RPi supplier thinks the other way round :mad:

Your proposal is good. I will replace mutability by malcom robson and see what happens.
 
Last edited:
Status
Not open for further replies.
Top