![]() |
PSK31 Beacon using a PIC |
![]() |
A new digital mode that's been sweeping ham radio since the 1990's, PSK31 mode was
developed by English amateur radio operator Peter Martinez (G3PLX). Martinez initially called his creation "varicode",
because it uses variable length encodings (Huffman codes) to represent characters. Technically, varicode is the encoding, and PSK31 the transmitting method. Varicode was designed so that the more frequently occurring characters had shorter encodings and the rarer characters used the longer encodings, a coding scheme similar to Morse code.
In PSK31 (1's) are represented by a tone with no phase shift compared to the previous bit and (0's) are tone with a 180 degree phase shift relative to the phase of the previous bit. The phase shift occurs during the zero level modulation to minimize bandwidth. When the modulation level returns, the positions of the sinewave top and bottom are reversed from the previous bit. Thus the phase changes by 180 degrees while the frequency remains constant.
The purpose of this project is to allow amateur radio operators to transmit PSK31 "canned" messages from a very small device that will run several hours on a 9 volt battery.
![]() A zero bit between ones |
This program is written in assembly language and is loosely based on a
beacon program written in C by Remi Bilodeau VE2YAG.
The tone level can be set to the desired volume by adjusting the 20k pot in the output circuit. The PTT circuit should not sink more than 100 mA which shouldn't be a problem with modern radios.
![]() A zero bit close up |
Programming the beacon is very straightforward. |
|
|
![]() |
Jerry has printed circuit boards available for this project. |
|
This file package containing ASM and HEX files along with schematic and readme files is written for the PIC 16F872 micro and uses a software serial UART. (1/09) Updated firmware to fix config message bug.
|
This file package containing ASM and HEX files along with schematic and readme files is written for the PIC 16F873 and uses the built in hardware UART. (1/09) Updated firmware to fix config message bug.
|
| Developed pre WWII, this fax like mode has been making a resurgence as free software makes decoding on a computer sound card easy. This version is functionally identical to my PSK31 beacon program except the addition of a longer delay (10-990 seconds). |
Nino Porcino has a great website about this mode and has written an excellent decoder for Windows XP. His program is easy to use and will run well on older computers. |
| With this program, the beacon goes between a GPS and a transmitter. It sends time stamped position and course info using robust PSK31. |
This page was updated 8-22-09