Python Projects
Introduction
This page contains some of my Python projects. All these are written in Python 3. I am not a great programmer, but all of these solve one problem or another at my ham station and run fine on a Raspberry Pi.
Python Projects Download
Several of my programs are here for download as run under Python 3:
Rotor Controller 2.1.zip - zip file of Python Rotor Controller version 2 which has been completely rebuilt with the Tkinter GUI and has several new features. Works with Rotor-EZ, DCU-1, Yaesu and EA4TX (azimuth only) rotor controllers.
Rotor Controller.py - this program allows remotely controlling RotorEZ, DCU, Yeasu and EA4TX rotor boxes (azimuth only) In the future I might add some others. This older version is built with Guizero GUI and has less GUI features than the newer version above.
k3bridge.py - this program is similar to LPBridge, but written in Python so it can run on both Linux and Windows. It is a command line program, and you need to specify the correct command line options to specify the K3 physical serial port as well as the two virtual serial ports your two apps will talk to. It requires two pairs of virtual serial ports be created, using socat on Linux, and com0com or VSPE under Windows.
kenwoodfreqbroadcast_for_python_3_and_radio_number.py - this is a CLI (command window, no GUI) program for the SPE Expert linears that do not correctly implement the Yaesu polling protocols used by N1MM+ logger on older Yaesu models (FT-1000D, FT-1000MP, FT-1000MP Mark V, etc.). It listens to the N1MM+ logger radio broadcasts on UDP port 12060 and sends them to the SPE amp on the specified com port. Invoke the program with this line, where comx is the com port, and x is the radio number (1 or 2 for SO2R): "python kenwoodfreqbroadcast_for_python_3_and_radio_number.py comx x". Requires python3 be installed on the PC and requires pyserial be installed ("pip intall pyserial"). Thanks to KD4D for the initial version of this, which has been since upgraded to python3 and radio number selection added.
Last updated 03/20/2025