RTL2832U:在Windows上使用GNC构建调频接收器

问题描述 投票:0回答:1

我使用SDRSharp已经有一段时间了,听过各种电台,我想多透露一下如何使用GNURadio创建工具。

我下载了GNURadio Companion 3.8.0.0,并运行了前三节课。

我是按照官方的 GNURadio.Wiki 使用所述V3 RTL-SDR加密狗(RTL2832U R820T2 TCX0 + BIAST + HF)

我在制作FM接收器时遇到了一些问题,由于我的硬件与课程中使用的不同,我对流程图的参数进行了一些修改,我使用了2.4e6(2.4 MSs)的采样率,这是所述加密狗的最大稳定采样率。

  1. 我使用的采样率是2.4e6(2.4 MSs),这是上述加密狗的最大稳定采样率。
  2. 我使用的是RTL-SDR源块,而不是UHD块。
  3. 我将停止频率设置为2e9,因为这个加密狗不会高达6GHz。

在这些改变之后,我假设一切都设置好了,然后GenerateExecute流图.我得到了以下错误的问候。

Executing: C:\Program Files\GNURadio-3.8\gr-python27\python.exe -u D:\GNURadio\TutorialsFromGNUDotOrg\FM_Radio_Receiver.py

gr-osmosdr 7da9989b (0.1.5git) gnuradio 3.8.0.0
built-in source types: file osmosdr rtl rtl_tcp uhd hackrf bladerf airspy redpitaya spyserver 
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_106000; UHD_3.14.1.HEAD-0-g0347a6d8
[ERROR] [X300] X300 Network discovery error receive_from: An existing connection was forcibly closed by the remote host
[ERROR] [UHD] Device discovery error: receive_from: An existing connection was forcibly closed by the remote host

我知道我可以命中有关的频率,因为我在SDRSharp上调到了它们.我也知道RTL-SDR源块应该像文档中所说的那样被使用。

 * RTL2832U based DVB-T dongles through librtlsdr

我开始想,也许我没有这个库?然后我打开终端,输入 python 我继续检查是否 librtlsdr 的模块。

import librtlsdr 

我得到一个导入错误,1没有名为librtlsdr的模块。 I assume this is the problem, so I proceed topip install librtlsdr`然后我看到的是。

ERROR: Could not find a version that satisfies the requirement librtlsdr (from versions: none)
ERROR: No matching distribution found for librtlsdr

最新的GNU,3.8.0.0,使用Python (Python 2.7.10),我的PIP错误显示。

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

是这个缺失的库的问题吗? 如果是,我怎样才能导入它,使GNC能如期工作?

python gnu gnuradio gnuradio-companion rtl-sdr
1个回答
1
投票

遇到这个问题的人,一定要输入设备参数。这不是一个库的问题。訊息

[ERROR] [UHD] Device discovery error: receive_from: An existing connection was forcibly closed by the remote host

是由于没有找到设备。

我不得不在设备参数部分设置rtl=0。见下面的流程图。

Flow Graph

新的问题,如何确定你应该输入什么设备参数?


0
投票

为了给你一个更好的答案,请回答以下问题:-你使用的是什么操作系统?-你是如何加载GNU Radio 3.8的?-你是否尝试过使用pip3和python3?https:/wiki.gnuradio.orgindex.phpModuleNotFoundError。

你说 "我下载了GNURadio Companion 3.8.0.0",但你没有说它的来源。https:/raw.githubusercontent.comgnuradiogr-tutorialmasterexamplestutorial6gr-tutorial-broadcast-fm-rx.grc。 ? 它是为GR 3.7编写的。

试试这样:-终止SDRSharp-弹出你的加密狗-重启你的电脑-连接加密狗-再试一次。

© www.soinside.com 2019 - 2024. All rights reserved.