Programming Settings & Setting up the Chip for V7

Total Page:16

File Type:pdf, Size:1020Kb

Programming Settings & Setting up the Chip for V7

Programming settings & setting up the chip for V7. REQUIREMENTS Inverting buffers for changing the 16F88 RS-232 pins to correct logic levels. A simple circuit as shown in the included diagrams using a 4049 CMOS chip will do. Dumb terminal, or a terminal program for PC (need rs232 serial port).

HOW Connect buffer to PC and Morse ID unit and use a terminal program set to 9600baud, 8 bit, no parity, one stop bit, no handshake… Due to slow speed of eeprom writing HAND TYPE COMMANDS ONLY, not by file transfer. Windows “terminal.exe” program as issued in windows 3.1 is suitable. I have had issues with HYPER TERMINAL supplied in later windows versions. Short the “Boot up RS-232 program enable” input (ra7) to ground while powering up circuit. Only one set of parameters can be entered. If two settings are required to be edited then reboot with the jumper still in place to edit the second settings once the first set is completed.

The available commands are pt, ps or pd , lower case only. Any other key press will result in RS-232 output being sent to PC without data being updated, so time and morse ident data can be checked . Enter commands exactly as shown in the examples. ps followed by 3 numbers, 1 to 255 e.g. ps123 or ps091. Will also accept 2 digits e.g. ps12 and followed by enter key. 001 being slowest speed and 255 being fastest speed factors accepted. Approx speeds are not linear with numbers, but are like a squared function. 100 is about 5 WPM, 200 is about 12WPM, 215 is about 20WPM and anything much over that is a blur.

pt followed by two digits for hours, another two digits for minutes, and another two digits for seconds. E.G. To alter delay time to 5 seconds type in pt000005 . For 5 minute delay, type in pt000500. There is no error checking in this section of code, so it is possible to enter invalid times if a wrong key is pressed. E.G. it is possible to enter 99 seconds or 99 minutes, but I can not be sure what will happen using time delays over 59 seconds or 59 minutes

Once pt and six digits are entered, the ID unit will output its’ time and data info to the PC and return to normal operation. To re-enter time or data info if a mistake is made, the circuit needs to be powered down and restarted again. pd followed by text string of what you want to send. E.G. pd vk7dc burnie ENTER Only use letters (upper or lower case), numbers and spaces. No other punctuation is supported. Up to 245 characters can be entered. Start your input by typing pd and it is good practice to enter a SPACE to allow the transmitter to key up before code is sent. Also it is good practice to end text with a SPACE, and then to end the text input, hit the ENTER key. The ID unit will output it’s data info to the PC and return to normal operation. .

If all is well, the terminal display should show something like this when program mode is exited depending which parameter set is edited: +++ 00 02 10 +++ Which means 00 hours, 02 minutes and 10 seconds time delay

+++ VK7DC BURNIE +++

VK7DC BURNIE will be the morse ID. Pad text with spaces as required to delay code after PTT activated, and for longer tail before PTT deactivated or

+++ 210 +++ for the speed factor

Remove short from ra7 input when programming complete..

SETTING UP THE MORSE ID UNIT HARDWARE * Warnings Do not exceed voltages to any input - less than GND or greater than +5 volts unless suitable protection circuitry is added. Example - A +12v mute input to a trigger input can be connected provided a high value resistor (say 10k) is put in series and a clamping diode is connected directly to the input and the +5V supply rail as follows.

RA0 input 10k resistor 0 to +12v in from mute circuit

1N4148 Connect to regulated +5volts

* REPEATER MODE There are two ways to trigger the unit according to how your repeater functions. Unit idents when first triggered after power-up. The negative edge trigger (ra1) starts ident when taken to +5v and then returned to GND. Does not activate again until preset time delay ends and then another trigger occurs. The positive edge trigger (ra0) starts ident when taken to GND and then returned to +5v. Does not activate again until preset time delay ends and then another trigger occurs. * BEACON MODE If ra0 is tied to GND and ra1 is tied to +5v then the ident will repeat automatically with the programmed time delay between idents. * RS-232 If ra7 is held at GND when chip is powered up, then the RS-232 port is active for data or time programming. Returns to normal operation at end of program input. See Page 1 * FSK Output rb6 provides 0v at no-tone and +5v at tone. Can be used to drive your own audio oscillator, input to a morse key input of a transmitter or change frequency of a crystal oscillator for true FSK.

* PTT Transistor collector (PTT OUT) pulls to ground when transmitting, or alternately, rb7 can be used if you need +5v on transmit.

* Test Jumper Short jumper to skip the time delay and beacon continuously. Normally used to set up the audio levels.

* SPECS Current consumption ~ 10mA Supply voltage 8-16Vdc ID speed ~ 12wpm ID tone ~ 2kHz daveland100 @ gmail.com updated 28/03/2013 original doc 05 Jan 2009

Recommended publications