KerberosSDR code notes (1) Introduction and installation method

KerberosSDR is a 4-channel synchronous receiver, which is essentially 4 rtlsdr using the same local oscillator, and a noise source is added as a reference signal for calibration. Sampling time synchronization and phase synchronization can be achieved. The functions currently implemented include 4-channel signal direction finding and dual-channel passive radar. I mainly use the direction finding function

Purchase link: https://item.taobao.com/item.htm?spm=a230r.1.14.1.6652f3cda3JU6H&id=608469872148&ns=1&abbucket=15#detail

Use can refer to this video:

https://www.bilibili.com/video/av78385598/

The video demonstrates the direction finding function, and a web version of the compass displays the direction finding results. This project is also equipped with an Android app, which can integrate the direction finding results and certainty, current position, driving direction and other states to realize automatic signal positioning, but this Android app is not open source for the time being. Therefore, there is not much introduction here.

Next, I will start to talk about the KerberosSDR code, it will not be too complete, so this can only be regarded as a note.

KerberosSDR provides two installation methods. One is to directly download the Raspberry Pi image, and then use the Raspberry Pi as the processing end to process the kerberossdr data and transmit the result with wifi. The other is to compile and install by yourself, supporting ubuntu.

There are also two ways to operate, one is to remotely access the local webpage of kerberosdr, or if it is installed on a local computer, you can directly operate the interface below. The two methods are similar in function.

This interface is written in python. Compared to web pages, I am more used to python code. So my code is still based on the python interface displayed locally. So first install the kerberossdr related programs locally.

First install the dependency package with apt and delete the old numpy

sudo apt update
sudo apt install python3-pip python3-pyqt4 build-essential gfortran libatlas3-base libatlas-base-dev python3-dev python3-setuptools libffi6 libffi-dev python3-tk pkg-config libfreetype6-dev php-cli wondershaper

sudo apt remove python3-numpy

Then use pip3 to install some dependency packages

pip3 install numpy
pip3 install matplotlib
pip3 install scipy
pip3 install cairocffi
pip3 install pyapril
pip3 install pyargus
pip3 install pyqtgraph
pip3 install peakutils
pip3 install bottle
pip3 install paste

Next install the kerberossdr driver, which is slightly modified from the rtlsdr driver.

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

git clone https://github.com/rtlsdrblog/rtl-sdr-kerberos

cd rtl-sdr-kerberos
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig

echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf

 

Next install the main program of kerberosdr

cd ~
git clone https://github.com/rtlsdrblog/kerberossdr
cd kerberossdr
sh setup_init.sh

Finally, enter the following command to start the previous interface.

./run.sh

 

Guess you like

Origin blog.csdn.net/shukebeta008/article/details/104031127