Code Monkey home page Code Monkey logo

rtl-sdr-scanner's Introduction

DEPRECATED

Project is no longer maintained. Please visit new version of project written in c++ here rtl-sdr-scanner-cpp.

rtl-sdr scanner and recorder

This project contains my rtl-sdr script written in python3 to scan and record interesting frequencies. See video below for details.

YouTube video

Prerequisites

You need some tools to start the work.

python3 python3-pip rtl-sdr sox

Install it before continue. For example on Debian based distribution run follow commands:

sudo apt-get install python3 python3-pip rtl-sdr sox

Clone the repository into your local machine. After that, install needed libraries.

pip3 install --user -r requirements.txt

Configuration

Edit your configuration in file config.json.

Run

Run below commands in terminal to get help:

./sources/main.py --help

Example

shajen@artemida:~/git/auto-sdr $ sources/main.py config.json -vvv -pbf 10 -fbf
[2020-03-31 13:35:23][   INFO][   sdr] 
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
[2020-03-31 13:35:23][   INFO][   sdr] ############################# IGNORED FREQUENCIES ##############################
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
[2020-03-31 13:35:23][   INFO][   sdr] ignored frequency range user defined: 28,799,000 Hz - 28,801,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] ignored frequency range user defined: 115,199,000 Hz - 115,201,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] ignored frequency range user defined: 438,470,000 Hz - 438,490,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] ignored frequency range user defined: 439,000,000 Hz - 439,010,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] 
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
[2020-03-31 13:35:23][   INFO][   sdr] ############################### SCANNING RANGES ################################
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 26,000,000 Hz - 28,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 28,000,000 Hz - 30,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 50,000,000 Hz - 52,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 108,000,000 Hz - 144,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 144,000,000 Hz - 146,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] scanned frequency range: 430,000,000 Hz - 440,000,000 Hz
[2020-03-31 13:35:23][   INFO][   sdr] 
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
[2020-03-31 13:35:23][   INFO][   sdr] ############################### SCANNING STARTED ###############################
[2020-03-31 13:35:23][   INFO][   sdr] ################################################################################
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[2020-03-31 13:35:30][   INFO][   sdr] start recording frequency: 144,498,046 Hz, power:  -4.16 dB #######################_________________
[2020-03-31 13:35:41][   INFO][   sdr] stop recording frequency: 144,498,046 Hz
[2020-03-31 13:35:42][   INFO][   sdr] recording time: 8.52 seconds
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,431,640 Hz, power:  -6.29 dB ###############_________________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,497,558 Hz, power:  -6.33 dB ###############_________________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,497,680 Hz, power:  -5.98 dB ################________________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,497,802 Hz, power:  -5.80 dB #################_______________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,497,924 Hz, power:  -4.76 dB #####################___________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,498,046 Hz, power:  -4.16 dB #######################_________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,498,168 Hz, power:  -4.17 dB #######################_________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,498,291 Hz, power:  -4.77 dB #####################___________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,498,413 Hz, power:  -5.83 dB #################_______________________
[2020-03-31 13:35:43][  DEBUG][   sdr] frequency: 144,498,535 Hz, power:  -6.01 dB ################________________________
[2020-03-31 13:35:43][  DEBUG][   sdr] --------------------------------------------------------------------------------
^C[2020-03-31 13:36:06][WARNING][killer] stopping application

All recorded frequencies are stored in wav directory.

Contributing

In general don't be afraid to send pull request. Use the "fork-and-pull" Git workflow.

  1. Fork the repo
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from upstream before making a pull request!

Donations

If you enjoy this project and want to thanks, please use follow link:

Support via PayPal

License

License

rtl-sdr-scanner's People

Contributors

gdomeradzki avatar tescalada avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.