zoukankan      html  css  js  c++  java
  • GNU-Radio & USRP Example

     一行代码速查命令功能

    apropos uhd_

    uhd_find_devices: 能够打印输出连接至 PC 的 USRP 设备基本信息。

    uhd_find_devices --args="addr=192.168.10.2"    #表示仅查找连接至 PC,IP 地址为 192.168.10.2 的 USRP 设备;
    uhd_find_devices --args==type=usrp2   #表示仅查找连接至 PC 的 USRP2。

    uhd_usrp_probe: 能够打印输出连接至 PC 的 USRP 设备详细信息。

    uhd_rx_cfile: 一个基于 GNU Radio 的 Python 程序,能够将USRP 接收到的信号采样后的数据直接储存到 PC。

    locate uhd_rx_cfile
    sudo uhd_rx_cfile –f 2.45G ~/bin/test_uhd_cfile.bin

    uhd_fft: 一个基于 GNU Radio 的 Python 程序,能够将 USRP2接收到的信号做 FFT 运算后以图形界面显示。

    uhd_fft -h
    uhd_fft -f 2.45G

    benchmark_tx.py: 一个基于 GNU Radio 的 Python 程序,能够发送GMSK,BPSK 等调制信号的数据包。

    locate benchmark_tx
    /usr/share/gnuradio/examples/digital/ofdm/benchmark_tx.py -h  #your location which locate command find 
    sudo /usr/share/gnuradio/examples/digital/ofdm/benchmark_tx.py -f 935M --tx-gain=30 -v #表示以管理员权限运行程序,以中心频率为 935MHz 发送比特率为 100Kbps 的 GMSK调制信号,射频子板发送增益值为 30 的内插。

     如何着手 GNU Radio?

      • uhd_fft - 一个用来在给定频点用来显示被连接的 UHD 设备(比如,一台 USRP)的频谱用的简易频谱分析仪工具。它也可被用作 瀑布图(waterfall plot)或者示波器(oscilloscope)。
      • uhd_rx_cfile - 使用被连接的 UHD 设备来记录 I/Q 采样的数据流。采样的数据被写入文档之中可被用来日后使用 GNU Radio 或者其它工具诸如 Octave 或 Matlab 进行离线分析用。 
      • uhd_rx_nogui - 使用音频设备接收并侦听载入的信号(incoming signals)。它可被用来进行对 AM 及 FM 信号进行解调。
      • uhd_siggen{_gui}.py - 简易的信号发生器,用它可以产生大多数常规信号(sine, sweep, square, noise)。
      • gr_plot* - 这是一套可用来显示预先录制的采样文档的套件工具。用它可以展示这些信号的频谱(spectra)、功率谱密度(PSD)及时域展现(time-domain representations)。

     还有一些gnuradio的绘图函数:gr_plot_psd_c

    ~/src/uhd/host/utils: include useful tools such as usrp2_recovery.py

    ~/src/uhd/host/examples: examples for USRP Hardware Driver(UHD)

    /usr/share/gnuradio/examples or /home/labuser/src/gnuradio/gr-audio/examples and /home/labuser/src/gnuradio/gr-utils: 使用gnuradio-examples/ 和 gr-utils/下面的例程

    Presentations on GNU Radio implementations and applications

    GNU Radio教程:http://www.white-alone.com/GNURadio%E6%95%99%E7%A8%8B_1/, http://www.white-alone.com/GNURadio%E6%95%99%E7%A8%8B_3/

    Reference

    海曼USRP使用说明new.pdf

    如何为 GNU Radio 编写 Python 应用

    USRP for 802.11: https://github.com/bastibl/gr-ieee802-11

    USRP N210 and WiFi signal: https://forums.ni.com/t5/USRP-Software-Radio/USRP-N210-and-WiFi-signal/td-p/3549434

    An IEEE 802.11a/g/p OFDM Receiver for GNU Radio

    SDR WiFi平台 gr-ieee802-11 软件无线电实现802.11协议

    http://microembedded.cn/html/support/doc/n210/n210install.html

    本博客由博主原创,链接:https://www.cnblogs.com/WindyZ/
  • 相关阅读:
    第十九题
    第十八题
    第十六题
    win7/64+pip+pygame=pygame安装
    win7/64+python3.4+pyinstall3+tkinter+smtp=图形界面群发邮件客户端
    字典的.get方法
    列表推导式
    第一张
    多线程服务端简易版基于TCP协议的传输
    线程中的锁的相关问题
  • 原文地址:https://www.cnblogs.com/WindyZ/p/10403342.html
Copyright © 2011-2022 走看看