Skip to content

Instantly share code, notes, and snippets.

View NT7S's full-sized avatar

Jason Milldrum NT7S

View GitHub Profile
@NT7S
NT7S / Si5351_JT65.ino
Created September 30, 2015 15:10
Simple JT65 beacon for Arduino driving the Si5351
//
// Simple JT9 beacon for Arduino, with the Etherkit Si5351A Breakout
// Board, by Jason Milldrum NT7S.
//
// Transmit an abritrary message of up to 13 valid characters
// (a Type 6 message).
//
// Original code based on Feld Hell beacon for Arduino by Mark
// Vandewettering K6HX, adapted for the Si5351A by Robert
// Liesenfeld AK6L <ak6l@ak6l.org>. Timer setup
@NT7S
NT7S / Si5351FSQTelemetry.ino
Last active July 14, 2019 12:48
Si5351 FSQ Telemetry Concept
//
// Simple FSQ telemetry beacon for Arduino, with the Etherkit Si5351A
// Breakout Board, by Jason Milldrum NT7S.
//
// Original code based on Feld Hell beacon for Arduino by Mark
// Vandewettering K6HX, adapted for the Si5351A by Robert
// Liesenfeld AK6L <ak6l@ak6l.org>. Timer setup
// code by Thomas Knutsen LA3PNA.
//
// Telemetry is sent in the following format:
@NT7S
NT7S / si5351abb_test.py
Created October 6, 2015 19:40
Si5351A Breakout Board test script
import socket
import serial
import time
import sys
import math
import phant
from datetime import datetime
import calendar
# ANSI escape codes for pretty printing
@NT7S
NT7S / lorenz.py
Last active March 10, 2017 18:09
Draw the Lorenz system in Python/GTK
# lorenz.py
# 5 March 2016
#
# Copyright 2016 Jason Milldrum
#
# Draw the Lorenz system in a GTK window
# See https://en.wikipedia.org/wiki/Lorenz_system
import math
import gi
@NT7S
NT7S / attractors.py
Last active March 11, 2016 04:50
Strange Attractors
# coding: utf-8
# attractors.py
# 10 March 2016
#
# Copyright 2016 Jason Milldrum
#
# Draw various attractors in a GTK window
# See:
# https://en.wikipedia.org/wiki/Lorenz_system
@NT7S
NT7S / Si5351_WSPR.ino
Last active April 30, 2024 17:03
10 Milliwatt Si5351A WSPR Beacon
// Si5351_WSPR
//
// Simple WSPR beacon for Arduino Uno, with the Etherkit Si5351A Breakout
// Board, by Jason Milldrum NT7S.
//
// Original code based on Feld Hell beacon for Arduino by Mark
// Vandewettering K6HX, adapted for the Si5351A by Robert
// Liesenfeld AK6L <ak6l@ak6l.org>. Timer setup
// code by Thomas Knutsen LA3PNA.
//
@NT7S
NT7S / Si5351FSQTelemetry.ino
Last active July 14, 2019 12:48
Arduino FSQ Telemetry transmitter using JTEncode library
//
// Simple FSQ telemetry beacon for Arduino, with the Etherkit Si5351A
// Breakout Board, by Jason Milldrum NT7S.
//
// Original code based on Feld Hell beacon for Arduino by Mark
// Vandewettering K6HX, adapted for the Si5351A by Robert
// Liesenfeld AK6L <ak6l@ak6l.org>. Timer setup
// code by Thomas Knutsen LA3PNA.
//
// Telemetry is sent in the following format:
@NT7S
NT7S / si5351_freq_bug.ino
Created November 6, 2016 22:33
Si5351Arduino v2.0.0 library frequency bug test
/*
* si5351example.ino - Simple example of using Si5351Arduino library
*
* Copyright (C) 2015 Jason Milldrum <milldrum@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
/*
* si5351_vcxo.ino - Example for using the Si5351B VCXO functions
* with Si5351Arduino library
*
* Copyright (C) 2015 Jason Milldrum <milldrum@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@NT7S
NT7S / DACZero.ino
Created January 18, 2017 16:18
DAC Sine Wave on Empyrean/Arduino Zero
uint8_t sine_wave[256] = {
0x80, 0x83, 0x86, 0x89, 0x8C, 0x90, 0x93, 0x96,
0x99, 0x9C, 0x9F, 0xA2, 0xA5, 0xA8, 0xAB, 0xAE,
0xB1, 0xB3, 0xB6, 0xB9, 0xBC, 0xBF, 0xC1, 0xC4,
0xC7, 0xC9, 0xCC, 0xCE, 0xD1, 0xD3, 0xD5, 0xD8,
0xDA, 0xDC, 0xDE, 0xE0, 0xE2, 0xE4, 0xE6, 0xE8,
0xEA, 0xEB, 0xED, 0xEF, 0xF0, 0xF1, 0xF3, 0xF4,
0xF5, 0xF6, 0xF8, 0xF9, 0xFA, 0xFA, 0xFB, 0xFC,
0xFD, 0xFD, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFE, 0xFE, 0xFD,