Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
/ ppm-calibrate Public archive

A script to return the PPM for a RTL-SDR dongle based on a given reference frequency.

License

Notifications You must be signed in to change notification settings

CrimeIsDown/ppm-calibrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

(Modified from https://github.com/khaytsus/direwolf-init)

trunk-recorder PPM calibration

Problem: RTL-SDR sticks the PPM varies as the temperature changes, and decoding P25 requires the PPM to be pretty close, probably within 2-3 or you'll have issues decoding.

Solution: Using a chosen frequency as a source, I use rtl_power to find the best signal and then figure out what the correct PPM is based on that, and use that new PPM.

Setup a cron job every hour to run ./get_ppm which will run the calibration script and update the trunk-recorder config file listed within the script with the new PPM value.

Files:

  • findppm.pl - Perl script which determines the best PPM
  • get_ppm - Script which updates ppm

Edit get_ppm with the path to your config file, and the reference frequencies / device IDs to use.

About

A script to return the PPM for a RTL-SDR dongle based on a given reference frequency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published