Skip to content

Instantly share code, notes, and snippets.

View NT7S's full-sized avatar

Jason Milldrum NT7S

View GitHub Profile
@NT7S
NT7S / jt9_encode.c
Created September 28, 2015 00:57
JT9 Encoder in C
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
uint8_t jt_code(char c)
{
/* Validate the input then return the proper integer code */
// Return 255 as an error code if the char is not allowed
@NT7S
NT7S / compile.txt
Last active September 29, 2015 17:52
JT65 Encoder in C
gcc jt65_encode.c encode_rs_int.c init_rs_int.c -o jt65_encode
@NT7S
NT7S / wspr_encode.c
Created September 25, 2015 02:29
My unoptimized implementation of the WSPR encoding process
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
uint8_t wspr_code(char c)
{
/* Validate the input then return the proper integer code */
// Return 255 as an error code if the char is not allowed
@NT7S
NT7S / Si5351FSQ.ino
Last active January 16, 2020 07:07
Simple FSQ Beacon for Arduino driving the Si5351
//
// Simple FSQ 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.
//
// Permission is hereby granted, free of charge, to any person obtaining
@NT7S
NT7S / homebrew-arduino-zero-setup.md
Created June 29, 2015 18:45
Homebrew Arduino Zero Tool Setup

Homebrew Arduino Zero Tool Setup

A guide for installing the tools necessary to build up a homebrew barebones Arduino Zero (based on the Atmel SAMD21G18A microcontroller) on a Linux PC. While this guide is written for a Debian-based distribution such as Linux Mint, it should be adaptable to other distributions fairly easily.

This guide also assumes that we will be using the ATMEL-ICE debugger to write the Arduino bootloader to the SAMD21G18A flash memory via the Cortex Debug Connector.

Install Arduino IDE

You'll need a recent version of the Arduino IDE which has support for the Arduino Zero in the Boards Manager. As of this writing, the latest stable version is 1.6.5, so be sure to use at least this version. Also as of this writing, the version of the Arduino IDE in the Linux Mint repositories is quite old, so don't use that one.

@NT7S
NT7S / k7qo-challenge.txt
Created June 20, 2015 23:14
K7QO issues a QRP kit challenge
Gang,
I am teaching a live CW course using my CD. Two weeks into the course.
About to get to the sending part. So, looking for several ways to get 27
students on the same page. Has to be cheap, they only paid $10 for the
course which goes into the club treasury and I don't charge a dime, as
I don't want to lose any one due to placing a hardship on their budget.
In 2002, Dave Benson K1SWL, came out with the Rock Mite. What?
@NT7S
NT7S / si5351_test_jig.ino
Last active August 29, 2015 14:22
Si5351A Breakout Board Test Code
/*
* 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.
*
@NT7S
NT7S / Feld_Hell_Si5351.ino
Last active January 16, 2022 18:25
Feld Hell beacon for Arduino and Si5351
//
// Simple Feld Hell beacon for Arduino, with the Etherkit Si5351a breakout
// board, by Jason Milldrum NT7S.
//
// Original Feld Hell code for Arduino by Mark Vandewettering K6HX, adapted
// for the Si5351A by Robert Liesenfeld AK6L <ak6l@ak6l.org>. Timer setup
// code by Thomas Knutsen LA3PNA.
//
//
// Copyright (c) 2015 Robert Liesenfeld AK6L <ak6l@ak6l.org>
@NT7S
NT7S / Si5351_VFO.ino
Last active June 1, 2023 00:06
A simple VFO for the Si5351 for either LCD or OLED
/*
Si5351 VFO
By LA3PNA 27 March 2015
Modified by NT7S 25 April 2015
Modified to be Si5351 Arduino v2 compliant by NT7S 21 Nov 2016
This version uses the new version of the Si5351 library from NT7S.
see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts.
@NT7S
NT7S / Si5351_LCD_VFO.ino
Created April 25, 2015 17:55
Basic Si5351 VFO for LCD
/*
Si5351 VFO
By LA3PNA 27 March 2015
This version uses the new version of the Si5351 library from NT7S.
see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts.
UNO and 328 boards: Encoder on pin 2 and 3. Center pin to GND.
Leonardo: Encoder on pin 0 and 1. Center pin to GND.