OpenBCM V1.07b12 (Linux)

Packet Radio Mailbox

DB0FHN

[JN59NK Nuernberg]

 Login: GUEST





  
KG6BAJ > NWSGRP   16.08.09 18:20l 82 Lines 2118 Bytes #999 (0) @ WW
BID : 9950_N1OES
Read: GUEST
Subj: Drake RV-75 dip switch calculator
Path: DB0FHN<DB0MRW<DK0WUE<IK6ZDE<IK2XDE<ON4HU<PY4WVZ<CX2SA<N9ZZK<KG6BAJ<
      KG6BAJ
Sent: 090815/0800Z @:KG6BAJ.#NCA.CA.USA.NOAM #:9950 [Grass Valley] InterGate $:

** NEWSGROUP: rec.radio.amateur.equipment
** FROM     : Michael <google@shadowstorm.com>


 I use this program to calculate the dip switch settings for memory
buttons A and B on my Drake RV75 remote VFO.  It uses the same correct
calculation steps as described in the Drake RV75manual to arrive at
the proper dip switch settings.  It will run on Linux or Unix with a
bash shell.

Michael/KS4HY

----------------

For example to calculate 28.340 MHz enter in the following...

mrawls@amanda:~ > ./calculate-drake-rv75-memory-code 28340

==========================================
DESIRED FREQUENCY:      28340
BASE FREQUENCY:         28000
28000 - 200 = 27800
28340 - 27800 = 540
540 * 100 = 54000
54000 + 20000 = 74000
------------------------------------------
RV75 Memory Code = 74000
==========================================

mrawls@amanda:~ >
------------------------------------------------------------------------------------
Begin bash shell script for "calculate-drake-rv75-memory-code"
# =========================
#!/bin/bash
# Calc Drake RV-75 memory codes - MRawls

if [ -z $1 ]
then
        echo "$0 frequency-in-MHz (example - 27405.1 MHz) "
        exit
fi

FREQUENCY=`echo $1 | awk -F"." '{print$1}'`

for X in `seq 0 500 30000`
do
        if [ $X -lt $FREQUENCY ]
        then
                BASE_FREQ=$X
        fi
done

echo ""
echo "=========================================="
echo "DESIRED FREQUENCY:        $1"
echo "BASE FREQUENCY:           $BASE_FREQ"


CALC1=`echo "$BASE_FREQ - 200" | bc -l`
echo "$BASE_FREQ - 200 = $CALC1"

CALC2=`echo "$1 - $CALC1" | bc -l`
echo "$1 - $CALC1 = $CALC2"

CALC3=`echo "$CALC2 * 100" | bc -l`
echo "$CALC2 * 100 = $CALC3"
CALC4=`echo "$CALC3 + 20000" | bc -l | awk -F"." '{print$1}'`
echo "$CALC3 + 20000 = $CALC4"
echo "------------------------------------------"

echo "RV75 Memory Code = $CALC4"
echo "=========================================="
echo ""
# ==========================
End bash shell script



GVBBS:KG6BAJ-1 Internet Newsgroup <-> Packet Radio Gateway Server
** InterPacketGATE V1.6 Beta  INTERNET <-> PACKET Radio Gateway by NL1RSD **



Read previous mail | Read next mail


 14.09.2025 00:44:03lGo back Go up