background image

SAMPLE TERMINAL PROGRAMS

34

Sample Terminal Programs

The  following  BASIC  programs  can  be  used  to  operate  the  Kantronics  TNCs  with  the  computers

listed.

CAUTION: Each of the programs is a simple example of the necessary statements required to con-

figure the computer for operation with an external device via the RS-232/TTL port. These simple

terminal programs will NOT do file transfer or buffering of data and typing.

BASIC terminal program for the VIC-20/C-64

10 CLOSE2
20 OPEN2,2,3,CHR$(6)
30 GET#2,A$
40 REM
50 GET B$
55 IF B$=CHR$(133) THEN GOTO 100
60 IF B$<>""THEN PRINT#2,B$;
70 GET#2,C$
80 PRINT C$;
90 GOTO 50
100 CLOSE2
110 END

The #1 function key will return the C-64 computer to BASIC. If graphics characters appear, use the

shift key with the Commodore key to change the character set. For use with the VIC-20, change

the TNC COMMAND parameter to $05 (see Commands section of Commands Manual). The a 

Ctrl-2

typed on the VIC-20 will return the TNC to the Command Mode. (The VIC-20 does not have a Ctrl-

C command.)

This program uses a 3-wire cable as described in the Connecting Your Computer section. Wire only

RXD, TXD and SG.

Basic terminal program for the TRS-80 Model III

1 OUT232,0
2 OUT232,164
3 OUT233,85
4 CLS
10 IF INP(234) AND 128 THEN PRINT CHR$(INP(235));:GOTO 10
20 A$=INKEY$:IF A$="" THEN 10
30 IF INP(234)AND 64 THEN OUT 235,ASC(A$): GOTO 10 ELSE GOTO 30

Put  the  TRS-80  Model  III  in  BASIC.  Type  and  run  the  program.  When  the  program  is  run,  the

screen  will  go  blank.  At  this  time  turn  on  the  TNC.  The  TNC  will  send  the

PRESS * FOR AUTOBAUD

 routine.

This program uses a 3-wire cable as described in the Connecting Your Computer section. Wire only

RXD, TXD and SG.

Summary of Contents for KAM

Page 1: ...PC 1 Installation Manual Version 3 0 Sept 12 1991 RF Data Communications Specialists 1202 E 23rd Street Lawrence Kansas 66046 Order number 913 842 7745 Service number 913 842 4476 9 am noon 2 pm 5 pm...

Page 2: ...dendum sheets We so licit your comments and or suggested corrections Please send to Kantroncis Inc 1202 E 23rd Street Lawrence KS 66046 Printed in the U S A Copyright 1989 by Kantronics Inc 1202 E 23r...

Page 3: ...9 Radio Connector 11 8 Pin DIN Radio Connector 12 5 Pin DIN Radio Connector 14 AFSK Output Level 15 KAM AFSK Output VHF 15 KAM AFSK Output HF 15 KPC 4 AFSK Output 16 KPC 2 AFSK Output 16 KPC 1 AFSK O...

Page 4: ...30 Performing a Loop Back Test KPC 4 only 31 Modem Disconnect KAM and KPC 4 only 32 SWDETLED Modification KPC 1 only 33 Sample Terminal Programs 34 Specifications 36 Part Lists Parts Location Diagrams...

Page 5: ...ting Office Washington D C 20402 by or dering Stock No 004 00000345 4 RFI Suppression In moving to the world of digital communications via computer a new dimension of RFI may be encountered In spite o...

Page 6: ...h the TNC are shielded If you decide to use other cabling be certain it is also shielded We do not recommend the use of unshielded RS 232 ribbon cable in the ham shack environment Pin 25 of the DB 25...

Page 7: ...BACK PANELS 3 Back Panels KAM KPC 4 KPC 2 KPC 2400 KPC 1...

Page 8: ...ni cating Some computer system require that a terminal program be obtained separately Several simple terminal programs have been included in the Sample Terminal Programs section to assist you In gener...

Page 9: ...y the program s need by jumpering these two pins at the computer end of the cable Data Carrier Detect DCD is needed by some BBS software to know that a connection has taken place This would require wi...

Page 10: ...NOT CONNECT TO COMPUTER DO NOT CONNECT TO COMPUTER FG Frame Ground and SG Signal Ground are tied together in the TNC The shield is on pin 1 of the DB 25 and on pin 5 of the DB 9 The black wire is not...

Page 11: ...5 V indicates connected status This pin has no function on the KPC 1 DB 25 Pin 6 DSR DB 9 Pin 6 Data Set Ready Some terminal programs look at this pin to see that the TNC is operating before allowing...

Page 12: ...ommodore User Port 24 pin Double Sided Card Edge Connector Looking at Back of computer or Back wiring side of connector TNC DCE Prewired Commodore Pin Name DB 25 Pin No DB 9 Pin No Cable Color Directi...

Page 13: ...onnector to which you connect the TNC using the following configurations Pin Name TNC DB 25 KPC 4 DB 9 Cable Color TRS RS 232 TXD RXD SG 2 3 7 3 2 5 white red orange 2 3 7 You must also install a jump...

Page 14: ...ocket from outside of Interface Pin functions of Serial Port No 1 in 850 Interface Module 9 pin female connector Pin Name TNC DB 25 KPC 4 DB 9 Cable Color Atari 850 Interface TXD RXD SG RTS CTS 2 3 7...

Page 15: ...s or Equalization of the received sig nals See the AFSK Output Level and Calibration Equalization sections for information Caution Check your transceiver manual to correctly wire the corresponding pin...

Page 16: ...ctor cable may be used for an external speaker For the KPC 2 and KPC 2400 the audio jack on the back panel remains available for at tachment of an external speaker Pin 6 Ground Shield shield of 9 wire...

Page 17: ...connector on the transceiver It will also be necessary to provide for PTT keying via the mic jack accessory port or other method specified by your transceiver manual Pin 6 Audio signal 2 conductor au...

Page 18: ...rence PTT and audio shielding to a common ground it may be necessary to leave the AFSK shield braided wire disconnected NOTE All TNC grounds are common Pin 3 Push To Talk brown lead This line controls...

Page 19: ...acing resistor R12 with the appropriate value chosen from the following chart If you change R12 to obtain an intermediate value place K2 in the HIGH position R12 Value AFSK Output Level 470 2 2 k 6 8...

Page 20: ...2 R29 Value AFSK Output Level 470 2 2 k 6 8 k 22 k 47 k 470 2 2 k 6 8 k 22 k 47 k 24 mV 106 mV 290 mV 680 mV 1000 mV KPC 2 AFSK Output Jumper K1 KPC 1 AFSK Output Jumper K3 This jumper is provided to...

Page 21: ...y changing R32 The chart below gives the output levels open circuit for different values of R32 with the jumper in the HI position R32 value AFSK level 100 220 470 1 k 1 5 k 2 2 k 8 2 k 4 5 mV 10 mV 2...

Page 22: ...our TNC to your hand held Ground return and speaker audio are both supplied thru the external speaker jack of your hand held ICOM HT radios key the PTT by providing a low impedance path from the mic i...

Page 23: ...ar near the HF radio output port and power jack 3 Locate the three pads associated with Z Note that the center pad and the pad marked 1 is larger than the pad marked 2 4 Carefully cut the connection b...

Page 24: ...KPC 2 from its case 2 Locate jumper Q on the PC board This location is at the rear of the PC board Rear of KPC 2 3 Locate the wire jumper marked 1 4 Carefully cut the jumper 5 Install a new jumper in...

Page 25: ...KPC 4 from its case 2 Locate point X or Y on the PC board This location is at the rear of the PC board Rear of KPC 4 3 Locate the three points associated with X or Y Note that there is a jumper at eac...

Page 26: ...the audio connection between your transceiver and the TNC 4 If possible monitor your transmitted signal with another radio If the transmitter is keying to Transmit but weak or no audio is monitored i...

Page 27: ...setting the TNC up with their Kanterm Software All lower case characters are hidden only numbers and punctuation appears In reality The TNC did receive the proper callsign and you can correct your di...

Page 28: ...the screw holding the voltage regulator to the metal case Remove this screw Does not apply to KPC 4 5 Slide the PC board out of the case To reassemble reverse the procedure above Be sure to re instal...

Page 29: ...pers are appropri ately labeled on the PC board Refer to the parts location diagram for help in locating them KAM Jumper K6 KPC 4 Jumper K7 KPC 2 Jumper K3 KPC 2400 Jumper K3 3 Place the jumper in the...

Page 30: ...re the space mark square wave The transmitting station should set the micro phone level in mid range Once the receiving TNC is placed in the CALIBRATE receive mode two numbers will appear on the scree...

Page 31: ...ting has shown that most VHF transceivers require that the input audio signal de fully equalized for best performance Should you wish to operate the KAM in a hard wire Packet line no equalization shou...

Page 32: ...2 5 minutes if it is enabled KPC 4 Timers Jumpers K5 Port 1 and K6 Port 2 These jumpers are provided to disable the watch dog timers The timer is disabled if the jumper is installed Time out of the K...

Page 33: ...rovided on the PC board This is accomplished by locating the four holes in the board marked MA and SP and adding wire jumpers between them One pair of holes marked MA and SP are located next to the DB...

Page 34: ...ctor at a negative voltage when the TNC is powered on If the connector is set to the TTL level position the RTS line must be held at a positive 5 volts when the TNC is powered on To operate in the dum...

Page 35: ...rompt enter a connect request to the callsign you have set for Port 2 Your dis play should look like this cmd C DC7XJ CR When you enter the carriage return the following will appear on your display cm...

Page 36: ...Refer to the parts location diagram for help on locating them Also refer to the Assembly and Disassembly section for information on obtaining ac cess to the interior of the TNC Headers K8 and K9 Thes...

Page 37: ...cuit board from the case as detailed in the Assembly and Disassembly section Next remove the 7910 U 11 and bend pin25 out slightly so that it will not make contact with the socket when the IC is re in...

Page 38: ...shift key with the Commodore key to change the character set For use with the VIC 20 change the TNC COMMAND parameter to 05 see Commands section of Commands Manual The a Ctrl 2 typed on the VIC 20 wil...

Page 39: ...OM1 300 8 N 1 AS 1 30 OPEN SCRN FOR OUTPUT AS 2 40 A INKEY IF A THEN 60 50 PRINT 1 A 60 IF LOC 1 0 THEN 40 70 B INPUT lOC 1 1 80 PRINT 2 B 90 GOTO 40 BASIC terminal program for the Atari 850 Interface...

Page 40: ...utput All units Open Collector 40 VDC max FSK Output KAM HF Open collector 40 VDC max Key Output KAM HF Reed relay contact rated 0 5 A and 300 VDC max 100 series resistor Audio Output KAM HF All Other...

Page 41: ...CR15 1N914 R11 220 C24 01 CR16 1N914 R12 1k C25 20p CR17 1N4003 R13 100k C26 20p CR18 1N4003 R14 1M C27 1 CR19 1N914 R15 1M C28 1 CH20 1N914 R16 1M C29 1 Alum CR21 1N914 R17 470 C30 01 R18 47k C31 01...

Page 42: ...SH R63 5k1 R64 82k U1 MC34074 R65 9k53 MF U2 741IC04 R66 68k U3 4018 R67 47k U4 MF4CN R68 100k U5 TCM3105 R69 150k U6 MF10CN R70 22k U7 LM339 R71 68k U8 MF10CN R72 100k U9 MF10CN R73 100k U10 MF4CN R7...

Page 43: ...39 KAM COMPONENT PLACEMENT DIAGRAM...

Page 44: ...40 KAM SCHEMATIC...

Page 45: ...41...

Page 46: ...222 R50 10k C22 1 Q3 PN2222 R51 220 C23 1 Q4 PN2222 R52 2k2 C24 1 Q5 PN2907 R53 2k2 C25 1 Q6 2N2222 R54 100k R55 22k C28 47 R1 100k R56 220 C29 47 R2 100k R57 220 C30 1 R3 10k R58 220 C31 20p R4 620 R...

Page 47: ...43 KPC 4 COMPONENT PLACEMENT DIAGRAM...

Page 48: ...44 KPC 4 SCHEMATIC...

Page 49: ...4 220 C21 001 Disc Q1 PN2907A C22 001 Disc Q2 PN2222 RFC1 10 H C23 1 Alu Q3 PN2222 S1 push push sw C24 01 Disc C25 001 Dis R1 100k S1P1 10k C26 001 Dis R2 120k S1P2 100k C27 001 Dis R3 100k C28 001 Di...

Page 50: ...46 KPC 2 COMPONENT PLACEMENT DIAGRAM...

Page 51: ...47 KPC 2 SCHEMATIC...

Page 52: ...00k C25 1 R23 100k R74 100k C26 10 R24 100k R75 120k C27 1 R25 1M R76 68k C28 10 Alum R26 47k R77 100k C29 10 Alum R27 470 R78 10k C30 1 R28 33k R79 620 C31 001 R29 47k R80 120k C32 1 R30 220 R81 6k8...

Page 53: ...49 KPC 2400 COMPONENT PLACEMENT DIAGRAM...

Page 54: ...50 KPC 2400 SCHEMATIC...

Page 55: ...pages 3 and 10 that you must use the PTLISTEN mode to monitor PACTOR transmissions By popular demand this has been changed in version 6 1 to allow monitoring in Standby Mode too To monitor PACTOR in...

Reviews: