Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old August 15th 09, 02:44 PM posted to rec.radio.amateur.equipment
external usenet poster
 
First recorded activity by RadioBanter: Aug 2009
Posts: 28
Default Drake RV-75 dip switch calculator


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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FS: Drake CS-7 Coax Switch/Console Bob Swap 1 October 30th 20 03:29 PM
FS - Drake RCS-4 remote antenna switch [email protected] Boatanchors 0 February 24th 06 01:42 PM
FS: Drake 5 KW remote coax switch Doc Swap 0 October 6th 03 06:33 PM
FS: Drake CS-7 Coax Switch Bob Boatanchors 0 October 2nd 03 10:25 PM
FS: Drake CS-7 Coax Switch Bob Boatanchors 0 October 2nd 03 10:25 PM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017