WA5ZNU
Sunday, June 22, 2008 Zulu
 
ZL1AMO
I listened on 17M and heard some QSOs in progress, so I switched my SteppIR to the band and checked the tuning on the last frequency I heard someone say "Standing by" on. I gave a quick CWID at 50W and got back a call from ZL1AMO Ron in Auckland, New Zealand. I upped to 100W from my K3 and had a nice QSO with Ron, who reported it was 15C there. We exchanged a bit of CW fun as well.

Labels:


- posted by Leigh @ 02:35 z 0 comments
<< Home
Wednesday, June 18, 2008 Zulu
 
V73NS
I just worked Neil on Roi-Namur on 14.003 with 5W from the K3 and got a 559 first call, CW. I gave Neil 599. We've QSO'd before and I was in the log and Neil said a quick hi when I let him know it was QRP.

Labels:


- posted by Leigh @ 04:40 z 0 comments
<< Home
Wednesday, June 11, 2008 Zulu
 
K2 Emacs
Here's another update to K2.el. It still needs work!

;;;-*-EMACS-LISP-*-

;;; Leigh L. Klotz, Jr. WA5ZNU <klotz@graflex.org>

(defvar rig-device "/dev/ttyS0")

;;; Command definitions
(defconst k2-next-if-filter "FW0000")
(defconst k2-next-af-filter "SW29")
(defconst k2-dsp-notch-toggle "SW80")
(defconst k2-dsp-noise-reduction-toggle "SW81")
(defconst k2-qsy-vfo-a "FA")
(defconst k2-qsy-vfo-b "FB")
(defconst k2-set-mode "MD")

(defconst k2-modes '(("LSB" . 1) ("USB" . 2) ("CW" . 3) ("RTTY" . 6) ("CW-R" . 7) ("RTTY-R" . 9)))

;;; Command functions
(defun k2-next-filter ()
  "Goes to the next K2 Filter"
  (interactive)
  (k2-rig-command-0 k2-next-if-filter)
  (k2-rig-command-0 k2-next-af-filter))

(defun k2-qsy-vfo-a (khz)
  "Sets the frequency of K2 VFO A"
  (interactive "NFrequency: ")
  (k2-rig-command-1 k2-qsy-vfo-a (format "00%06d000" khz)))

(defun k2-qsy-vfo-b (khz)
  "Sets the frequency of K2 VFO B"
  (interactive "NFrequency: ")
  (k2-rig-command-1 k2-qsy-vfo-b (format "00%06d000" khz)))

(defun k2-set-mode ()
  "Sets the K2 Mode"
  (interactive)
  (let* ((completion-ignore-case t)
  (mode-name (upcase (completing-read "Mode: " k2-modes nil t nil)))
  (mode-num (and mode-name (cdr (assoc mode-name k2-modes)))))
    (if mode-num
 (k2-rig-command-1 k2-set-mode mode-num))))
  

(defun k2-dsp-notch-toggle ()
  "Toggles the K2 DSP notch filter"
  (interactive)
  (k2-rig-command-0 k2-dsp-notch-toggle))

(defun k2-dsp-noise-reduction-toggle ()
  "Toggles the K2 DSP noise reduction filter"
  (interactive)
  (k2-rig-command-0 k2-dsp-noise-reduction-toggle))

(defun k2-get-vfo-a ()
  (k2-rig-command-0-read k2-qsy-vfo-a 14))



;;; I/O

(defun k2-rig-command-0 (command)
  (shell-command (format "echo -n \"%s;\" > %s" command rig-device)))

(defun k2-rig-command-0-read (command n)
  (shell-command (format "echo -n \"%s;\" > %s; dd if=%s bs=1 count=%d" command rig-device rig-device n)))


(defun k2-rig-command-1 (command arg1)
  (shell-command (format "echo -n \"%s%s;\" > %s" command arg1 rig-device)))

;;; Key Bindings
(easy-mmode-defmap k2-minor-mode-map
  '(("\e`" . k2-next-filter)
    ([(control meta ?m)] . k2-set-mode)
    ([(control meta ?g)] . k2-qsy-vfo-a)
    ([(control meta ?n)] . k2-dsp-noise-reduction-toggle)
    ([(control meta ?m)] . k2-set-mode))
  "Keymap for `k2-minor-mode'.")

(define-minor-mode k2-minor-mode
  "Minor mode for k2-rig-control context diffs.
\\{k2-minor-mode-map}"
  nil " K2" nil)

;;; Todo:  
;;; Reading status (use Linux rigctl or read directly?)
;;; Mode line (use display-time-hook?)

- posted by Leigh @ 05:14 z 0 comments
<< Home

Powered by Blogger ATOM