-
Notifications
You must be signed in to change notification settings - Fork 0
Receive PW Sat2 with GNURadio
NOTE: We've built dedicated, super-easy to use application for receiving PW-Sat2 signal and uploading decoded frames to our cloud service. We encourage you to use this method. Here we present an alternative option - GNURadio Companion.
-
Install PyBOMB:
pip install pybombs -
Install gnuradio via PyBOMBS: https://github.com/gnuradio/gnuradio#how-to-build-gnu-radio
-
Clone PW-Sat2's
gr-kissrepository:git clone https://github.com/PW-Sat2/gr-kiss.git -
Build and install gr-kiss:
cd gr-kiss && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=~/prefix/default .. && make -j3 && make install -
Clone PW-Sat2's
gr-gpredict-dopplerrepository:git clone https://github.com/PW-Sat2/gr-gpredict-doppler -
Build and install gr-gpredict-doppler:
cd gr-gpredict-doppler && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=~/prefix/default .. && make -j3 && make install -
Run GNURadio by issuing in a teminal following commands:
source ~/prefix/default/setup_env.shand then:gnuradio-companion -
Clone
GSControlrepository - https://github.com/PW-Sat2/GSControl - it contains several GRC flow graphs to receive and demodulate signal:
- https://github.com/PW-Sat2/GSControl/tree/master/gnuradio/downlink/source - in this folder are located flow graphs for a few SDR receivers - basically they grab IQ data from the SDR, prepare signal (i.e. decimate to achieve correct sample rate, can receive data about Doppler frequency from GPredict etc.) and send IQ data via ZMQ protocol to demodulator (downlink.grc)
-
https://github.com/PW-Sat2/GSControl/blob/master/gnuradio/downlink/downlink.grc - run this flow graph to demodulate signal from your radio - it takes IQ samples from signal source mentioned in previous bullet. Decoded frames are saved in
downlink_framesfile. Note: the file is replaced (i.e. wiped out) each time downlink flow graph is executed.
It's basically the same file that is used by our desktop application. You can run the application from binary (as described in this wiki) or source (file main.py, using Python 2.7 interpreter). You should rename downlink_frames to file with .frames extension e.g. downlink_frames.frames to be seen by the application. Use "Load from file" button in "Cloud upload" tab in the application to send frames to our servers.
Check out our Python script - https://github.com/PW-Sat2/SimpleUploader-radio.pw-sat.pl. It allows for uploading downlink_frames file generated by the GRC Demodulator (downlink.grc).
pw-sat.pl | radio.pw-sat.pl | Twitter | Facebook | Instagram