Skip to content

Instantly share code, notes, and snippets.

Avatar

Mark Jessop darksidelemm

View GitHub Profile
View rig_sync.py
#!/usr/bin/env python
#
# Hacky Rig Sync Utility.
#
# Reads frequency from one rigctld server, and sends it to another rigctld server.
#
# My use-case: Syncing up a SDR++ instance (connected to a remote spyserver) to my
# Icom IC-7610. In my case I'm using wfview's rigctld server to access the Icom.
#
#
View ssdv_grabber.py
#
# SSDV Image Grabber
#
# Run with:
# python ssdv_grabber.py CALLSIGN TIME
# where CALLSIGN is the payload callsign, and
# TIME is the time of the oldest image, as %Y-%m-%dT%H:%M:%SZ
#
import requests
import argparse
@darksidelemm
darksidelemm / gist:efbcc515a93f260060889c25b6cc52b8
Last active Mar 23, 2021
Rocketlab "They Go Up So Fast" TLE Estimate
View gist:efbcc515a93f260060889c25b6cc52b8
Based on a 2021-03-22T22:20:00Z launch, into a 45 degree inclination, 550km circular orbit.
Rocketlab press kit: https://www.rocketlabusa.com/assets/Uploads/Flight-19-They-Go-Up-So-Fast-Press-Kit-small.pdf
Note that the press kit has a launch time of 20:21Z, and the website ( https://www.rocketlabusa.com/missions/next-mission/ ) has a launch time of 22:20Z. I'm going with the latter.
I'm using this process to generate the TLE: https://gist.github.com/darksidelemm/60dd22c74ebe2e6d89bae9e6a845da5e
22:20Z Launch:
1 99999U 21081.93402778 .00000000 00000-0 50000-4 0 09
2 99999 45.0000 100.0000 0001443 0.0000 243.5000 15.05492052 06
View horus_55_lorawan_stats.md

Project Horus Flight 55 - LoRaWAN Payload Reception Information

  • Author: Mark Jessop <vk5qi(at)rfhead.net>
  • Date: 2021-03-07

Hardware Used:

Longest Range

Longest Range was 585.6 km to "Federation University - Meshed - 4 - AU915" (Ballarat, Victoria), with the payload at 30333 mASL.

View ax25_callsigns.py
#!/usr/bin/env python
#
# Print out AX25 dst/src callsigns, and packet path from a SatNOGS HexTDump
#
# Example: python ax25_callsigns.py "AE 90 64 B0 A0 9A 60 9C 6E A6 96 86 40 E1 03 F0 00"
#
import codecs
import sys
@darksidelemm
darksidelemm / 2020-11-14_FakeTLE_guide.md
Last active Nov 29, 2022
TLE Estimation for an Upcoming Rocket Launch
View 2020-11-14_FakeTLE_guide.md

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...

View spyserver_hf_aprs.sh
#/usr/bin/env bash
#
# SpyServer HF APRS iGate Script
#
# Mark Jessop <vk5qi@rfhead.net> 2020-09
#
# This script enables operation of a HF APRS iGate using input from a SpyServer.
# This is targeted for a Raspbian install. These instructions will probably work on
# other debian-based systems too.
#
View hfaprs.conf
#
# SpyServer + Direwolf configuration File
#
# Setup Direwolf to read from stdin.
ADEVICE - null
ACHANNELS 1
# Single input channel
CHANNEL 0
View gist:f09c3eb4a0fe837e4fd42347d264d85a
#!/bin/bash
#
# WIA Broadcast - FreeDV Encoder Cron Job
#
# To be run ~2AM Sunday Morning, to be sure all the required files are in place...
#
# Requirements:
# - freedv_tx and required libs should be in this directory.
# - ffmpeg (available with apt-get, or macports, or homebrew or whatever)
# - wget
View mute_button.ino
/*
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: