пятница, 7 декабря 2012 г.
RaspberryPi && SDR
1. prepare
#prepare os (there was an old raspbian)
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
sudo raspi-config
#overclock to medium
#don't load DM on start
#minimize video memory
#without this step there were gaps in sound for a half a second every second
#prepare soft
sudo apt-get install git libusb-dev libusb-1.0 libtool cmake pkg-config
git clone git://git.osmocom.org/rtl-sdr.git
2. compile rtl-sdr
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
sudo make install-udev-rules
3. run
rtl_tcp -a 192.168.1.3
4. listen to music
#i've used sdr# (http://sdrsharp.com/) from my laptop
#but it is possible to use rtl_fm and aplay directly from raspi
rtl_fm -f 103700000 -s 48000 -g 9 -l 10 - | aplay -t raw -r 48000 -c 1 -f S16_LE
Подписаться на:
Сообщения (Atom)