home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 November / PCWorld_2001-11_cd.bin / Software / Vyzkuste / atalanta / loc1208.exe / VHFCW.DOC < prev    next >
Encoding:
Text File  |  1996-08-20  |  10.4 KB  |  345 lines

  1. *******************************************************************
  2. Computer can now play role of CW keyer. All you need is paddle and
  3. simple CW interface connected to your serial or (NEW!!) parallel port.
  4. ...................................................................
  5.  
  6. This CW TSR utility has been primarly written for my friend s53ww - Robi
  7. who wrote the VHFCTEST program, which is very popular in our region. You can
  8. download the latest version of the VHFCW and VHFCTEST from the ftp server:
  9.  
  10.                           ftp.hamradio.si
  11.  
  12. There are two basic programs for CW-TSR :
  13.  
  14. CW TSR utility : VHFCW.EXE
  15. CW TSR monitor : CWMONI.EXE
  16.  
  17. The VHFCW remains active in your computer.
  18. Syntax:
  19. VHFCW X {M} {P} {S} {I}
  20.  
  21.     X=1,2 for COM1,COM2 or P,Q,R for LPT on P=$378 Q=$3BC R=$278 on IRQ7
  22.                         or T,U,V            T=$378 U=$3BC V=$278 on IRQ5
  23.    
  24.     M=Monitor (0,1)
  25.     P=Paddle interface connected (0,1)
  26.     S=Squeeze (0,1,2,3);
  27.     I=Soft. Interrupt no. ($60-$FF), default $60
  28.  
  29. Parallel port is on most computers on address $378 (use VHFCW P) and IRQ7.
  30. If program doesn't work, then you can find the address of LPT port
  31. using PARALLEL.EXE.
  32.  
  33. The CWMONI is a simple monitoring program which enables you to test the
  34. TSR utility and change different settings.
  35. Syntax:
  36.  
  37. CWMONI {I}
  38.    I=software interrupt nr., $60 by default
  39.  
  40.  
  41. If CONFIG.SYS includes many device drivers then there is possibility that
  42. computer hangs (immediately after running VHFCW or even during contest work).
  43. The only solution is to clean up CONFIG.SYS and maybe also AUTOEXEC.BAT.
  44.  
  45. ___________________________________________________________________
  46.  
  47. SERIAL INTERFACE:
  48.  
  49.  
  50.    2/DB25 (3/DB9)        I\  I
  51.               o----------I  \I-------o-------I
  52.                          I / I       I       I
  53.                                      I   +   I
  54.                                   =======    I
  55.                                 \_________/  I   tantal 10 uf/16 V
  56.                                      I       I
  57.    7/DB25 (5/DB9)                    I   -   I
  58.               o----------------------I       I
  59.        paddle - center                       I
  60.                                              I
  61.                        1 k 5                 I
  62.    6/DB25 (6/DB9)     ______                 I
  63.               o------I______I----------------o
  64.        paddle - dit                          I
  65.                                              I
  66.                                              I
  67.                        1 k 5                 I
  68.    8/DB25 (1/DB9)     ______                 I
  69.               o------I______I----------------I
  70.         paddle - dah
  71.  
  72.  
  73.                      1k               opto coupler 4N..
  74.    20/DB25 (4/DB9) ______
  75.               o---I______I------
  76.                                I
  77.                                I          ___________o
  78.                              __I__   II  /
  79.                              \   /   II/               CW TX key
  80.                              __Y__   II\
  81.    7/DB25 (5/DB9)              I     II  \>----------o
  82.              o_________________I
  83.  
  84.  
  85.                      1k               opto coupler 4N..
  86.    4/DB25 (7/DB9)  ______
  87.               o---I______I------
  88.                                I
  89.                                I          ___________o
  90.                              __I__   II  /
  91.                              \   /   II/                PTT line
  92.                              __Y__   II\
  93.    7/DB25 (5/DB9)              I     II  \>----------o
  94.              o_________________I
  95.  
  96.  
  97. You can also use transistors instead of opto-isolators,
  98. but this is a better approach...
  99. Paddle should be connected in parallel to connector contacts (7 for center
  100. contact, 6 for dots and 8 for dashes). Complete circuit can be easily built
  101. into plastic body of DB25 connector and with little effort also into DB9.
  102.  
  103. _________________________________________________________________
  104.  
  105. PARALLEL INTERFACE:
  106.  
  107. USE DB25 FEMALE CONNECTOR FOR PRINTER PORT.
  108.  
  109.  
  110.  
  111.                                I--------------o LPT PIN 10
  112.                                I
  113.                        I-------o-------I
  114.                        I       I       I
  115.                        I       I      ---
  116.                        I  47nF I     I   I
  117.                        I     -----   I   I 10K
  118.  LPT                   I     -----    ---
  119.  PIN 2                 I       I       I
  120.     o----------I   I---o   A   I   I---A    (A-A connected together,
  121.                I   I   I   I   I   I   I         pins 8,9 and 11)
  122.                I   I   I   I   I   I   I
  123.               ---------------------------
  124.                14  13  12  11  10  9   8
  125.  
  126.                          74HC00
  127.  
  128.                1   2   3   4   5   6   7
  129.               ---------------------------
  130.                                        I
  131.                                        ----------o LPT PIN 18-25 (gnd)
  132.  
  133.                                C
  134.                                 _____
  135.                     ------- B I/
  136.   LPT PIN 14   o----I  1K  I--I         PTT OUT
  137.                     -------   I\_____
  138.                                E
  139.  
  140.                                        2X NPN TRANS.
  141.  
  142.  
  143.                                C
  144.                                 ______
  145.                     ------- B I/
  146.   LPT PIN 17   o----I  1K  I--I         KEY OUT
  147.                     -------   I\______
  148.                                E
  149.  
  150.  
  151.                  o LPT PIN 2
  152.                  I
  153.                 ---
  154.                I   I
  155.                I   I 10K
  156.                 ---
  157.                  I
  158.                  I
  159.   LPT PIN 13     o-------- PADDLE DAH
  160.   
  161.   LPT PIN 18-25  o-------- PADDLE CENTER (gnd)
  162.  
  163.   LPT PIN 12     o-------- PADDLE DIT
  164.                  I
  165.                 ---
  166.                I   I
  167.                I   I 10K
  168.                 ---
  169.                  I
  170.                  o LPT PIN 2
  171.   
  172.  
  173.   LPT PIN 3 - 9 : auxillary outputs
  174.  
  175.  
  176.  
  177. (-----------------------------------------------------------)
  178.  
  179. Information for programmers
  180.  
  181. (-----------------------------------------------------------)
  182.  
  183. Comunication with VHFCW
  184.  
  185. To comunicate with vhfcw tsr the software interrupt $60 is used by
  186. default. You can change it with different options in command
  187. line when running VHFCW.
  188.  
  189.  
  190. !!! The AH register should always be $30 for identification. !!!
  191.  
  192. function        AL reg      BX reg        CX reg      comment
  193.  
  194. CW SPEED          1           X (Ch/min, 15..260)
  195. PTT ON-OFF        2
  196. QRQ               3
  197. QRS               4
  198. Send text         5           Seg(string) Offs(string)
  199. PTT DELAY         6           X [mS]
  200. DITX              7           X [ dash/dot  *10 ]     default  30
  201. PCHX              8           X [ dot /pause*10 ]     default  10
  202. PICX              9           X [ dot /ch.pause  *10] default  30
  203. VOXDELAY         10           X [mS]
  204. MEMKEYER         11           X [1,0]                 squeeze on/off
  205. CWMONITOR        12           X [1,0]                 cwmonitor on/off
  206. PADDLE           13           X [1,0]                 paddle iface connected
  207. ACTIVE MSG.      14                                   Writes 'ACTIVE' msg.
  208. INTERR. ON       15                                   Activate TSR
  209. INTERR. OFF      16                                   Deactivate TSR
  210. TONE             17           X [50-2000]             Monitor Fq
  211. SET OUTPUT PINS  20           X [1-127]               Set pin 3-9 on LPT port
  212.  
  213. aditional programs
  214.  
  215. cwmoni.exe - simple program to control TSR
  216.  
  217. Note:
  218. Usualy, when you run VHFCW you get a message
  219. Soft. interrupt OK ...
  220. If you get message software interrupt in use, that means that interrupt
  221. $60 is already in use by other programs. In general this should
  222. not cause any problems, but in case it does, you better change this
  223. value to an unused SW interrupt. (commands sysinfo or similar utility..)
  224.  
  225.  
  226.  
  227. Description of commands
  228. ------------------------
  229.  
  230. CW SPEED   (Ch/min, 15..260)
  231. AL=1, BX=x
  232. x=speed in characters/min (approximation)
  233.  
  234. PTT ON-OFF
  235. AL=2  Toggle PTT pin on/off
  236. If the computer transmitts any text or is in repeat mode (@X) command,
  237. this mode will be interrupted.
  238.  
  239. QRQ
  240. AL=3
  241. Increase CW speed
  242.  
  243. QRS
  244. AL=4
  245. Decrease CW speed
  246.  
  247. Send text
  248. AL=5
  249. BX=Seg(string)
  250. CX=Offs(string)
  251.  
  252. Transmit text, address of text is passed with BX and CX registers.
  253. The variable should be of type string. Before text is transmitted,
  254. the ptt goes high, waits pttdelay, then transmition is started.
  255. The repeat command is also available, you can put @X command
  256. at the end of the text, that means that the text should be repeated
  257. every X seconds. You can stop transmitting text with PTT function
  258. or if there is a paddle connected, then touching the paddle will stop
  259. text transmition and keying wil be proceeded as in manual keying mode.
  260.  
  261. example: CQ CQ DE S57RA @5
  262. (this text will be transmitted with 5 second breaks)
  263.  
  264. PTT DELAY
  265. AL=6
  266. BX=x [mS]
  267. Definition of PTT DELAY - time to wait after PTT goes HIGH to start CW
  268. signal (to save some money on preamplifier's FETs or GaAs-fets).
  269.  
  270. DITX
  271. AL=7
  272. BX=x
  273. x = dash/dot ratio * 10, default  30. Some contesters prefer higher
  274. dash/dot ratio than 3, usualy 3.2 or 3.4.
  275.  
  276. PCHX
  277. AL=8
  278. BX=x
  279. x= dot /pause ratio *10, default  10
  280. Pause in character ratio.
  281.  
  282. PICX
  283. AL=9
  284. BX=x
  285. x= dot /ch.pause ratio *10, default  30
  286. Pause between two characters.
  287.  
  288. VOXDELAY
  289. AL=10
  290. BX=X [mS]
  291. This parameter defines how many mS the PTT signal remains HIGH and waits
  292. for the next character - in manual transmit mode only.
  293.  
  294. MEMKEYER
  295. AL=11
  296. BX=x
  297. x=[1,0] squeeze (iambic keying) on/off
  298.  
  299. CWMONITOR
  300. AL=12
  301. BX=x
  302. x=[1,0] PC speaker monitor on/off
  303.  
  304. PADDLE
  305. AL=13
  306. BX=x
  307. x=[1,0] paddle interface connected. If this parameter is set and you
  308. don't have the interface connected, then you get something like
  309. endless -.-.-.-.-.-.-. etc...
  310.  
  311. ACTIVE MSG.
  312. AL=14
  313. The tsr writes 'ACTIVE' msg. and is for testing only.
  314.  
  315. INTERRUPTS ON
  316. AL=15
  317. Activate com port interrupts (if they have been stopped with
  318. function 16)
  319.  
  320. INTERRUPTS OFF
  321. AL=16
  322. Deactivate TSR by stopping comm port interrupts. The program is
  323. still resident in memory and can be reactivated with function 15.
  324.  
  325. TONE
  326. AL=17
  327. BX=x
  328. x=[50-2000] Monitor Fq in Hertz, default 500.
  329.  
  330. SET OUTPUT PINS
  331. AL=20
  332. BX=x
  333. x =[0-127]
  334. Set value x to pins 3-9 on parallel port. Pin 3=lsb, this
  335. function is available only in parallel mode.
  336.  
  337.  
  338. Any questions or suggestions are welcome to my PR or EMAIL address.
  339.  
  340.                                                    73 & GL Pavle,
  341.  
  342.  
  343. S57RA @ S50BOX.SVN.EU
  344. pavel.reberc@guest.arnes.si
  345.