根据无线电管理条例以及国家安全法,请勿上传数据至国外任意平台

如果您还没了解啥事ADS-B,请看这篇文章


所需硬件或设备

1. Raspberry Pi 3
也可以使用Raspberry Pi 2

2. Raspberry Pi 的电源
推荐使用 5V、2.5A 的电源

3. Micro SD卡
容量至少 8 GB

4. Micro SD卡 读卡器

5. USB SDR ADS-B接收器
可以使用 RTL2832U 接收器

6. 1090 MHz 天线


所需软件

DUMP 1090
从RTL2832U读取原始的无线电信号, 然后解码出adsb数据


开始折腾

树莓派系统安装

如果您不会,请看这篇文章

dump1090-mutability 软件安装

# 安装dump1090-mutability
sudo apt-get update && sudo apt-get install dump1090-mutability
# 安装udev规则
cd /etc/udev/rules.d/
wget https://fastly.jsdelivr.net/gh/HuiDreamer/adsb@master/rtl-sdr.rules
# 配置 dump1090-mutability,图形化配置请看下面
sudo dpkg-reconfigure dump1090-mutability
# 启用 lighttpd 可选,用于 web 端查看
sudo apt-get install lighttpd && sudo lighty-enable-mod dump1090
# 重启
sudo reboot
# 启动完成后, 检查dump1090是否启动好并监听30003端口
netstat -anp | grep dump1090

dump1090-mutability 图形化配置

  1. 自动启动dump1090,默认回车ok就好
    Start dump1090 automatically
  2. 配置用户,默认回车就行
    dump1090 user
  3. 配置日志,默认回车就行
    dump1090 log
  4. 当有多个RTL-SDR是选择配置,如果只有一个,默认回车就行
    other RTL-SDR
  5. 配置调谐器增益,默认max最大就行
    Config dB
  6. RTL-SDR 校正因子,单位PPM,如果不知道,默认0就行
    image.png
  7. 配置接收机最大射程,默认300就行
    config macximum range
  8. 配置接收机所在的纬度,十进制
    config latitude of receiver
  9. 配置接收机所在的经度,十进制
    config longitude of receiver
  10. AVR-format 输入端口,默认就行
    AVR-format input
  11. AVR-format 输出端口,默认就行
    image.png output
  12. Beast-format 输入端口,默认就行
    Beast-format input
  13. Beast-format 输出端口,默认就行
    Beast-format output
  14. SBS-format 输出端口,默认就行
    SBS-format output
  15. 设置超时时间,默认就行
    Seconds between heartbeat messages
  16. Minimum 输出消息大小,默认就行
    Minimum output message size
  17. 最大输出缓冲时间,默认就行
    Maximum output buffering time
  18. TCP 发送缓冲大小,默认就行
    TCP send buffer size
  19. 要绑定的接口地址,修改成0.0.0.0
    Interface address to bind to
  20. 记录统计信息之间的间隔,默认就行
    Interval between logging stats
  21. 写入JSON飞行器状态之间的间隔,默认就行
    Interval between writing JSON aircraft state
  22. 配置是否接收器位置精度显示在Web界面,默认就行
    Receiver location accuracy to show in the web interface
  23. JSON飞机状态目录,默认就行
    Directory to write JSON aircraft state to
  24. 是否需要记录所有解码的消息 注:如果记录解码信息,留意文件体积会比较大Log all decoded messages
  25. 传递给dump1090的额外参数,默认就行
    Extra arguments to pass to dump1090

安装完成后,在浏览器中输入树莓派的IP地址,即可浏览

http://树莓派的IP地址/dump1090/gmap.html

DUMP1090

最后修改:2022 年 06 月 16 日
如果觉得我的文章对你有用,请随意赞赏