Skip to content

Instantly share code, notes, and snippets.

View darksidelemm's full-sized avatar

Mark Jessop darksidelemm

View GitHub Profile
@darksidelemm
darksidelemm / fsk9k6.md
Last active December 31, 2023 16:57
Decoding FSK9k6 telemetry from SatNOGS observations.

Decoding FSK9k6 transmissions from SatNOGS observations using Direwolf

Dependencies

Setup

Create a file called ax25_9600.conf with the following contents

@darksidelemm
darksidelemm / STRF_Setup.md
Last active December 2, 2023 02:27
Setting up STRF Capture & Processing

Setting up STRF Data Capture & Processing

Author: Mark Jessop (VK5QI) vk5qi@rfhead.net

This guide provides information on how to capture FFT data using the strf toolset, process it to look for satellite signals, and finally compare their doppler shift against TLEs from the SpaceTrack database. This can help with resolving the 'TLE lottery' after new launches, or cataloguing transmissions from spacecraft already in orbit.

It should be noted that the analysis described in this document is but a small subset of what the strf tools are capable of! Scott Tilley has a post describing some of the history behind strf and giving a crash course on the relationship between orbital dynamics and the doppler effect here: https://skyriddles.wordpress.com/2019/01/04/basic-orbital-dynamics/

The target platform is Debian-based distributions (e.g. Debian, Raspbian, Ubuntu), but should be applicable to other Linux-based platforms. The data processing software (rfplot and rffit) is also k

@darksidelemm
darksidelemm / gist:b517e6a9b821c50c170f1b9b7d65b824
Last active October 30, 2023 20:15
PPM Correction under Raspbian using LTE-Cell-Scanner

LTE-Cell-Scanner under Raspbian (and maybe Ubuntu/Debian)

Mark Jessop vk5qi@rfhead.net 2017-11-19

Here in VK-land, GSM is dying, if not already dead in many parts of the country. As such, RTLSDR calibration tools like kalibrate-rtl are not particularly helpful! However, thanks (mainly) to Telstra, we have a very wide coverage 4G (LTE) network on 'Band 28', which is in a good frequency range for use with a RTLSDR (Downlink band 758 – 803 MHz). LTE-Cell-Scanner provides the 'CellSearch' utility, which will search for LTE cells, and determine the RTLSDR's clock offset. This gist attempt to provide some sort of guide on getting CellSearch running under Raspbian.

@darksidelemm
darksidelemm / spyserver.service
Created October 27, 2023 05:34
SpyServer Systemd Service File
[Unit]
Description=spyserver
After=syslog.target
[Service]
# For running outside of a python virtual environment
ExecStart=/home/pi/spyserver/spyserver /home/pi/spyserver/spyserver_autorx.config
Restart=always
RestartSec=15
WorkingDirectory=/home/pi/spyserver/
@darksidelemm
darksidelemm / spyserver_autorx.config
Last active October 27, 2023 05:02
SpyServer Configuration File for radiosonde_auto_rx
# SPY Server Configuration File for radiosonde_auto_rx
# Modify as necessary, refer to comments throughout the file.
device_type = AirspyOne
# Device Serial Number as 64bit Hex, or set to 0 to use the first available device
device_serial = 0
# Initial Center Frequency
# Recommendations for Airspy Mini (6 MHz sample rate, 4.8 MHz usable):
# Australia - 402500000
@darksidelemm
darksidelemm / SatNOGS_RSPdx.md
Last active August 13, 2023 21:19
Adding SDRPlay RSPdx Support to SatNOGS

Adding SDRPlay RSPdx Support to SatNOGS

Author: Mark Jessop vk5qi@rfhead.net Date: 2020-05-08

The SDRPlay RSPdx is a pretty new SDR, and as such is only supported in the SDRPlay v3 API. The current pothosware of SoapySDRPlay only supports v2 of the API, so we need to use a different fork for now.

Note that the v3 API is in beta, and users of older model SDRPlay units may have better luck using the v2 API.

This guide assumes you are starting from an updated SatNOGS RPi image. I have only tested my RSPdx with a few observation so far, so there may be bugs!

#
# SSDV Image Grabber
#
# Author: Mark Jessop <vk5qi@rfhead.net> ~2022
#
# Dependencies:
# * Python 3
# * Python libraries (install using pip):
# * requests
# * wget
@darksidelemm
darksidelemm / 2020-11-14_FakeTLE_guide.md
Last active May 25, 2023 21:20
TLE Estimation for an Upcoming Rocket Launch

TLE Estimation for an Upcoming Rocket Launch

Scenario: RocketLab are launching 30 small-sats into space in a few days. We know that one of them is going to be transmitting on the amateur radio bands, but we haven't been able to obtain a pre-launch TLE yet. We want to get setup to use strf to listen for beacon signals (see my guide here), but we need to know when to expect the satellites. We have some basic orbital information from a press release, so how can we use this to estimate a TLE for prediction purposes?

Note: I am approaching this from the point-of-view of someone who really don't know much about orbital mechanics. I'm relying heavily on the experience of others, and the content below is my attempt at documenting the process taken.

Thanks to Cees Bassa for the amazing software as always...

#!/bin/bash
# STRF Capture Script
# Mark Jessop <vk5qi@rfhead.net>
#
# Compile rffft from https://github.com/cbassa/strf
# Use: make rffft
# You should only need libfftw3-dev as a dependency.
#
# Prepare directory with:
# mkfifo fifo
/*
Heil Dual-Switch Footswitch Momentary Mute Button
Mark Jessop < vk5qi@rfhead.net >
Mutes system audio on Windows machine when a footswitch is pressed, then un-mutes when
the switch is released. This is useful when listening via a remote SDR on a PC, which
can also hear your own transmissions (helps avoid echo!)
Hardware: