home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************
- Computer can now play role of CW keyer. All you need is paddle and
- simple CW interface connected to your serial or (NEW!!) parallel port.
- ...................................................................
-
- This CW TSR utility has been primarly written for my friend s53ww - Robi
- who wrote the VHFCTEST program, which is very popular in our region. You can
- download the latest version of the VHFCW and VHFCTEST from the ftp server:
-
- ftp.hamradio.si
-
- There are two basic programs for CW-TSR :
-
- CW TSR utility : VHFCW.EXE
- CW TSR monitor : CWMONI.EXE
-
- The VHFCW remains active in your computer.
- Syntax:
- VHFCW X {M} {P} {S} {I}
-
- X=1,2 for COM1,COM2 or P,Q,R for LPT on P=$378 Q=$3BC R=$278 on IRQ7
- or T,U,V T=$378 U=$3BC V=$278 on IRQ5
-
- M=Monitor (0,1)
- P=Paddle interface connected (0,1)
- S=Squeeze (0,1,2,3);
- I=Soft. Interrupt no. ($60-$FF), default $60
-
- Parallel port is on most computers on address $378 (use VHFCW P) and IRQ7.
- If program doesn't work, then you can find the address of LPT port
- using PARALLEL.EXE.
-
- The CWMONI is a simple monitoring program which enables you to test the
- TSR utility and change different settings.
- Syntax:
-
- CWMONI {I}
- I=software interrupt nr., $60 by default
-
-
- If CONFIG.SYS includes many device drivers then there is possibility that
- computer hangs (immediately after running VHFCW or even during contest work).
- The only solution is to clean up CONFIG.SYS and maybe also AUTOEXEC.BAT.
-
- ___________________________________________________________________
-
- SERIAL INTERFACE:
-
-
- 2/DB25 (3/DB9) I\ I
- o----------I \I-------o-------I
- I / I I I
- I + I
- ======= I
- \_________/ I tantal 10 uf/16 V
- I I
- 7/DB25 (5/DB9) I - I
- o----------------------I I
- paddle - center I
- I
- 1 k 5 I
- 6/DB25 (6/DB9) ______ I
- o------I______I----------------o
- paddle - dit I
- I
- I
- 1 k 5 I
- 8/DB25 (1/DB9) ______ I
- o------I______I----------------I
- paddle - dah
-
-
- 1k opto coupler 4N..
- 20/DB25 (4/DB9) ______
- o---I______I------
- I
- I ___________o
- __I__ II /
- \ / II/ CW TX key
- __Y__ II\
- 7/DB25 (5/DB9) I II \>----------o
- o_________________I
-
-
- 1k opto coupler 4N..
- 4/DB25 (7/DB9) ______
- o---I______I------
- I
- I ___________o
- __I__ II /
- \ / II/ PTT line
- __Y__ II\
- 7/DB25 (5/DB9) I II \>----------o
- o_________________I
-
-
- You can also use transistors instead of opto-isolators,
- but this is a better approach...
- Paddle should be connected in parallel to connector contacts (7 for center
- contact, 6 for dots and 8 for dashes). Complete circuit can be easily built
- into plastic body of DB25 connector and with little effort also into DB9.
-
- _________________________________________________________________
-
- PARALLEL INTERFACE:
-
- USE DB25 FEMALE CONNECTOR FOR PRINTER PORT.
-
-
-
- I--------------o LPT PIN 10
- I
- I-------o-------I
- I I I
- I I ---
- I 47nF I I I
- I ----- I I 10K
- LPT I ----- ---
- PIN 2 I I I
- o----------I I---o A I I---A (A-A connected together,
- I I I I I I I pins 8,9 and 11)
- I I I I I I I
- ---------------------------
- 14 13 12 11 10 9 8
-
- 74HC00
-
- 1 2 3 4 5 6 7
- ---------------------------
- I
- ----------o LPT PIN 18-25 (gnd)
-
- C
- _____
- ------- B I/
- LPT PIN 14 o----I 1K I--I PTT OUT
- ------- I\_____
- E
-
- 2X NPN TRANS.
-
-
- C
- ______
- ------- B I/
- LPT PIN 17 o----I 1K I--I KEY OUT
- ------- I\______
- E
-
-
- o LPT PIN 2
- I
- ---
- I I
- I I 10K
- ---
- I
- I
- LPT PIN 13 o-------- PADDLE DAH
-
- LPT PIN 18-25 o-------- PADDLE CENTER (gnd)
-
- LPT PIN 12 o-------- PADDLE DIT
- I
- ---
- I I
- I I 10K
- ---
- I
- o LPT PIN 2
-
-
- LPT PIN 3 - 9 : auxillary outputs
-
-
-
- (-----------------------------------------------------------)
-
- Information for programmers
-
- (-----------------------------------------------------------)
-
- Comunication with VHFCW
-
- To comunicate with vhfcw tsr the software interrupt $60 is used by
- default. You can change it with different options in command
- line when running VHFCW.
-
-
- !!! The AH register should always be $30 for identification. !!!
-
- function AL reg BX reg CX reg comment
-
- CW SPEED 1 X (Ch/min, 15..260)
- PTT ON-OFF 2
- QRQ 3
- QRS 4
- Send text 5 Seg(string) Offs(string)
- PTT DELAY 6 X [mS]
- DITX 7 X [ dash/dot *10 ] default 30
- PCHX 8 X [ dot /pause*10 ] default 10
- PICX 9 X [ dot /ch.pause *10] default 30
- VOXDELAY 10 X [mS]
- MEMKEYER 11 X [1,0] squeeze on/off
- CWMONITOR 12 X [1,0] cwmonitor on/off
- PADDLE 13 X [1,0] paddle iface connected
- ACTIVE MSG. 14 Writes 'ACTIVE' msg.
- INTERR. ON 15 Activate TSR
- INTERR. OFF 16 Deactivate TSR
- TONE 17 X [50-2000] Monitor Fq
- SET OUTPUT PINS 20 X [1-127] Set pin 3-9 on LPT port
-
- aditional programs
-
- cwmoni.exe - simple program to control TSR
-
- Note:
- Usualy, when you run VHFCW you get a message
- Soft. interrupt OK ...
- If you get message software interrupt in use, that means that interrupt
- $60 is already in use by other programs. In general this should
- not cause any problems, but in case it does, you better change this
- value to an unused SW interrupt. (commands sysinfo or similar utility..)
-
-
-
- Description of commands
- ------------------------
-
- CW SPEED (Ch/min, 15..260)
- AL=1, BX=x
- x=speed in characters/min (approximation)
-
- PTT ON-OFF
- AL=2 Toggle PTT pin on/off
- If the computer transmitts any text or is in repeat mode (@X) command,
- this mode will be interrupted.
-
- QRQ
- AL=3
- Increase CW speed
-
- QRS
- AL=4
- Decrease CW speed
-
- Send text
- AL=5
- BX=Seg(string)
- CX=Offs(string)
-
- Transmit text, address of text is passed with BX and CX registers.
- The variable should be of type string. Before text is transmitted,
- the ptt goes high, waits pttdelay, then transmition is started.
- The repeat command is also available, you can put @X command
- at the end of the text, that means that the text should be repeated
- every X seconds. You can stop transmitting text with PTT function
- or if there is a paddle connected, then touching the paddle will stop
- text transmition and keying wil be proceeded as in manual keying mode.
-
- example: CQ CQ DE S57RA @5
- (this text will be transmitted with 5 second breaks)
-
- PTT DELAY
- AL=6
- BX=x [mS]
- Definition of PTT DELAY - time to wait after PTT goes HIGH to start CW
- signal (to save some money on preamplifier's FETs or GaAs-fets).
-
- DITX
- AL=7
- BX=x
- x = dash/dot ratio * 10, default 30. Some contesters prefer higher
- dash/dot ratio than 3, usualy 3.2 or 3.4.
-
- PCHX
- AL=8
- BX=x
- x= dot /pause ratio *10, default 10
- Pause in character ratio.
-
- PICX
- AL=9
- BX=x
- x= dot /ch.pause ratio *10, default 30
- Pause between two characters.
-
- VOXDELAY
- AL=10
- BX=X [mS]
- This parameter defines how many mS the PTT signal remains HIGH and waits
- for the next character - in manual transmit mode only.
-
- MEMKEYER
- AL=11
- BX=x
- x=[1,0] squeeze (iambic keying) on/off
-
- CWMONITOR
- AL=12
- BX=x
- x=[1,0] PC speaker monitor on/off
-
- PADDLE
- AL=13
- BX=x
- x=[1,0] paddle interface connected. If this parameter is set and you
- don't have the interface connected, then you get something like
- endless -.-.-.-.-.-.-. etc...
-
- ACTIVE MSG.
- AL=14
- The tsr writes 'ACTIVE' msg. and is for testing only.
-
- INTERRUPTS ON
- AL=15
- Activate com port interrupts (if they have been stopped with
- function 16)
-
- INTERRUPTS OFF
- AL=16
- Deactivate TSR by stopping comm port interrupts. The program is
- still resident in memory and can be reactivated with function 15.
-
- TONE
- AL=17
- BX=x
- x=[50-2000] Monitor Fq in Hertz, default 500.
-
- SET OUTPUT PINS
- AL=20
- BX=x
- x =[0-127]
- Set value x to pins 3-9 on parallel port. Pin 3=lsb, this
- function is available only in parallel mode.
-
-
- Any questions or suggestions are welcome to my PR or EMAIL address.
-
- 73 & GL Pavle,
-
-
- S57RA @ S50BOX.SVN.EU
- pavel.reberc@guest.arnes.si
-