Newsgroups: rec.ham-radio
Path: decwrl!labrea!agate!eos!ames!ucsd!ucsdhub!jack!wolf!markd
Subject: TS440S Interface Information
Posted: 18 Jul 88 04:30:10 GMT
Organization: Systems'n'Software San Diego, CA
 
A recent posting asked about the TS400 Interface.
 
I just came across the following which describes how to build
one yourself and save big $$. I do not know the source of
the article.
 
--------------------------------------------------------------------------------
Mark C. DiVecchio 10435 Mountain Glen Terrace, San Diego, CA 92131
K3FWT			Home of PC-VT and LPTx		619-549-4056
sdcsvax!man!wolf!markd                   Bulletin Board 619-549-3927
--------------------------------------------------------------------------------
 
 
Kenwood Computer Interface Instructions
_______________________________________
 
     These Instructions are TS-440 specific, but the basics also apply
to the TS-940, TS-811 and TS-711.
 
     It is possible to save yourself a few dollars and lose nothing in
quality by buying the parts to upgrade your Kenwood radio for computer
control. Just purchase the parts were you find them and install them
using the instructions in the Radio's Manual.
 
     IC 54 is a uPD-8251-AC   Serial Communications Interface.
                Commonly called an 8251A    ($1.89 Mail Order)
     IC 55 is a TC-4040-BP    12 Stage CMOS Divider.
                Commonly called a 4040      ($0.69 Mail Order)
 
     The IC-10 Interface Kit from Kenwood Contains ONLY these two parts
and less instructions than are in this file.  The only thing you are
going to miss, is the $22+ price tag on the IC-10 Kit.
 
 Signals are    TTL levels  (NOT RS-232)
Baud rate is    4800 (1200 Opt.)
   Format is    ASCII Serial;  1 Start, 8 Data, 2 Stops
 
   The Baud rate may be changed to 1200 Baud by removing jumper W50 and
installing a jumper from the left pad to the center pad as viewed from
the front of the radio.  This will become obvious once you have the
radio opened up.  Many other Baud rates are possible, just look at the
schematic.
 
     As long as you are in the radio, lift D-60 to enable the 10 Hz.
display.  The main tuning knob is varing this digit, so you might as
well see it.  It also helps when using RIT/XIT as the RIT/XIT display
does not resolve the 0.01 KHz. digit.  This  Modification is in the
Radio's Book.
 
     Not in the book is the fact that if you lift D-80 and do an MPU
reset, you will be able to transmit on any frequency between 1.5 and
30.0 MHz.  This means you will be able to  work the Mars nets, Etc.  Do
not transmit out of band.  It is illegal even if it is accidental.
 
     Some computers use TTL levels on their serial ports.  If so, here
is a time when you will not have to convert it to RS-232.
 
  The IF-232 Interface from Kenwood is a 1488 and a 1489 chip in a box. 
These are an RS-232 Quad Line Driver and Receiver and are available at
Radio Shack for $1.29 Each.  Here is an easy project that will save you
a lot over the $69+ Kenwood price  of the IF-232 Interface.  The 1488
needs a + and - supply. Unregulated + and - 12vdc is just fine. Get the
+5 vdc for the 1489 by putting a 7805 regulator on the +12 vdc supply. 
100 ma. is about the max you'll draw, so the smallest transformer you
can find will still be plenty large.  Don't forget to series up two of
each gate to cancel the inversion that the 1480's produce.
 
 
 
ACC-1  Connector                  Use a 6 Pin DIN Connector.
                                         (Radio Shack $1.29)
Pin     Signal  Comments
________________________
 
1       Gnd     Signal Ground
2       TXD     Serial Data from Radio to Computer
3       RXD     Serial Data from Computer to Radio
4       CTS     Computer Ready;  (Radio Input)
5       RTS     Radio Ready;    (Radio Output)
6               No Connection
 
Pins 4 and 5 may be left Unconnected.
 
 
 
 
 
 
***** Command Description for Kenwood Computer Interface *****
______________________________________________________________
 
                Auto Information
                ________________
AIn; 
                The Radio Will Send the Status Info Automatically
                Whenever the Operator Manually Varies any Function
                on the Radio which is Covered in the IF; Command
                        Where   n = 0 for Auto Info OFF
                                    1 for Auto Info On
 
                The Status Information Will be Sent in the Form :
                        As defined in the IF; Command
 
 
                Display Memory
                ______________
DMnnnn;
                This is a Factory Diagnostic Function
                and is of no practical use to the operator
 
                The Contents of the MPU Memory will be Read
                        Where   nnnn = MPU Address (0000 Thru FFFF (HEX))
 
                The Contents of the MPU Memory Will be Sent in the Form :
                 DMnnnn-aabbccddeeffgghhiijjkk;
                        Where   nnnn = MPU Address (0000 Thru FFFF (HEX))
                              aa~~kk = Hex Number Pairs Of Next 16 Locations
 
 
                Down
                ____
DN;
                The Frequency or Memory Channel
                Will Decrement One Step
 
 
                Frequency VFO A / VFO B Request
                _______________________________
FA;
FB;
                The Frequency in the Selected VFO Will be Read
 
                The Frequency Will be Sent in the Form:
                 FAggmmmkkkhhh;   or
                 FBggmmmkkkhhh;
                        Where    gg = GHz. Value
                                mmm = MHz. Value
                                kkk = kHz. Value
                                hhh =  Hz. Value
 
 
                Frequency VFO A / VFO B Select
                ______________________________
FAggmmmkkkhhh;
FBggmmmkkkhhh;
                The VFO Selected Will be Set to the Frequency Defined
                        Where    gg = GHz. Value (May be sent As 00 or Spaces)
                                mmm = MHz. Value
                                kkk = kHz. Value
                                hhh =  Hz. Value
 
 
                Function Select
                _______________
FNn;
                The Function Defined Will be Selected
                        Where   n = 0 for VFO A
                                    1 for VFO B
                                    2 for MEMORY
 
                Identify Model Request
                ______________________
ID;
                The Model of the Radio Will be sent in the Form :
                 ID00n;
                        Where : n = 1 for a TS-940 (*)
                                n = 2 for a TS-811 (*)
                                n = 3 for a TS-711 (*)
                                n = 4 for a TS-440
 
 
                Read Information Request
                ________________________
IF;
                The Status Information Will be Sent in the Form :
                 IFggmmmkkkhhh     snnnzrx yytdfcp
                        Where   gg~~hhh = Value as defined in FA Command
                                      s = "+" or "-" Value of RIT/XIT
                                    nnn = Value of RIT/XIT (n.nn kHz.)
                                      z = "0"  (Not Used in TS-440)
                                      r = Value as defined in RT Command
                                      x = Value as defined in XT Command
                                     yy = Memory Channel No.
                                      t = 0 for Receive
                                          1 for Transmit
                                      d = Value as defined in MD Command
                                      f = Value as defined in FN Command  
                                      c = Value as defined in SC Command
                                      p = Value as defined in SP Command  
 
 
                Lock Knob
                _________
LKn;
                The Manual Frequency Control Functions Will be Disabled
                        Where   n = 0 for Lock OFF
                                    1 for Lock ON
 
 
                Memory Channel Select
                _____________________
MCxmm;
                The Memory Channel Defined Will be Selected
                        Where:  x = Don't Care   (Use "0" or Space)
                               mm = Memory Channel No. (00 thru 99)
 
 
                Mode Select
                ___________
MDn;
                The Mode Defined Will Be Selected
                        Where:  n = 1 for LSB
                                    2 for USB
                                    3 for CW
                                    4 for FM
                                    5 for AM
                                    6 for FSK
 
 
                Memory Read
                ____________
MRnxrr;
                The Memory Channel Defined Will be Read
                        Where:  n = 0 for RX VFO
                                    1 FOR TX VFO (Split Channels Only)
                                x = Don't Care      (Use "0" or Space)
                               rr = Memory Channel No.    (00 thru 99)
 
                The Memory Information will be sent in the Form :
                 MRn rrggmmmkkkhhhdz    ;
                        Where:  n = 0 for RX VFO
                                    1 FOR TX VFO (Split Channels Only)
                               rr = Memory Channel No.    (00 thru 99)
                         gg~~hhh = Value as defined in FA Command
                                d = Value as defined in MD Command
                                z = "0"  (Not Used in TS-440)
                        (Note: Four trailing Spaces)
 
 
                Memory Write           
                ____________
MWnxrrggmmmkkkhhhdzxxxx;
                The Memory Selected Will be Set to the Frequency Defined
                        Where:  n = 0 for RX VFO
                                    1 for TX VFO (Split Channels Only)
                                x = Don't Care  (Use "0" or Space)
                               rr = Memory Channel No.    (00 thru 99)
                          gg~~hhh = Value as defined in FA Command
                                d = Value as defined in MD Command
                                z = "0" (Not Used in TS-440)
 
 
                RIT/XIT Clear
                _____________
RC;
                The RIT/XIT will be set to 0.00 kHz.
 
 
                RIT/XIT Down
                ____________
RD;
                The RIT/XIT will Decrement by 0.01 KHz. (10 Hz.)
 
 
                RIT/XIT UP
                __________
RU;
                The RIT/XIT will Increment by 0.01 KHz. (10 Hz.)
 
-- 
---------------------------------
Mark C. DiVecchio 10435 Mountain Glen Terrace, San Diego, CA 92131
K3FWT			Home of PC-VT and LPTx		619-549-4056
sdcsvax!man!wolf!markd                   Bulletin Board 619-549-3927

Newsgroups: rec.ham-radio
Path: decwrl!labrea!agate!eos!ames!mailrus!cornell!uw-beaver!tektronix!tekcrl!tekfdi!mhorne
Subject: Re: TS440S Interface Information
Posted: 19 Jul 88 16:51:37 GMT
Organization: Tektronix, Inc., Beaverton, OR.
 
In a recent article, information was posted about the TS400 interface...
->
->   The IF-232 Interface from Kenwood is a 1488 and a 1489 chip in a box. 
-> These are an RS-232 Quad Line Driver and Receiver and are available at
-> Radio Shack for $1.29 Each.  Here is an easy project that will save you
-> a lot over the $69+ Kenwood price  of the IF-232 Interface.  The 1488
-> needs a + and - supply. Unregulated + and - 12vdc is just fine. Get the
-> +5 vdc for the 1489 by putting a 7805 regulator on the +12 vdc supply. 
-> 100 ma. is about the max you'll draw, so the smallest transformer you
-> can find will still be plenty large.  Don't forget to series up two of
-> each gate to cancel the inversion that the 1480's produce.
 
Hmmm...   I don't know if there are any inverters in line with the
output of the SIO chip on the board, but if there aren't, you *don't* want to
"series up two of each gate to cancel the inversion."  The SIO chip idles
high (+5V) in async mode, while under RS-232 the data lines idle low (negative
voltage).  If you put two gates in series and the output from the SIO chip
is *not* inverted, you'll surely confuse your computer as well as the TS440
when they are connected together.  If it is inverted (look for inverters on
RXD, TXD, and the control lines), then you might want to bypass or remove
the inverters and be done with it...
 
If you REALLY want to make is simple, forget the 1488/89 pair.  Use one
of the Maxim parts, either the MAX232 or the MAX235.  Both run off of a
single +5 supply and are pretty much goof proof.  The MAX232 requires a couple
of external caps and resistors, but I prefer the MAX235 because it requires
no external parts (just wire it up to +5 and GND and away you go).  Both
should be available from most mail order houses and local real (read: not
Radio Shaft) distributors.  I know that at least the MAX232 is available
from Jameco, but they may have the 235 as well.  These parts are worth their
weight in sanity...
 
Good luck!
 
Mike
 
-- 
Michael Horne - KA7AXD      |  UUCP: tektronix!tekfdi!honda!mhorne
FDI Div, Tektronix, Inc.    |  INTERNET: mhorne%honda.fdi.tek.com@relay.cs.net
Phone: (503) 627-1878       |  AMPRNET: ka7axd@tek.ka7axd.ampr.org

Newsgroups: rec.ham-radio
Path: decwrl!labrea!agate!pasteur!ames!mailrus!cornell!uw-beaver!tektronix!tekcrl!tekgvs!jans
Subject: Re: TS440S Interface Information
Posted: 19 Jul 88 19:32:31 GMT
Organization: Tektronix Inc., Beaverton, Or.
 
<If you REALLY want to make is simple, forget the 1488/89 pair.  Use one of the 
Maxim parts, either the MAX232 or the MAX235...  These parts are worth their 
weight in sanity.>
 
Here, here!  I built a four-port Icom CI-V interface that is powered from the 
unused RS-232 lines.  Even with the caps needed by the MAX232, I was able to 
fit the whole thing in a 2 cubic inch enclosure.
 
:::::: Software Productivity Technologies -- Experiment Manager Project ::::::
:::::: Jan Steinman N7JDB	Box 500, MS 50-383	(w)503/627-5881 ::::::
:::::: jans@tekcrl.TEK.COM	Beaverton, OR 97077	(h)503/657-7703 ::::::

Newsgroups: rec.ham-radio
Path: decwrl!ucbvax!SDD.CEO.DG.COM!Don_Lewine
Subject: Command protocol to TS-440
Posted: 31 Dec 87 18:30:00 GMT
Organization: The ARPA Internet
 

 
    
                      Command Descriptions for Kenwood TS-440
    
                        Auto Information
    AIn;                The radio will send the status info automatically when
                        the operator changes any control covered in the IF;
                        command.
                                  n = 0 for Auto Info OFF
                                  n = 1 for Auto Info ON
    
                        See IF; for response
    
    
                        Display Memory
    DMnnnn;             This is a factory diagnostic and is of no practical
                        use.
    
                                  nnnn = MPU address in hex
    
                        Response is:
                        DMnnnn-aabbccddeeffgghhiijjkk;
                                  nnnn = MPU address in hex
                                  aa~kk = 16 bytes of data in hex
    
    
                        Down
    DN;                 The frequency or memory channel will go down by one
                        step.
    
    
                        Read Frequency
    FA;                 Read VFO A.
    FB;                 Read VFO B.
    
                        Response is:
                        Fxggmmmkkkhhh; 
                                  x = A or B
                                  gg  = GHz.
                                  mmm = MHz.
                                  kkk = KHz.
                                  hhh =  Hz.
        
 
    
    
                        Load VFO register
    Fxggmmmkkkhhh;      Loads a frequency into a VFO:
                                  x = A or B (selects VFO)
                                  gg  = GHz. (May be 00 or spaces)
                                  mmm = Mhz.
                                  kkk = KHz.
                                  hhh =  Hz.
    
    
                        Function Select
    FNn;                Select VFO or memory
                                  n = 0 for VFO A
                                  n = 1 for VFO B
                                  n = 2 for memory
    
    
                        Identify Model Request
    ID;                 The radio will respond with:
                                  ID001; for a TS-940
                                  ID004; for a TS-440
    
                        The radio may respond with:
                                  ID002; for a TS-811
                                  ID003; for a TS-711
    
    
                        Read Information Request
    IF;                 The radio will respond with:
                                  IFggmmmkkkhhhsnnnzrxyytdfcp;
                                  ggmmmkkkhhh is the frequency (See Fx;)
                                  s   = "+" or "-" value of RIT/XIT
                                  nnn = value of RIT/XIT
                                  z   = "0" (I am not sure what this is)
                                  r (see RT;)
                                  x (see XT;)
                                  yy  = memory channel number
                                  t   = 0 for Receive
                                      = 1 for Transmit
                                  d (see MD;)
                                  f (see FN;)
                                  c (see SC;)
                                  p (see SP;)
        
 
    
    
                        Lock Knob
    LKn;                Enable or disable manual frequency control:
                                  n = 0 for LOCK OFF (manual control enabled)
                                  n = 1 for LOCK ON (manual control disabled)
    
    
                        Memory Channel Select
    MCmmm;              Select a memory channel:
                                  mmm = channel number (000 to max for radio)
    
    
                        Mode Select
    MDn;                Select mode:
                                  n = 1 for LSB
                                  n = 2 for USB
                                  n = 3 for CW
                                  n = 4 for FM
                                  n = 5 for AM
                                  n = 6 for FSK
    
    
                        Memory Read
    MRnrrr;             Read contents of memory channel:
                                  n = 0 for RX VFO
                                  n = 1 for TX VFO (split channels only)
                                  rrr = channel number (000 to max for radio)
    
                        The radio will respond with:
                                  MRnrrrggmmmkkkhhhdxxxxx;
                                  n = 0 for RX VFO
                                  n = 1 for TX VFO
                                  rrr = channel number
                                  ggmmmkkkhhh is freq. (See FA;)
                                  d = mode (See MD;)
                                  xxxxx = not used (seem to always be "0    ")
    
    
                        Memory Write
    MWnrrrggmmmkkkhhhdxxxxx;
                        Write a memory. See MR; for format
    
    
                        RIT/XIT Clear
    RC;                 The RIT/XIT register will be set to 0.00 KHz.
        
 
    
                        RIT/XIT Down
    RD;                 Decrement the RIT/XIT register by 0.01
    
    
                        RIT/XIT Up
    RU;                 Increment the RIT/XIT register by 0.01
    
    
                        RIT Enable
    RTn;                Enable or diable the RIT function
                                  n = 0 for RIT OFF
                                  n = 1 for RIT ON
    
    
                        Receive
    RX;                 Enter receive mode.
    
    
                        Scan Enable
    SCn;                Turns scan on and off
                                  n = 0 for Scan off
                                  n = 1 for scan on
    
    
                        Transmit
    TX;                 Enter transmit mode.
    
    
                        UP
    UP;                 The frequency or memory channel will increment one step
    
    
                        XIT Enable/Disable
    XTn;                Turns XIT on and off
                                  n = 0 for XIT off
                                  n = 1 for XIT on
