Software Defined Radio (SDR) mit Linux

Aus BraLUG-Wiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(rtl-sdr)
Zeile 96: Zeile 96:
 
Output at 64000 Hz.
 
Output at 64000 Hz.
 
In:0.00% 00:00:22.78 [00:00:00.00] Out:1.45M [ =====|===== ] Hd:4.1 Clip:0
 
In:0.00% 00:00:22.78 [00:00:00.00] Out:1.45M [ =====|===== ] Hd:4.1 Clip:0
 +
</pre>
 +
 +
==...und was nun damit anfangen?==
 +
 +
==="Automatic Dependent Surveillance Broadcast (ADS-B)" empfangen/darstellen===
 +
 +
Flugzeuge gucken ;-)...
 +
<pre>
 +
$ git clone git://github.com/MalcomRobb/dump1090.git
 +
...
 +
$ cd dump1090.git
 +
$ make
 +
...
 +
$ ./dump1090 --interactive --net
 +
</pre>
 +
 +
Im Browser:
 +
<pre>
 +
 +
http://localhost:8080/
 +
 
</pre>
 
</pre>
  

Version vom 2. November 2014, 02:21 Uhr

...derzeit in Arbeit!

Inhaltsverzeichnis

Was ist Software Defined Radio (SDR)?

...für den Anfang mal die Definition von Wikipedia zu SDR-


Hardware

Software

rtl-sdr

...

Installation (mit udev-Regel):

$ git clone git://git.osmocom.org/rtl-sdr.git
...
$ apt-get update
$ apt-get install cmake libusb-1.0-0-dev
...
$ cd rtl-sdr
$ mkdir build
$ cd build
$ cmake ../ -DINSTALL_UDEV_RULES=ON
...
$ make
$ sudo make install
$ sudo ldconfig

In den meisten Fällen ist das automatische Laden des DVB-T-Treibers zu verhindern. Dazu muss eine Datei /etc/modprobe.d/rtlsdr.conf mit folgenden Inhalt (als root) angelegt werden:


blacklist dvb_usb_rtl28xxu


Test mit rtl_test:

$ rtl_test

Found 1 device(s):
  0:  NOXON, DAB Stick, SN: 0

Using device 0: Terratec NOXON DAB/DAB+ USB dongle (rev 1)
Found Fitipower FC0013 tuner
Supported gain values (23): -9.9 -7.3 -6.5 -6.3 -6.0 -5.8 -5.4 5.8 6.1 6.3 6.5 6.7 6.8 7.0 7.1 17.9 18.1 18.2 18.4 18.6 18.8 19.1 19.7 
Sampling at 2048000 S/s.

Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode...

Test mit rtl_sdr:

$ rtl_sdr /tmp/capture.bin -s 1800000 -f 392000000

Found 1 device(s):
  0:  NOXON, DAB Stick, SN: 0

Using device 0: Terratec NOXON DAB/DAB+ USB dongle (rev 1)
Found Fitipower FC0013 tuner
Sampling at 1800000 S/s.
Tuned to 392000000 Hz.
Tuner gain set to automatic.
Reading samples in async mode...


Radioempfang mit rtl_fm:

$ rtl_fm -M fm -s 64k -o 4 -A fast -l 0 -E deemp -f 106.2M | play -r 64k -t raw -e s -b 16 -c 1 -V1 -

Warning: -o is very buggy
Found 1 device(s):
  0:  NOXON, DAB Stick, SN: 0

Using device 0: Terratec NOXON DAB/DAB+ USB dongle (rev 1)

-: (raw)

  Encoding: Signed PCM    
  Channels: 1 @ 16-bit   
Samplerate: 64000Hz      
Replaygain: off         
  Duration: unknown      

In:0.00% 00:00:00.00 [00:00:00.00] Out:0     [      |      ]        Clip:0    Found Fitipower FC0013 tuner
Tuner gain set to automatic.
Tuned to 106456000 Hz.
Oversampling input by: 4x.
Oversampling output by: 4x.
Buffer size: 8.00ms
Sampling at 1024000 S/s.
Output at 64000 Hz.
In:0.00% 00:00:22.78 [00:00:00.00] Out:1.45M [ =====|===== ] Hd:4.1 Clip:0

...und was nun damit anfangen?

"Automatic Dependent Surveillance Broadcast (ADS-B)" empfangen/darstellen

Flugzeuge gucken ;-)...

$ git clone git://github.com/MalcomRobb/dump1090.git
...
$ cd dump1090.git
$ make
...
$ ./dump1090 --interactive --net

Im Browser:


http://localhost:8080/

Informationsquellen

Antennen:

Kontakt

Uwe

'Persönliche Werkzeuge