Skip to content

jcarter-labs/smeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K4 S-Meter RFI Logger

Python License

Real-time S-Meter monitoring for Elecraft K4 to identify and characterize RFI noise sources.

Quick Start

# Install dependencies
python -m pip install -r requirements.txt

# Run (replace COM9 with your port)
python K4_smeter.py COM9

Output:

01/27 14:32  -87
01/27 14:42  -92
01/27 14:52  -85

Requirements

  • Hardware: Elecraft K4 with USB connection
  • Software: Python 3.x, Windows 11 (tested)
  • Configuration: K4 PC2:DTR must be set to NONE (prevents PTT keying)

Features

  • Polls S-Meter every 10 seconds
  • Displays timestamp and dBm readings
  • Configures K4 for consistent RFI measurement (CW mode, AGC off, max RF gain)
  • Graceful shutdown on Ctrl+C
  • Simple error handling (prints "error" on timeout, continues)

Scripts

  • K4_smeter.py - Simple terminal logger (10s polling)
  • K4_splot.py - Real-time plotter with 24-minute rolling window (1s sampling)

K4 Setup (One-Time)

CRITICAL: Must configure before first run to prevent transmitter keying

  1. K4: CONFIGRS-232PC2
  2. Set DTRNONE
  3. Verify baud rate: 115200

Finding Your COM Port

Windows Device Manager:

  • Look for "Silicon Labs CP210x USB to UART Bridge (COMn)"
  • Note the COM number (e.g., COM9)

Troubleshooting

Issue Solution
K4 transmits on script start Set PC2:DTR to NONE in K4 menu
Port in use Close N1MM, WSJT-X, or other CAT software
"error" readings Check USB cable, verify K4 powered on
"python not found" Reinstall Python with "Add to PATH" checked

Documentation

License

MIT License - See LICENSE file

Author

Amateur radio RFI monitoring project by Extra class operator

About

Elecraft K4 S-Meter RFI logger

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages