r4d10n/retrogram-soapysdr: Spectrum analyzer on your terminal/ssh console with ASCII art ~ SoapySDR
2018-12-14 23:34:05 Author: github.com(查看原文) 阅读量:134 收藏

	  _                                      /\/|____                         _________________ 
	 | |                                    |/\/  ___|                       /  ___|  _  \ ___ \
 _ __ ___| |_ _ __ ___   __ _ _ __ __ _ _ __ ___   \ `--.  ___   __ _ _ __  _   _\ `--.| | | | |_/ /
| '__/ _ \ __| '__/ _ \ / _` | '__/ _` | '_ ` _ \   `--. \/ _ \ / _` | '_ \| | | |`--. \ | | |    / 
| | |  __/ |_| | | (_) | (_| | | | (_| | | | | | | /\__/ / (_) | (_| | |_) | |_| /\__/ / |/ /| |\ \ 
|_|  \___|\__|_|  \___/ \__, |_|  \__,_|_| |_| |_| \____/ \___/ \__,_| .__/ \__, \____/|___/ \_| \_|
			 __/ |                                       | |     __/ |                  
			|___/                                        |_|    |___/                   

Wideband Spectrum analyzer on your terminal/ssh console with ASCII art. Hacked from Ettus UHD RX ASCII Art DFT code for SoapySDR. Adapted from retrogram~plutosdr / retrogram-rtlsdr.

retrogram-rtlsdr-vhf [Tuning on VHF band while transmitting on 145.500 MHz with Handheld Radio]

retrogram-rtlsdr-gsm [Spotting FCCH (Freq. Correction) burst in the local GSM BCCH (Broadcast Control Channel) @ 938.2 MHz]

Pan & Zoom spectrum using keyboard controls [decrement-Increment]. [Full feature demo based on retrogram-plutosdr]

  • Center Frequency using keys [f-F]
  • Sampling rate using keys [r-R]
  • Reference level using keys [l-L]
  • Dynamic Range using keys [d-D]
  • Frame rate using keys [s-S]
  • Tuning step using keys [t-T]

Tuning step applies for decrementing / Incrementing Center Frequency and Sampling Rate.


Requires: libsoapysdr, libcurses, libboost-program-options

sudo apt install libsoapysdr-dev libncurses5-dev libboost-program-options-dev

Build:

For running on a Linux host:

make

Run:

./retrogram-soapysdr --dev 0 --rate 1.8e6 --freq 100e6 --step 1e5

TODO:

  • Handle Gain adjustments
  • Fix format conversions / normalization
  • Direct Freq Entry / parameter change
  • Mouse tuning
  • Modularize / Optimize with std::vector transform
  • Waterfall (!) / Markers / Demodulators (!!) :)
  • HTML output / Web(sockets)-server

文章来源: https://github.com/r4d10n/retrogram-soapysdr
如有侵权请联系:admin#unsafe.sh