论坛风格切换切换到宽版
  • 17952阅读
  • 7回复

关于Elonics E4000 SDR有很多玩法。找了些资料 [复制链接]

上一主题 下一主题
离线峰回路转
 
发帖
584
只看楼主 倒序阅读 0楼 发表于: 2013-02-11





rtl-sdr


DVB-T dongles based on the Realtek RTL2832U can be used as a cheap SDR, since the chip allows transferring the raw I/Q samples to the host, which is officially used for DAB/DAB+/FM demodulation. The possibility of this has been discovered by the V4L/DVB kernel developer Antti Palosaari.

Specifications


The RTL2832U outputs 8-bit I/Q-samples, and the highest theoretically possible sample-rate is 3.2 MS/s, however, the highest sample-rate without lost samples that has been tested so far is 2.4 MS/s. The frequency range is highly dependent of the used tuner, dongles that use the Elonics E4000 offer the widest possible range (see table below).
TunerFrequency range
Elonics E400052 - 2200 MHz with a gap from 1100 MHz to 1250 MHz (varies)
Rafael Micro R820T24 - 1766 MHz
Fitipower FC001322 - 1100 MHz (FC0013B/C, FC0013G has a separate L-band input, which is unconnected on most sticks)
Fitipower FC001222 - 948.6 MHz
FCI FC2580146 - 308 MHz and 438 - 924 MHz (gap in between)


Supported Hardware


Note: Many devices with EEPROM have 0x2838 as PID and RTL2838 as product name, but in fact all of them have an RTL2832U inside.
Realtek never released a chip marked as RTL2838 so far.

The following devices are known to work fine with RTLSDR software:
VIDPIDtunerdevice name
0x0bda0x2832all of themGeneric RTL2832U (e.g. hama nano)
0x0bda0x2838E4000ezcap USB 2.0 DVB-T/DAB/FM dongle
0x0ccd0x00a9FC0012Terratec Cinergy T Stick Black (rev 1)
0x0ccd0x00b3FC0013Terratec NOXON DAB/DAB+ USB dongle (rev 1)
0x0ccd0x00d3E4000Terratec Cinergy T Stick RC (Rev.3)
0x0ccd0x00e0E4000Terratec NOXON DAB/DAB+ USB dongle (rev 2)
0x185b0x0620E4000Compro Videomate U620F
0x185b0x0650E4000Compro Videomate U650F
0x1f4d0xb803FC0012GTek T803
0x1f4d0xc803FC0012Lifeview LV5TDeluxe
0x1b800xd3a4FC0013Twintech UT-40
0x1d190x1101FC2580Dexatek DK DVB-T Dongle (Logilink VG0002A)
0x1d190x1102?Dexatek DK DVB-T Dongle (MSI DigiVox? mini II V3.0)
0x1d190x1103FC2580Dexatek Technology Ltd. DK 5217 DVB-T Dongle
0x04580x707f?Genius TVGo DVB-T03 USB dongle (Ver. B)
0x1b800xd393FC0012GIGABYTE GT-U7300
0x1b800xd394?DIKOM USB-DVBT HD
0x1b800xd395FC0012Peak 102569AGPK
0x1b800xd39dFC0012SVEON STV20 DVB-T USB & FM

If you don't know where to buy one or if you are just looking for a trustworthy source, try [url]http://shop.sysmocom.de/t/software-defined-radio[/url]
People over at reddit are collecting a list (v2) of other devices that are compatible.
Other dongles based on the RTL2832U might be added in the future as well.
This is the PCB of the ezcap-stick:


More pictures can be found here.

Software


rtl-sdr is a commandline tool that can initialize the RTL2832, tune to a given frequency, and record the I/Q-samples to a file.
The code can be checked out with:git clone git://git.osmocom.org/rtl-sdr.git
It can also be browsed on [url]http://cgit.osmocom.org/cgit/rtl-sdr/[/url]
If you are going to "fork it on github" and enhance it, please contribute back and submit your patches to: osmocom-sdr at lists.osmocom.org
A GNU Radio source block for OsmoSDR and rtlsdr is available. Please install a recent gnuradio (>= v3.5.3) in order to be able to use it.

Mailing List


We discuss both OsmoSDR as well as rtl-sdr on the following mailing list: osmocom-sdr@….
You can subscribe and/or unsubscribe via the following link: [url]http://lists.osmocom.org/mailman/listinfo/osmocom-sdr[/url]

Building the software



rtlsdr library & capture tool


You have to install development packages for libusb1.0 and can either use cmake or autotools to build the software.
Please note: prior pulling a new version from git and compiling it, please do a "make uninstall" first to properly remove the previous version.
Building with cmake:cd rtl-sdr/mkdir buildcd buildcmake ../makesudo make installsudo ldconfig
In order to be able to use the dongle as a non-root user, you may install the appropriate udev rules file by calling cmake with -DINSTALL_UDEV_RULES=ON argument in the above build steps.cmake ../ -DINSTALL_UDEV_RULES=ON
Building with autotools:cd rtl-sdr/autoreconf -i./configuremakesudo make installsudo ldconfig
The built executables (rtl_sdr, rtl_tcp and rtl_test) can be found in rtl-sdr/src/.
In order to be able to use the dongle as a non-root user, you may install the appropriate udev rules file by callingsudo make install-udev-rules
pre-built Windows version using libusbx 33ba1231a1b07425eaa83935f84b2e4b7f904f35 and pthreads-win32 cvs

Gnuradio Source


The gnuradio source requires the rtl-sdr package and a recent gnuradio (>= v3.5.3) to be installed.
The source supports direct device operation as well as a tcp client mode when using the rtl_tcp utility as a spectrum server.
Please note: prior pulling a new version from git and compiling it, please do a "make uninstall" first to properly remove the previous version.
Please note: you always should build & install the latest version of the dependencies (librtlsdr in this case) before trying to build the gr source.
Building with cmake:git clone git://git.osmocom.org/gr-osmosdrcd gr-osmosdr/mkdir buildcd build/cmake ../makesudo make installsudo ldconfig
NOTE: The source block (osmosdr/rtlsdr Source) will appear under 'Sources' category in GRC menu.
For initial tests we recommend the multimode receiver gnuradio companion flowgraph (see "Known Apps" table below).
You may find more detailed installation instructions in this recent tutorial.

Automated installation


Marcus D. Leech has kindly integrated the forementioned build steps into his gnuradio installation script at [url]http://www.sbrac.org/files/build-gnuradio[/url]. This is the most user-friendly option so far.

Usage



rtl_sdr


Example: To tune to 392.0 MHz, and set the sample-rate to 1.8 MS/s, use:./rtl_sdr /tmp/capture.bin -s 1.8e6 -f 392e6
to record samples to a file or to forward the data to a fifo.
If the device can't be opened, make sure you have the appropriate rights to access the device (install udev-rules from the repository, or run it as root).

rtl_tcp


Example:rtl_tcp -a 10.0.0.2 [-p listen port (default: 1234)]Found 1 device(s).Found Elonics E4000 tunerUsing Generic RTL2832U (e.g. hama nano)Tuned to 100000000 Hz.listening...Use the device argument 'rtl_tcp=10.0.0.2:1234' in OsmoSDR (gr-osmosdr) sourceto receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).
use the rtl_tcp=... device argument in gr-osmosdr source to receive the samples in GRC and control the rtl settings remotely.
This application has been successfully crosscompiled for ARM and MIPS devices and is providing IQ data in a networked ADS-B setup at a rate of 2.4MSps. The gr-osmosdr source is being used together with an optimized gr-air-modes version (see Known Apps below). You can find a Makefile for OpenWRT here.
A use case is described here.

rtl_test


To check the possible tuning range (may heavily vary by some MHz depending on device and temperature), callrtl_test -t
To check the maximum samplerate possible on your machine, type (change the rate down until no sample loss occurs):rtl_test -s 3.2e6
A samplerate of 2.4e6 is known to work even over tcp connections (see rtl_tcp above). A sample rate of 2.88e6 may work without lost samples but this may depend on your PC/Laptop's host interface.

Using the data


To convert the data to a standard cfile, following GNU Radio Block can be used:



The GNU Radio Companion flowgraph (rtl2832-cfile.grc) is attached to this page. It is based on the FM demodulation flowgraph posted by Alistair Buxton on this thread.
Please note: for realtime operation you may use fifos (mkfifo) to forward the iq data from the capture utility to the GRC flowgraph.
You may use any of the the following gnuradio sources (they are equivalent):



What has been successfully tested so far is the reception of Broadcast FM and air traffic AM radio, TETRA, GMR, GSM, ADS-B and POCSAG.
Tell us your success story with other wireless protocols in ##rtlsdr channel on freenode IRC network.

Known Apps


The following 3rd party applications and libraries are successfully using either librtlsdr directly or the corresponding gnuradio source (gr-osmosdr):
NameTypeAuthorURL
gr-pocsagGRC FlowgraphMarcus Leech [url]https://www.cgran.org/browser/projects/gr-pocsag/trunk[/url]
multimode RX (try first!)GRC FlowgraphMarcus Leech [url]https://www.cgran.org/browser/projects/multimode/trunk[/url]
simple_fm_rvcGRC FlowgraphMarcus Leech [url]https://www.cgran.org/browser/projects/simple_fm_rcv/trunk[/url]
python-librtlsdrPython WrapperDavid Basden [url]https://github.com/dbasden/python-librtlsdr[/url]
pyrtlsdrPython WrapperRoger [url]https://github.com/roger-/pyrtlsdr[/url]
rtlsdr-waterfallPython FFT GUIKyle Keen [url]https://github.com/keenerd/rtlsdr-waterfall[/url]
Wireless Temp. Sensor RXGnuradio AppKevin Mehall [url]https://github.com/kevinmehall/rtlsdr-433m-sensor[/url]
QtRadioSDR GUIAndrea Montefusco et al. [url]http://napan.ca/ghpsdr3/index.php/RTL-SDR[/url]
gqrx (fork)SDR GUIAlexandru Csete [url]https://github.com/mathisschmieder/gqrx[/url]
rtl_fmSDR CLIKyle Keenmerged in librtlsdr master
SDR#SDR GUIYoussef Touil [url]http://sdrsharp.com/[/url] and Windows Guide or Linux Guide
tetra_demod_fftTrunking RXosmocom team osmosdr-tetra_demod_fft.py and the HOWTO
gqrx (original)SDR GUIAlexandru Csete [url]https://github.com/csete/gqrx[/url]
airprobeGSM snifferosmocom team et al [url]http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=airprobe.git[/url]
gr-smartnet (WIP)Trunking RXNick Foster [url]http://www.reddit.com/r/RTLSDR/comments/us3yo/rtlsdr_smartnet/[/url]
Notes from the author
gr-air-modesADS-B RXNick Foster [url]https://www.cgran.org/wiki/gr-air-modes[/url] call with --rtlsdr option
LinradSDR GUILeif Asbrink (SM5BSZ) [url]http://www.nitehawk.com/sm5bsz/linuxdsp/hware/rtlsdr/rtlsdr.htm[/url]
DAGC changes were applied to librtlsdr master
gr-ais (fork)AIS RXNick Foster
Antoine Sirinelli
Christian Gagneraud
[url]https://github.com/chgans/gr-ais[/url]
GNSS-SDRGPS RX (Realtime!)Centre Tecnològic de
Telecomunicacions de Catalunya
Documentation and [url]http://www.gnss-sdr.org[/url]
LTE-Cell-ScannerLTE Scanner / TrackerJames Peroulas
Evrytania LLC
[url]http://www.evrytania.com/lte-tools[/url]
[url]https://github.com/Evrytania/LTE-Cell-Scanner[/url]
Simulink-RTL-SDRMATLAB/Simulink
wrapper
Michael Schwall
Sebastian Koslowski
Communication Engineering Lab (CEL)
Karlsruhe Institute of Technology (KIT)
[url]http://www.cel.kit.edu/simulink_rtl_sdr.php[/url]
gr-scanScannertechmeology [url]http://www.techmeology.co.uk/gr-scan/[/url]
kalibrate-rtlcalibration toolJoshua Lackey
Alexander Chemeris
Steve Markgraf
[url]https://github.com/steve-m/kalibrate-rtl[/url], Windows build
pocsag-mrtMultichannel Realtime
Decoder
iZsh [url]https://github.com/iZsh/pocsag-mrt[/url]
adsb# (NEW)ADS-B RXYoussef Touil
Ian Gilmour
[url]http://sdrsharp.com/index.php/a-simple-and-cheap-ads-b-receiver-using-rtl-sdr[/url]
osmo-gmr-rtl (NEW)GMR1 RXDimitri Stolnikov [url]http://gmr.osmocom.org/trac/wiki/GettingStarted#RTLSDRdongles[/url]
rtl_adsb (NEW)ADS-B RXKyle Keencomes with the library
dump1090 (NEW)ADS-B RXSalvatore Sanfilippo [url]https://github.com/antirez/dump1090[/url]
rtl_433 (NEW)Temperature Sensor
Receiver
Benjamin Larsson [url]https://github.com/merbanan/rtl_433[/url]
randio (NEW)Random number generatorMichel Pelletier [url]https://github.com/michelp/randio[/url]
gr-wmbus (NEW)m-bus (EN 13757-4) RXoWCTejLVlFyNztcBnOoh [url]https://github.com/oWCTejLVlFyNztcBnOoh/gr-wmbus[/url]
ec3k (NEW)EnergyCount? 3000 RXTomaž Šolc [url]https://github.com/avian2/ec3k[/url]
RTLSDR-Scanner (NEW)Radio ScannerEarToEarOak? [url]https://github.com/EarToEarOak/RTLSDR-Scanner[/url]
simple_ra (NEW)Radio Astronomy AppMarcus Leech [url]https://cgran.org/wiki/simple_ra[/url]


Using our lib? Tell us! Don't? Tell us why! :)



Multiple GMR-carriers can be seen in a spectrum view with the full 3.2 MHz bandwidth (at 3.2 MS/s).

Credits


rtl-sdr is developed by Steve Markgraf and Dimitri Stolnikov, with contributions by Kyle Keen, Hoernchen, Christian Vogel and Harald Welte.

Attachments



BG0AUB
离线峰回路转
发帖
584
只看该作者 1楼 发表于: 2013-02-11

更多细节看这里  http://superkuh.com/rtlsdr.html


我已经成功试验了接受航班二次雷达信号和用GUN RADIO全频段fm接收机。ubuntu系统,还可以命令行听fm收音机。呵呵
http://user.qzone.qq.com/14726402/main   欢迎光临我的qq空间,各种得瑟。显摆。呵呵。

[ 此帖被峰回路转在2013-02-11 12:24重新编辑 ]
BG0AUB
离线saul
发帖
407
只看该作者 2楼 发表于: 2013-02-11
名   称: SDR交流群 群   号:227987362
姓名:胡申
呼号:BG4CLO
会员证编号:42654
联系地址:上海市平型关路500/15/101
联系电话:13361999920
离线bd7ni
发帖
2958
只看该作者 3楼 发表于: 2013-02-12
记个号。
73 de BA7NI !
在线zsh
发帖
1368
只看该作者 4楼 发表于: 2013-02-12
好像就是电视棒
我是中国最特殊的HAM之一 嘿嘿
人非圣贤,熟能无过,退一步海阔天空,忍一时风平浪静。
DXCC:139 , WAZ Zone:37(缺:02;34;36;)。
革命尚未成功  HAM應需努力
致力于收集共享设备技术维修手册软件...........
个人业余电台呼号:BD7OA(EX:BG2IJJ)
诚实、守信、开拓、进取。73!  
网名叫:金阿甘 QQ:444341969 微信:zsh5198
MSN:zshdodo@hotmail.com
网店:https://shop136258697.taobao.com
Blog:http://blog.sina.com.cn/radionew
Blog:http://www.radionew.com.cn/
手机:壹伍玖 0432 5198 只收短信
电邮:zsh518@gmail/126.com
住址与通信地址:请在www.qrz.cn用BG2IJJ/7查!
本人目前在七区!!!
离线BG6LQZ
发帖
2755
只看该作者 5楼 发表于: 2013-02-12
回 峰回路转 的帖子
峰回路转:更多细节看这里  http://superkuh.com/rtlsdr.html
我已经成功试验了接受航班二次雷达信号和用GUN RADIO全频段fm接收机。ubuntu系统,还可以命令行听fm收音机。呵呵
....... (2013-02-11 12:22) 

FM收音机 可以使用SDR# 在windows环境下运行可用
航班跟踪那个因为使用了自带天线 没搞成
呼号:BG6LQZ
QTH:河南省南阳市
Phone:155叁久久888伍六
离线BH7KGE
发帖
65
只看该作者 6楼 发表于: 2013-04-28
电视棒
QTH:廣東省佛山市南海區
离线BH1LHS
发帖
1371
只看该作者 7楼 发表于: 2013-04-29
记号先!
BH1LHS
北京市通州区
FT857D + 3波段倒V+PAC-12