Difference between revisions of "SDR"

From Fixme.ch
Jump to: navigation, search
(Multimon-NG)
Line 1: Line 1:
 
[[Category:Ongoing_Projects]]
 
[[Category:Ongoing_Projects]]
 +
== Goal ==
 +
* Install an SDR reception station at FIXME based on rtl-sdr, a DVB-T USB Stick and a Raspberry Pi.
  
= SDR Softwares =
+
== References ==
 +
* http://sdr.osmocom.org/trac/wiki/rtl-sdr
 +
* http://gnuradio.org/redmine/projects/gnuradio/wiki
 +
* http://spacenear.us/tracker/
 +
* https://en.wikipedia.org/wiki/ISM_band
  
==GNURadio==
+
== SDR Softwares ==
 +
===GNURadio===
 
* GNURadio [https://www.cgran.org/browser/projects/multimode/trunk multimode]
 
* GNURadio [https://www.cgran.org/browser/projects/multimode/trunk multimode]
 
* Install on Debian 6
 
* Install on Debian 6
Line 18: Line 25:
 
   ./multimode.py --devinfo=rtl_tcp=foo.fixme.ch:1234 --freq=98.5M --dmode=WFM --mthresh=-35 --vol=10
 
   ./multimode.py --devinfo=rtl_tcp=foo.fixme.ch:1234 --freq=98.5M --dmode=WFM --mthresh=-35 --vol=10
  
== RTL-SDR ==
+
=== RTL-SDR ===
  
=== Requirement  ===
+
==== Requirement  ====
 
<pre>
 
<pre>
 
sudo apt-get install git
 
sudo apt-get install git
Line 28: Line 35:
 
</pre>
 
</pre>
  
=== Build ===
+
==== Build ====
 
<pre>
 
<pre>
 
git clone git://git.osmocom.org/rtl-sdr.git
 
git clone git://git.osmocom.org/rtl-sdr.git
Line 40: Line 47:
 
</pre>
 
</pre>
  
=== Test the dongle ===
+
==== Test the dongle ====
  
 
The test bellow is for a E4000 dongle.
 
The test bellow is for a E4000 dongle.
Line 60: Line 67:
 
</pre>
 
</pre>
  
=== Use rtl_tcp ===
+
==== Use rtl_tcp ====
  
 
To start rtl_tcp on every ethernet interfaces and the port 1234:
 
To start rtl_tcp on every ethernet interfaces and the port 1234:
Line 75: Line 82:
  
  
== SDR# ==
+
=== SDR# ===
 
* Replace $ARCH by i386 or x86_64
 
* Replace $ARCH by i386 or x86_64
 
<pre>
 
<pre>
Line 99: Line 106:
  
 
[[file:sdsharp_error.jpg]]
 
[[file:sdsharp_error.jpg]]
 
 
=== The gui ===
 
 
[[file:sdsharp.jpg||500px]]
 
[[file:sdsharp.jpg||500px]]
  
  
=== References ===
+
==== References ====
 
* http://www.rtlsdr.org/softwarelinux
 
* http://www.rtlsdr.org/softwarelinux
  
  
== Multimon-NG ==
+
=== Multimon-NG ===
  
=== Requirement  ===
+
==== Requirement  ====
 
<pre>
 
<pre>
 
sudo apt-get install libqt4-dev
 
sudo apt-get install libqt4-dev
Line 117: Line 121:
 
</pre>
 
</pre>
  
=== Build ===
+
==== Build ====
  
 
<pre>
 
<pre>
Line 146: Line 150:
 
* The service is started with the following command is listen to the port 1234
 
* The service is started with the following command is listen to the port 1234
 
  sv start rtl-tcp
 
  sv start rtl-tcp
 
=== Goal ===
 
* Install an SDR reception station at FIXME based on rtl-sdr, a DVB-T USB Stick and a Raspberry Pi.
 
 
 
== References ==
 
* http://sdr.osmocom.org/trac/wiki/rtl-sdr
 
* http://gnuradio.org/redmine/projects/gnuradio/wiki
 
* http://spacenear.us/tracker/
 
* https://en.wikipedia.org/wiki/ISM_band
 
  
 
== Participants ==
 
== Participants ==
 
* [[User:Mc]]
 
* [[User:Mc]]
 
* [[User:Francois]]
 
* [[User:Francois]]

Revision as of 14:56, 18 December 2013

Goal

  • Install an SDR reception station at FIXME based on rtl-sdr, a DVB-T USB Stick and a Raspberry Pi.

References

SDR Softwares

GNURadio

 mkdir gnuradio; cd gnuradio
 wget http://www.sbrac.org/files/build-gnuradio; chmod a+x ./build-gnuradio; ./build-gnuradio
  • On Debian 7: apt-get install gnuradio (???)
  • On arch linux, a working package is in aur so you only need
 yaourt -S gnuradio
  • Install and use Multimode
 svn co https://www.cgran.org/svn/projects/multimode/trunk/ gnuradio-multimode
 git clone git://git.osmocom.org/osmo-sdr.git
 ./multimode.py --devinfo=rtl_tcp=foo.fixme.ch:1234 --freq=98.5M --dmode=WFM --mthresh=-35 --vol=10

RTL-SDR

Requirement

sudo apt-get install git
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install cmake
sudo apt-get install build-essential

Build

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig

Test the dongle

The test bellow is for a E4000 dongle.

sdr@alix2:~$ rtl_test -t
Found 1 device(s):
  0:  Terratec T Stick PLUS

Using device 0: Terratec T Stick PLUS
Found Elonics E4000 tuner
Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0 
Benchmarking E4000 PLL...
[E4K] PLL not locked for 52000000 Hz!
[E4K] PLL not locked for 2225000000 Hz!
[E4K] PLL not locked for 1113000000 Hz!
[E4K] PLL not locked for 1251000000 Hz!
E4K range: 53 to 2224 MHz
E4K L-band gap: 1113 to 1251 MHz

Use rtl_tcp

To start rtl_tcp on every ethernet interfaces and the port 1234:

pi@sdr1 ~ $ rtl_tcp -a 0.0.0.0 p 1234
Found 1 device(s).
Found Fitipower FC0013 tuner
Using Terratec NOXON DAB/DAB+ USB dongle (rev 1)
Tuned to 100000000 Hz.
listening...
Use the device argument 'rtl_tcp=0.0.0.0:1234' in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).


SDR#

  • Replace $ARCH by i386 or x86_64
ARCH='x86_64'
sudo apt-get install mono-complete monodevelop
sudo apt-get install libportaudio2 
sudo apt-get install subversion
svn co https://subversion.assembla.com/svn/sdrsharp/trunk sdrsharp
cd sdrsharp
xbuild /t:Rebuild /p:Configuration=Release SDRSharp.sln /p:Platform=x86
cd Release
sudo ln -s /usr/local/lib/librtlsdr.so librtlsdr.dll
sudo ln -s /usr/lib/$ARCH-linux-gnu/libportaudio.so.2 libportaudio.so
mono SDRSharp.exe


To prevent the error below, just modify the file release/SDRSharp.exe.config and comment the line as follow:

<!-- <add key="SDR-IQ" value="SDRSharp.SDRIQ.SdrIqIO,SDRSharp.SDRIQ" /> -->^M

Sdsharp error.jpg Sdsharp.jpg


References


Multimon-NG

Requirement

sudo apt-get install libqt4-dev
sudo apt-get install libpulse-dev

Build

git clone https://github.com/EliasOenal/multimonNG.git
cd multimonNG
mkdir build
cd build
qmake ../multimon-ng.pro
make
sudo make install

On arch linux, you have the choice between a "stable" version named multimon:

  yaourt -S multimon

and The dev version:

  yaourt -S multimon-ng-git

SDR at FIXME

We currently have two rtl_tcp instances running at FIXME:

  • sdr1.fixme.ch:1234 (62.220.135.211:1234) (Raspberry PI, west window, MC's homemade VHF antenna)
  • foo.fixme.ch:1234 (FIXME's internal server, north window, original UHF antenna)

Service

  • The service is started with the following command is listen to the port 1234
sv start rtl-tcp

Participants