Project 2 - Morse Key

Description of the Project:
This is a straight/iambic morse key that uses a single paddle. Please see the book for details on converting the project to use twin keys or using touch contacts instead of paddles.

Files:
Click on the disk icon to download a file:

MPASM Source MPASM Source file. This file needs compiling before it can be used.
Compiled MPASM Compiled MPASM file. Suitable for downloading with Velleman K8048 programmer.
TASM Source TASM Source file. This file needs compiling before it can be used.
Compiled TASM OBJ Compiled TASM file in OBJ format.

There are no PC files for this project.

Other Information:
I understand that the key, as described in the book, uses reverse keying and that the "correct" sequence should be to press the paddle to the right for dots and to the left for dashes. I can only apologise for this. I don't use Morse very often but the key that I learnt on was wired as I describe.

The polarity can be changed either in hardware, by reversing the wires to pins 9 and 10 of the PIC, or in software by chaging the first and third lines of the LOOP routine:
LOOP    BTFSS   PORTB, DASHKEY  ;Is Dash Key Pressed
        GOTO    DOT             ;Yes, go to Dot routine
        BTFSS   PORTB, DOTKEY   ;Is Dot Key Pressed
        GOTO    DASH            ;Yes, go to Dash routine
        GOTO    LOOP

Errors, Ommissions and Updates:
1. Incorrect configuration word in Morse Key and Morse Generators.
2. Confusing transistor numbers and no 5 volts shown in fig 8.2 on page 99 for 'no paddle' key.