TVS-701 Documentation
Introduction 1-1
*****************************************************
* *
* T I N Y V I T A L S Y S T E M S *
* *
* *
* TVS 701 *
* *
* Remotely Programmable Repeater Controller *
* *
* Instruction Manual *
* *
*****************************************************
C O N T E N T S
1. Introduction
2. Installation and Testing
3. TVS701 Operating Instructions
4. TVS701 Theory of Operation
5. Schematic Diagrams
Copyright 1988 Tiny Vital Systems
Introduction 1-2
I N T R O D U C T I O N
The TVS701 repeater controller was designed to add a
high degree of functionality to amateur repeaters at an
affordable price. Functions include repeater control, iden-
tifier, link interface, alarms, multi-level security, and
analog voltage telemetry.
For questions or problems concerning this product,
contact:
Tiny Vital Systems
7525 Clearwater Pkwy
Scottsdale, AZ 85253
602-951-9326
L I M I T E D W A R R A N T Y
This product is warranted against manufacturing
defects in material and workmanship for ninety (90) days
from the date of purchase from Tiny Vital Systems (TVS) or
authorized Tiny Vital Systems representatives. Within this
period, TVS will repair the product without charge for parts
and labor.
This warranty does not cover damage or failure
caused by or attributable to Acts of God, abuse, misuse,
improper or abnormal usage, improper assembly, faulty ins-
tallation, improper maintenance, lightning or other
incidence of excessive voltage or any repairs other than
those provided by Tiny Vital Systems or Tiny Vital Systems
authorized representatives.
Tiny Vital Systems is not responsible or liable for
indirect, special, or consequential damages arising out of
or in connection with the use or performance of the product
or other damages with respect to any economic loss, loss of
property, loss of revenues or profit, or costs of removal,
installation or reinstallation. Except as provided herein,
Tiny Vital Systems makes no express warranties, and any
implied warranty of merchantability or fitness for a partic-
ular purpose is limited in its duration to the duration of
the limited warranties set forth herein.
Installation 2-1
*******************************************************
* *
* T V S 7 0 1 B I N S T A L L A T I O N *
* *
*******************************************************
This section describes how to connect a TVS701 controller to
your repeater. In some cases, level conversion circuitry
may be required to adapt the signals from your equipment to
the levels required by the TVS701 board. A patch area and
some unused resistor and transistor pads are provided for
this purpose. Normally, you will want to prepare a wiring
harness that connects the repeater to a connector which
mates with J2. J1 is not normally used.
***WARNING*** Components of this board, especially the CPU,
are very sensitive to static damage (ESD)! Handle with care!
I/O Leads which connect to the processor (digital inputs,
audio output) should be connected with special care, as
static or voltages exceeding 5V or voltages below 0V will
damage the processor.
The following section describes the interconnection of each
pin on J2:
(1) "AUD IN" - This signal is the DTMF audio from
the control audio source (repeater receiver speaker, control
receiver, phone line, etc). It should provide at least 35 mV
RMS. The level at the DTMF receiver (U3 pin 12) should have
a minimum of 35 mv RMS and a maximum of 750 mv RMS. This
level can be adjusted using VR6 (TL).
(2-3) "OUT0, OUT3" - These are remotely programmable
open collector outputs which may be used for miscellaneous
control functions (such as power control, control of addi-
tional transmitters, etc). When activated, these outputs
will sink several hundred milliamperes of current.
(4) "LPTT" - If a link or auxiliary transmitter is
being used, connect its PTT to pin 4. The conection rules
are the same as for repeater PTT (below). Note that when the
repeater is keyed up to identify, LPTT is not enabled.
(5) "Repeater PTT" - This pin will be pulled to
ground when the repeater is to be keyed.
Installation 2-2
(6-7) "OUT1, OUT2" - These are remotely programmable
open collector outputs which may be used for miscellaneous
control functions (such as power control, control of addi-
tional transmitters, etc). When activated, these outputs
will sink current.
(8) "LENA" - This open collector signal will sink
current whenever the link function is enabled. Because the
link function includes some automatically timed capability,
this may be used on non-link systems to temporarily enable
or disable some external device.
(9-12) "AN0, AN1, AN2, AN3" - Analog input voltages
may be connected to pin 12 (channel 0), 11 (channel 1), 10
(channel 2), and 9 (channel 3). How these voltages are read
depends on the settings of the associated potentiometers (A0
- A3) and the software scaling factor. However, the voltage
on the wiper arm of the pot MUST NOT exceed 5V under any
circumstances once the processor is installed. Failure to
follow this rule may destroy the processor. The pots should
be adjusted as follows: For any voltage source which will
exceed 5 Volts, the corresponding scaling potentiometer
should be set to minimum (turn screw counterclockwise 21
turns or until a clicking is heard). The voltage at the
wiper arm should then be adjusted to a fraction of the vol-
tage on the input terminal according to the following table:
A to D Scaling Table
MAX Voltage Fraction Wiper Voltage Software Scale
5.00V 1.0 5.00V "0"
10.00V .5 5.00V "1"
15.00V .33333 5.00V "2"
20.00V .25 5.00V "3"
25.00V .20 5.00V "4"
35.00V .143 5.00V "5"
For example, to a nominal site supply voltage of
13.8VDC which will NEVER exceed 15V, apply the 13.8VDC to
the appropriate input, and adjust the corresponding pot for
a wiper arm voltage of 13.8VDC/3 = 4.6V. Then use software
scale "2" when programming this channel. It is also possible
to adjust the scaling by measuring the desired voltage,
querying the controller, and then adjusting until the con-
troller gives the right result.
Installation 2-3
NOTE: The telemetry readout has more precision (4 digits)
than the actual accuracy in most cases. The value output by
the processor is that closest to the center of the average
error window. Thus, a reading for 5 volts in will be 4.979,
which is within the .5% accuracy specification.
(13) "BEEPS" - ID and telemetry audio - Connect an
input to the repeater transmit audio to pin 13. This is the
controller sound output. The level is approximately 4V peak
to peak and can be reduced using pot VR5.
(14) "COR" - This signal must go to ground (0 to
.6V) when signal is detected on the repeater input. It must
not exceed 5 volts when the receiver is idle. If a higher
voltage is generated by your radio, it should either be buf-
fered by a transistor (using an unused space on the board),
or it should be clamped to the +5V supply using a series
resistor and a shunt diode.
(15) "LCOR" - If a link system is being used, con-
nect the link COR signal to pin 15. The connection method
should be the same as used on the repeater COR. If no link
is being used, leave this pin unconnected.
(16,17) "IN0, IN1" - Auxiliary inputs may be con-
nected to pins 16 and/or 17. These require the same signal
levels as the alarms on pins 18 and 19. These may be read on
remote command.
(18,19) "ALRM0, ALRM1" - If alarms are desired, they
can be connected to pin 18 (Alarm 0), and pin 19 (Alarm 1).
These should be pulled low (.4V) in one state, and left open
or driven to +5V in the other. If enabled, the alarm
software will trigger when an alarm input changes state in
either direction. The state of these inputs may be read on
command, so the alarms can also be used as auxiliary sense
inputs.
(20) "GND" - Connect a good RF and DC ground to
this pin.
(21) "+12V" - Connect a power supply between 9 and
15 volts to this pin. The lower the voltage of this supply,
the cooler the on-board regulator (7805) will run.
(22) "+5V" - This is an ouput from the board that
can be used as a source of regulated +5VDC. No more than
100ma should be used from this source.
Installation 2-4
***************************************************
* *
* T V S - 7 0 1 T E S T I N G *
* *
***************************************************
The following procedure may be used to verify correct opera-
tion before installation on some remote mountain top.
(a) Connect a ground and +DC supply to the
appropriate points.
(b) Connect a DTMF source to the DTMF input. A
convenient source is the speaker output of a transmitter
such as an ICOM 2AT. Put a dummy load on the transmitter.
(c) Connect a small audio amplifier (such as the
battery powered ones available from Radio Shack) to the
audio output. Be sure that the amp will not be damaged by
the high level available from that output.
Power should now be applied to the board. When power
is applied, the processor will start within 5 seconds. This
is indicated by the green heartbeat LED (LE1) pulsing
several times a second. Significantly slower pulsing or
none at all indicates that the processor is not running.
The board should now be commanded to program the
EEPROM with initial values. Until this is done, various
beeps and boops may come from the audio without much meaning
to them, and the repeater functions may not work. The method
of programming is to power on the system, wait for the
heartbeat LED to start pulsing, and then enter "###42123".
The programming will take about 30 seconds. Sometime during
this period, the processor will start beeping once per
second. At the completion of the programming, the processor
will send, in morse code, "DE TVS701 RDY". This means that
the programming was successful. At this point you may pro-
gram any parameters that you desire using the control pro-
cedures described in the programming manual. Once the ini-
tial values have been set and the maintenance password is
set, it is recommended that the "PRG" jumper be disconnected
(but stored by hanging the jumper shunt on one of the jumper
pins). This prevents remote reprogramming of the mainte-
nance password.
Introduction 1-1
*****************************************************
* *
* T I N Y V I T A L S Y S T E M S *
* *
* *
* TVS 701 *
* *
* Remotely Programmable Repeater Controller *
* *
* (Custom Navajo Tribe Version) *
* *
* Instruction Manual *
* *
*****************************************************
1. _C_U_S_T_O_M__A_D_D_E_N_D_U_M
This version has been modified from standard at customer
request. Rather than having the reset beep(s) indicate the
status of the link, they indicate (with one beep or two) the
status of user input 1.
C O N T E N T S
1. Introduction
2. Installation and Testing
3. TVS701 Operating Instructions
4. TVS701 Theory of Operation
5. Schematic Diagrams
Introduction 1-2
Copyright 1988 Tiny Vital Systems
Introduction 1-3
I N T R O D U C T I O N
The TVS701 repeater controller was designed to add a
high degree of functionality to amateur repeaters at an
affordable price. Functions include repeater control, iden-
tifier, link interface, alarms, multi-level security, and
analog voltage telemetry.
For questions or problems concerning this product,
contact:
Tiny Vital Systems
7525 Clearwater Pkwy
Scottsdale, AZ 85253
602-951-9326
L I M I T E D W A R R A N T Y
This product is warranted against manufacturing
defects in material and workmanship for ninety (90) days
from the date of purchase from Tiny Vital Systems (TVS) or
authorized Tiny Vital Systems representatives. Within this
period, TVS will repair the product without charge for parts
and labor.
This warranty does not cover damage or failure
caused by or attributable to Acts of God, abuse, misuse,
improper or abnormal usage, improper assembly, faulty ins-
tallation, improper maintenance, lightning or other
incidence of excessive voltage or any repairs other than
those provided by Tiny Vital Systems or Tiny Vital Systems
authorized representatives.
Tiny Vital Systems is not responsible or liable for
indirect, special, or consequential damages arising out of
or in connection with the use or performance of the product
or other damages with respect to any economic loss, loss of
property, loss of revenues or profit, or costs of removal,
installation or reinstallation. Except as provided herein,
Tiny Vital Systems makes no express warranties, and any
implied warranty of merchantability or fitness for a partic-
ular purpose is limited in its duration to the duration of
the limited warranties set forth herein.
Operation 3-1
***************************************************
* *
* T V S 7 0 1 C O P E R A T I O N *
* *
* Software Version 16 *
* *
***************************************************
1. INTRODUCTION
This manual describes how to initialize and control
the TVS701 repeater controller when used in a stand-alone
configuration. Examples are given following the initial
instructions.
1.1 Cautions on Configuration
Because TVS701 is designed to meet a wide range of
needs, there are many configurations which may be irrelevant
to your particular installation. You should start with the
default parameters (see EEPROM initialization, below), and
then customize the operation by changing only those parame-
ters which apply to your specific application.
It is important that care is used in setting the
configuration. If the configuration is inadvertently
altered, unexpected results can occur. For example, if your
repeater is configured to emit a beep after COR reset, this
beep would disappear if you inadvertently entered a "08"
(Disable Reset Beep) command. Likewise, if you were program-
ming tone frequencies, and set the beep frequency to zero,
it would disappear.
Two safeguards can be used to avoid inadvertent
changes in the configuration: In order to modify the confi-
guration (other than to enable/disable timers, repeater,
link, etc), an "88" command must be used during the control
session. If a configuration change command, such as "Disable
Reset Beep" is entered without the "88", it will be rejected
with a "NO" response.
Operation 3-2
It is also possible to configure the system so that
the maintenance password is required to change configura-
tions. Using function "48" from initial programming mode or
maintenance mode will accomplish this.
If, in spite of all this, the unit behaves strangely
after programming, you should make sure that the configura-
tion is correct. If all else fails, re-initialize the
EEPROM (###42123 - see below). If you believe that the CPU
is malfunctioning, enter any control mode and issue the
checksum command ("61"). A response of ("000") indicates
that the CPU is functioning correctly.
1.2 DTMF Control
DTMF tones are required to communicate with the con-
troller. One source of programming on the bench is to con-
nect the speaker output of an "auto-patch" capable handheld
to the audio input and adjust the levels as described in the
installation instructions. In normal remote operation, the
audio input is connected to the speaker terminals of a con-
trol receiver, to a telephone line, or a microwave multiplex
channel. Whenever a DTMF tone is detected, the "DIGIT" LED
will light. During bench testing, the audio output may be
connected to the input of an amplified speaker.
2. CONTROL MODES
2.1 Introduction
The TVS701C uses the "mode" method of programming.
This means that you enter a DTMF command sequence to put the
device into that control mode. Then you enter the commands
which are allowed within that mode. Then you take the device
out of control mode entirely.
This approach allows several levels of security,
while keeping individual commands short.
2.2 Initial Programming Mode
The initial programming mode is used to enter the
maintenance mode password into the system, and to initialize
any other parameters.
Operation 3-3
The initial programming mode is enabled by the
jumper (PRG) on the 701B board. When the jumper is not
installed, initial programming mode cannot be accessed.
2.3 Maintenance Programming Mode
The maintenance programming mode is entered using
the Maintenance Password Sequence. It allows all parameters
to be set other than the maintenance password. It also
allows the control password to be set. Only the maintenance
password cannot be set in this mode.
2.4 Normal Control Mode
The normal control mode is accessed by the Control
Password Sequence. This is the normal mode for controlling
the repeater. Depending on the setting of another option, it
may or may not allow changes to operating parameters (such
as ID, tones, timers, etc).
2.5 User Control Mode
The user control mode is accessed by the User Con-
trol Sequence which includes the site ID. If enabled, it
allows users without the passwords (the general public) to
query certain system status information, to control digital
output number 3, and to request temporary access to the
link.
The site ID is needed for systems with more than one
repeater so that user commands can be addressed to a
specific repeater, and so that telemetry information identi-
fies the repeater.
2.6 Accessing Control Modes
To enter Initial Programming Mode, install the pro-
gramming jumper, and then enter "###". A reply of "RDY"
means entry was successful, while no response is given for
failure.
To enter Maintenance Control Mode, send "##*" fol-
lowed by the maintenance password. A reply of "RDY" means
entry was successful, while no response is given for
failure.
Operation 3-4
To enter Normal Control Mode, send "#" followed by
the control password. A reply of "RDY" means entry was suc-
cessful, while no response is given for failure.
To enter User Control Mode, if enabled, send "##"
followed by the site ID. A reply of "RDY" means entry was
successful, while no response is given for failure.
NOTE:When entering any control mode, the sequence
must be entered within 10 seconds or the attempt will time
out.
2.7 Exiting from a Control Mode
Any control mode may be exited by entering "*"
instead of the function code. A function may be aborted
after the first digit is entered by entering "*" or "#".
3. INITIAL SYSTEM CONFIGURATION
The TVS701 must be programmed to your specific con-
figuration during the installation process. This programming
is described in detail below. The basic steps are:
1. Perform default initialization (initialize EEPROM) -
not required for factory assembled units.
2. Program the Maintenance Password
3. Program the Control Password, CW ID, and site ID
4. Modify any other default settings
3.1 Factory Settings - Will Reset all parameters (including
ID)
In order to enter the initial parameters of the sys-
tem, the program mode jumper (designated PRG, adjacent to
U6) must be inserted across the pins. The following control
sequence should then be entered, regardless of whatever
sounds may be coming from the uninitialized system:
"###42123".
Operation 3-5
This will cause the system to initialize the EEPROM
with default values. Some of these values will be later
changed to customize the installation. Before this step, the
behavior of the controller may be unpredictable. The ID may
be random, the repeater may not key up, the timers may be
random, and the response tones may or may not be present.
The initial parameter set function takes about 45 seconds,
and will key PTT once a second after it has been operating
for a few seconds. Once the sequence has completed, and the
system is silent, power the system off, and then repower it.
3.2 Setting the Maintenance Mode Password
In order to enter the maintenance mode password
(master password), the program mode jumper (designated PRG)
must be inserted across its pins. At this point, sending
"###" (via DTMF) will enter the initial program mode. The
system will respond "RDY" . The EEPROM Entry Mode function
("88") should then be entered to allow modification of the
EEPROM. The "Set Maintenance Password" function ("49")
should then be entered. The system will respond with "GO" .
The maintenance password should then be entered
using the following decimal entry procedure:
The password may be from 1 to 8 digits in length.
Each digit is entered as the three digit number correspond-
ing to the DTMF digit, as follows: "0" = 000, "1" = 001, "2"
= 002, etc, "A" = 013, "B" = 014, "C" = 015, "D" = 010.
Pound and Asterisk may not be used in the password. Note:
The last digit of the password must have the code value plus
128. Thus, if the last digit is "4", it should be entered as
"132". When the last digit has been entered, the system will
respond with "RDY".
3.3 Setting the Other Parameters
While in the maintenance mode, all other parameters
may also be set. It is recommended that when the initial
parameters have been set, PRG should be opened. The jumper
should be stored by placing it over one pin only. This will
avoid inadvertently leaving the system vulnerable to remote
programming by those without the password.
It is STRONGLY RECOMMENDED that you first read over
ALL the control codes, and then select those which provide
the proper configuration for your system.
Operation 3-6
3.4 Control Sequence Entry
Once the unit is in a control mode, control func-
tions are entered as two digit codes. Any control sequence
which alters EEPROM (stored) parameters cannot be entered
until the system is in the EEPROM Entry Mode. This is accom-
plished with function "88".
There is a timer for control functions. The timer
expires a set time after the last digit of a control
sequence has been entered. Like most timers in the system,
this timer can be programmed - in this case by function 43.
When it times out, "CTO" is heard, and the system leaves
control mode. Any control mode can be turned off manually
with "*". A function can be cancelled after the first digit
by "#".
All functions requiring multiple digit decimal entry
require the following procedure: Enter the function code;
The system responds "GO"; Enter 3 digits of decimal; The
system again prompts "GO"; Enter 3 more; Keep it up until
the last digit has been entered; If a value greater than 127
was entered, the system will treat it as the last digit and
exit this mode; otherwise, the last digit must be followed
by "*". [Not recommended]
WARNING: If too many digits are entered for a function
requiring multiple digits (passwords, ID, etc.), other
parameters may be inadvertently altered! In this case, they
should be repaired by using appropriate programming com-
mands.
Operation 3-7
C O N T R O L F U N C T I O N S
The following notes apply to control codes:
[1] - May be used in user control mode
[2] - Always available in normal control mode
[3] - Optionally available in normal control mode
[4] - Only available in maintenance mode
[5] - Only available if programming jumper is
present
{-} - Default Value (Set up by Function 42)
"00" - [2] Reset Processor (This tests the watchdog
timer).
"01" - [2] {ON} Enable Repeater.
"02" - [2] Disable Repeater.
"03" - [2] {OFF} Enable Link Access.
"04" - [2] Disable Link Access.
"05" - [2] {ON} Enable Timer.
"06" - [2] Disable Timer.
"07" - [3] {ON} Enable Reset Beep.
"08" - [3] Disable Reset Beep.
"09" - [3] {000} Set Response Time. This is the
interval between when the last digit of a control sequence
is entered until the controller gives its response. The
value is entered in 100 millisecond units. Thus, "002" sets
a .2 second delay.
"10" - [2] {CLEAR} Set Output Zero (PB4 Lead - J1
pin 12)
"11" - [2] Clear Output Zero.
Operation 3-8
"12" - [2] {CLEAR} Set Output One
"13" - [2] Clear Output One.
"14" - [2] {CLEAR} Set Output Two
"15" - [2] Clear Output Two.
"16" - [3] {000} Set Analog Alarm Low Threshold. If
analog input #3 drops below this value, the analog alarm
will be triggered. The value is in digitizer counts with a
minimum of 000 corresponding to zero volts, and a maximum of
255 corresponding to the maximum value for that converter.
For example, to set a mimimum value of three volts when the
converter is scaled for a maximum of five volts (see func-
tion 41), one would enter the value (3/5)*255 which is 153.
After this is set, any time the voltage falls below 3 volts,
the alarm will be triggered, and will remain triggered until
reset by function 24. A value of 000 here will prevent the
low-alarm from triggering.
"17" - [3] {255} Set Analog Alarm High Threshold. If
the analog input number 3 voltage rises above this value,
the analog alarm is set. The value is calculated using the
method described above for function 16. A value of 255 here
will prevent the high-alarm from triggering.
"18" - [3] {ON} Cause timer reset and reset beep to
occur immediately after COR drop.
"19" - [3] Norm timer reset mode (reverse command
"18").
"20" - [2] {DISABLE} Enable Alarm Zero. If the alarm
0 pin changes state, Alarm Zero will sound. The COR Reset
Beep will change to the site ID followed by "0" (unless dis-
abled by function 19) until the alarm is reset (function
24).
"21" - [2] Disable Alarm Zero.
"22" - [2] {DISABLE} Enable Alarm One. If alarm pin
1 changes state, Alarm One will sound. The COR Reset beep
will change to the site ID followed by "1", see "20", above.
"23" - [2] Disable Alarm One.
Operation 3-9
"24" - [2] Reset Alarms. This will cause the reset
beeps to return to normal, and will arm the alarms so that
they will again fire on the next alarm condition.
"25" - [2] {SET} Set Auto Save Mode. This mode
causes all changes to operating parameters to immediately be
written to the EEPROM. This is desirable except for
repeaters for which the operating parameters are changed
very frequently. In that case, it may be appropriate to use
command "26" to disable auto save mode. The EEPROM will only
allow about 10000 programming cycles before dying.
"26" - [2] Clear Auto Save Mode.
"27" - [2] Save Options. This is used to cause
operating parameters to be stored into the EEPROM. This is
only necessary if the system is not in auto save mode.
"28" - [2] {ENABLED} Enable User Mode. User Control
Mode is allowed.
"29" - [2] Disable User Control Mode.
"30" - [4] {1,2,3,4} Set Control Password. Max
length is 8 digits. See examples on p.4.
"31" - [3] {DE TVS701} Set ID in EEPROM. The ID is
stored by entering the decimal equivalent of the ASCII codes
for the characters. The last character must have 128 added
to the code. Max length is 64 char. See examples & table of
codes.
"32" - [3] {1} Set Site ID for User Control Mode.
The one or two digit "site ID" number is entered just as for
passwords, etc., with the last digit having 128 added to
it. So, for site ID of "3", enter "131". This will allow
users limited access to the system by entering "##3". For
site ID of "12", enter "001 130."
"33" - [3] {008} Set Reset Timer. This is the inter-
val between COR going away and the resetting of the timeout
timer. The reset beep (if enabled) occurs at that time. The
COR Reset Timer value is entered in 100 millisecond units.
Thus "008" sets a .8 second timer.
"34" - [3] {008} Set Tail Timer. This is the time
that the repeater stays keyed after the reset timer is reset
(100 millisecond units).
Operation 3-10
"35" - [3] {018} Set Time-out Timer. If COR is
present for too long and the timers are enabled, the con-
troller will sound "TO" and then deactivate PTT. This func-
tion sets the time until that time-out (10 second units).
"36" - [3] {05} Set Morse Code Dit Time. This sets
the speed of the morse code identifier. The units are 10
milliseconds. A setting of "005" will correspond to about 20
WPM.
"37", "38" & "39" - Not Used.
"40" - [3] Set Tones. All tones made by the con-
troller can be varied in frequency. See below for complete
details.
"41" - [3] {002,002,002,002} Set A/D multiplier fac-
tors. This function sets the voltage scale to be read at the
A/D ports. Select and input A/D channel 0 thru 3: "000"
selects channel 0, "001" channel 1, etc. Then select an
input voltage scale to be used: "000" = 0-5V, "001" = 0-10V,
"002" = 0-15V, "003" = 0- 20V, "004" = 0-25V and "005" = 0-
35V. "006" will give raw A/D counts (0000 - 2550). See ins-
tallation instructions.
"42" - [5] Initialize the EEPROM to defaults (See
above).
"43" - [3] {060} Set Control Timeout. This is the
number of 10 second units that the system will remain in a
control mode after the last control has been entered.
"44" - [3] {015} Set Number Output Morse Code Dit
Time. This sets the speed of the morse code numeric outputs.
The units are 10 milliseconds. A setting of "005" will
correspond to about 20 WPM.
"45" - [3] {DISABLED} Invert Temporary Link Access.
In this mode, the link will be normally on if it has been
enabled by command "03", but can be turned off temporarily
by entering the "72" function. (See function "59" below).
"46" - [3] Cause temporary link access to work as
normal (see "59" and below).
"47" - [4] {ENABLED} Allow functions flagged with a
[3] to be used in normal control mode.
"48" - [4] Don't allow functions flagged with a [3]
to be used in normal control mode.
Operation 3-11
"49" - [5] {1234} Set Maintenance Password. Max
length 8 digits.
"50" - [1] Read A/D Channel 0
"51" - [1] Read A/D Channel 1
"52" - [1] Read A/D Channel 2
"53" - [1] Read A/D Channel 3
"54" - [1] Read A/D Channel 0 from last time PTT was
off.
"55" - [1] Read A/D Channel 1 from last time PTT was
off.
"56" - [1] Read A/D Channel 2 from last time PTT was
off.
"57" - [1] Read A/D Channel 3 from last time PTT was
off.
"58" - [1] Read A/D Calibration.
"59" - [3] {061} Set temporary link access timer.
This function is used to control user access to the link via
functions 71 and 72. If the value is zero, the link cannot
be brought up from user mode.
A value from 1 through 253 will allow the
link to be brought up from user mode, but it will time out a
set time after it is last used. The time out is the value
entered multiplied by 10 seconds. Thus, an entry of 30 will
be 300 seconds or 5 minutes.
A value of 254 sets a timer of one second.
A value of 255 will allow the link to be
brought up from user mode, and it will stay up until it is
commanded down.
If function 45 has been used, the temporary
link access will be inverted, with the link normally on, and
pulsed off with a 72 function.
"60" - [1] Send ID.
"61" - [1] Output the PROM Checksum. This will
always be "000" if the CPU is programmed and working
correctly.
Operation 3-12
"62" - [1] Output the Software Version. (Vxx)
"63" - [1] Read Input Zero. (HI or LO)
"64" - [1] Read Input One. (HI or LO)
"65" - [1] Read Alarm Zero. (HI or LO)
"66" - [1] Read Alarm One. (HI or LO)
"67" - "70" - Not Used.
"71" - [1] Request temporary access to the link. See
function 59 for a description of the facility allowing user
mode access to the link.
"72" - [1] Disconnect link access which was esta-
blished by function 71.
"73" - [1] {CLEAR} Set output 3.
"74" - [1] Clear output 3.
"75" - [3] Enable auto-71 mode. This means that when
auxiliary input 0 goes low, the controller behaves the same
as if the "71" function had been entered - it enters tem-
porary link access mode.
"76" - [3] Disable auto-71 mode (see function 75).
"78" - [3] {Off} Configure link for Full Duplex. In
this mode, link COR does not inhibit link PTT.
"79" - [3] {On} Configure link for Half Duplex. In
this mode, the presence of link COR prevents link PTT.
"80" - [5] Test and Verify. WARNING: This is
reserved for factory testing of the unit because it requires
a special test connector.
Operation 3-13
C O N T R O L E X A M P L E S
4. CONTROL EXAMPLES
The examples show the various methods of controlling
the system.
4.1 Enter Maintenance Password
To enter a Maintenance Password of "123":
"###" ==> RDY (With programming jumper in)
"88" ==> RDY (Set EEPROM Change Mode)
"49" ==> GO (Set Maintenance Password)
"001" ==> GO (Set "1")
"002" ==> GO (Set "2")
"131" ==> RDY (Set "3" as last: 3 + 128 => 131)
(Disconnect and store programming jumper)
4.2 Enter Control Password
To enter a Control Password of "456", and to allow
normal control mode to change parameters:
"##*123"==> RDY (Enter Maintenance Control Mode)
"88" ==> RDY (Set EEPROM Change Mode)
"30" ==> GO (Set Control Password)
"004" ==> GO (Set "4")
"005" ==> GO (Set "5")
"134" ==> RDY (Set "6" as last: 6 + 128 => 134)
"47" ==> RDY (Enable normal mode to change parms)
4.3 Enter CW ID
To enter an ID of "DE AB" from normal control mode
if enabled:
"#456"==> RDY (Enter Normal Control Mode)
"88" ==> RDY (Set EEPROM Change Mode)
"31" ==> GO (Set ID)
"068" ==> GO (Set "D" - see below)
"069" ==> GO (Set "E")
"032" ==> GO (Set space");
Operation 3-14
"065" ==> GO (Set "A")
"194" ==> RDY (Set "B" as last)
4.4 Enter Reset Timer
Now to enter a reset timer of one half second:
"33" ==> GO (Set Reset Timer Function)
"005" ==> RDY (5 x 100 Milliseconds)
4.5 Exit Control Mode
To exit Normal Control Mode:
"*" ==> "S" (Exit Control Mode)
4.6 Setting A to D Multipliers
Setting A to D Multipliers:
"#456" ==> RDY (Set Normal Control Mode)
"88" ==> RDY (Set Entry Mode)
"41" ==> GO (Set A/D Multiplier Factors)
"000" ==> GO (Select A/D Channel 0)
"003" ==> RDY (Set 0-20V Range)
"88" ==> RDY (Set Entry Mode)
"41" ==> GO (Set A/D Multiplier Factors)
"001" ==> GO (Select A/D Channel 1)
"003" ==> RDY (Set 0-15V Range)
4.7 Obtaining A to D Readings
A/D Voltage readings can be obtained in either nor-
mal control mode or user control mode (if enabled). The sys-
tem will respond with four digits corresponding to the vol-
tage read:
"#456" ==> RDY (Enter Normal Control Mode)
"50" ==> 1234 (Channel Zero voltage [scaled] is 12.34V)
Users who do not have control access may use this function
in user control mode (if enabled) as follows:
"##1" ==> RDY (Enter User Control Mode)
"50" ==> 0456 (Channel zero has 4.56V present [scaled])
Operation 3-15
4.8 Reading Alarms and Inputs
The same method is used to read the status of the alarms and
inputs (functions 63 through 66). System response will be
either "HI" or "LO".
5. TONE SETTING PROCEDURES
To Set Tone Frequency:
The tone of all beeps, messages and ID made by the con-
troller can be independently changed as follows:
"#456" ==> RDY - Enter Normal Control Mode.
"88" ==> RDY - Set EEPROM Change Mode.
"40" ==> GO - Set Tones.
"002" ==> GO - Change Tone 2 (reset beep, all active)
"032" ==> RDY - Tone Value.
Tone value may be any number from 0 through 255. All entries
require 3 digits (16 would be entered as 016). The most pure
tones are 016, 032, 064, and 128. Other numbers will provide
a wide variety of unusual tones (for example, try setting
the reset beep to "240").
The Message Designations are:
000 - TO (Time Out)
001 - OK (Recovered from a Time-Out)
002 - E (Beep with link and timer active)
003 - I (Beep with no link but timer active)
004 - E (Beep with link but no timer)
005 - I (Beep with no link and no timer)
006 - RDY (Ready to accept a command)
007 - S (Control Mode Exit)
008 - NO (Control access or function invalid)
009 - NP (Cannot program EEPROM due to strap
setting or wrong mode)
010 - CTO (Control mode has timed out)
011 - LTO (Link has timed out)
012 - RESET (Processor has started over)
013 - GO (Ready to accept decimal value)
014 - LO (Input is LOW)
015 - HI (Input is HIGH)
016 - Alarm n 0 0 0 (Alarm Zero has fired -
n is the site ID)
017 - Alarm n 1 1 1 (Alarm One has fired -
Operation 3-16
n is the site ID) and
Alarm n A A A (Analog Alarm has fired -
n is the site ID)
018 - n0 (Reset Beeps when Alarm Zero has fired -
n is the site ID)
019 - n1 (Reset Beeps when Alarm One has fired -
n is the site ID)
nA (Reset Beeps when Analog Alarm has fired -
n is the site ID)
020 - E (Beep after each digit when altering EEPROM)
021 - T (Reset Beep after Transmission from the Link)
022 - LD (Temporary Link Access has Timed Out)
023 - [the ID]
024 - [numeric outputs]
6. CONTROL ENTRY SUMMARY
### - Enter Initial Programming Mode
==>Jumper must be in place<==
##* - Enter Maintenance Mode
# - Enter Normal Control Mode
## - Enter User Control Mode
A S C I I C O D E S
/-047 A-065 L-076 W-087
0-048 B-066 M-077 X-088
1-049 C-067 N-078 Y-089
2-050 D-068 O-079 Z-090
3-051 E-069 P-080
4-052 F-070 Q-081
5-053 G-071 R-082 .-046 (period)
6-054 H-072 S-083 --045 (hyphen)
7-055 I-073 T-084 -032 (space)
8-056 J-074 U-085 /-047 (slant bar)
9-057 K-075 V-086
CONTENTS
1. INTRODUCTION........................................ 1
1.1 Cautions on Configuration...................... 1
1.2 DTMF Control................................... 2
2. CONTROL MODES....................................... 2
2.1 Introduction................................... 2
2.2 Initial Programming Mode....................... 2
2.3 Maintenance Programming Mode................... 3
2.4 Normal Control Mode............................ 3
2.5 User Control Mode.............................. 3
2.6 Accessing Control Modes........................ 3
2.7 Exiting from a Control Mode.................... 4
3. INITIAL SYSTEM CONFIGURATION........................ 4
3.1 Factory Settings - Will Reset all parameters
(including ID)................................. 4
3.2 Setting the Maintenance Mode Password.......... 5
3.3 Setting the Other Parameters................... 5
3.4 Control Sequence Entry......................... 6
4. CONTROL EXAMPLES.................................... 13
4.1 Enter Maintenance Password..................... 13
4.2 Enter Control Password......................... 13
4.3 Enter CW ID.................................... 13
4.4 Enter Reset Timer.............................. 14
4.5 Exit Control Mode.............................. 14
4.6 Setting A to D Multipliers..................... 14
4.7 Obtaining A to D Readings...................... 14
4.8 Reading Alarms and Inputs...................... 15
5. TONE SETTING PROCEDURES............................. 15
6. CONTROL ENTRY SUMMARY............................... 16
- i -
Theory of Operation 4-1
*********************************************************************
* *
* T V S 7 0 1 B T H E O R Y O F O P E R A T I O N *
* *
*********************************************************************
T H E O R Y O F O P E R A T I O N
The TVS701 uses a MC68705R3 microcomputer. Most of
the functionality of the system is provided by firmware
within the Microcomputer Unit (MCU). This section will
describe the external circuitry of the TVS701.
The system clock is provided by a 3.579545 Mhz crys-
tal oscillator composed of one CMOS inverter gate (4069)
(IC4) and associated components. The output of the clock
goes through two buffer stages (another stage of IC4) to the
clock input of the MCU. The clock also drives a divider
chain consisting of two 74HC4040 type 12 stage ripple
counters U5 and U6. Output Q3 of U5 provides a 447.4 Khz
clock which is used for the DTMF decoder. Output Q12 pro-
vides a slow clock which drives U6.
U6 is used for the "watchdog" function. This func-
tion provides a reliable means of starting and restarting
the MCU regardless of previous power supply fluctuations. If
the microprocessor suffers a transient failure and stops
running the software, the watchdog will likewise restart it.
This method is superior to the traditional method of simply
connecting a capacitor to the processor reset to generate a
pulse on power-up. U6 counts up until output Q12 goes posi-
tive. At this point the processor RESET (RST*) signal is
asserted, and the processor is stopped and reset. When Q12
goes back to negative, the processor then starts. In normal
operation, the processor changes the state of its output on
pin 36 every 100 msec. This drives a transistor driver (Q1)
which pulses capacitor C1, and incidentally drives the green
"heartbeat" LED (LE1). When C1 pulses high, U6 is reset, and
thus fails to reach a count high enough to turn its Q12 out-
put positive. Thus, in the watchdog circuit, either the pro-
cessor resets the watchdog (normal operation), or the watch-
dog resets the processor (restart).
Theory of Operation 4-2
DTMF decoding is provided by a single chip decoder
of type M956 (U3). The M956 requires around 100mv (non-
critical) of audio on its input pin 12. It is supplied an
accurate 447.4 Khz clock on pin 17. When a valid digit is
recognized, pin 18 of U3 goes positive, resulting (after an
inverter) in a low level on pin 3 of the MCU. Pin 18 stays
high until the tone goes away. During the time Pin 18 is
high, a Binary code representing the digit is present on
outputs D0 through D3 (Pins 1, 22, 21, 10 of U5). This code
is used by the processor for control functions.
Parameters are stored in a non-volatile memory, the
NMC9306 EEPROM, U7. This chip guarantees that parameters and
controller states such as ID's, timer values, enable/disable
states, etc. are not lost over power off. This chip is
interfaced with serial data on its DI and DO pins, a
software generated clock on SK, and a chip select on CS. The
chip will tolerate about 10000 erase/write cycles before
failing, which is enough for normal repeater operation. The
chip is only written when a control function changes some
parameter or state. For controllers which will be changed
very frequently, a mode is provided which will not automati-
cally write the changes to the EEPROM, but rather will write
certain state changes only when explicitely commanded.
Analog inputs are connected via scaling potentiome-
ters (A0 - A3) to the Analog-to-Digital inputs of the MPU
(pins 21-24). The A/D measures the ratio of the input vol-
tage to the voltage on pin 19 of the processor. Pin 19 is
supplied with 5.00 Volts by a precision voltage reference
(U8). Conversion scale is selected with software, and then
calibrated using the scaling potentiometers. Care should be
taken to avoid exceeding 5.0 Volts on the processor analog
input pins 21-24.
Digital inputs are connected directly to processor
pins 9-11 and 17-18. These inputs are pulled up by 10K
resistors. The voltage levels on these inputs must meet TTL
specifications, and may not exceed 5.0 Volts.
Digital outputs are stored in latch U2 (74HC374) and
are asserted by open collector 2N2222 transistors Q2 - Q8.
When the processor needs to change an output bit, it sets
suitable values on processor pins 33 - 40, and then toggles
pin 27 (LCLK) to clock the data into the latch (U2).
Theory of Operation 4-3
I N C A S E O F D I F F I C U L T Y
(1) If the "HEART" LED (LE1) is pulsing several
times per a second, the processor is probably OK. Verify the
levels into the DTMF decoder, and make sure your DTMF gen-
erator works with some other, known working, system. You can
tell if the DTMF decoder chip (U3) is decoding your tones by
observing LED LE4. If it changes lights when you enter
tones, it is working. If it doesn't work, check the clock on
pin 17 of U3. It should be 447.4 Khz 0 to 5Volts. If it is
not accurate (1%), the DTMF decoder will not work.
(2) If the "HEART" LED is not pulsing, something is
badly wrong! First you should determine if the correct
power is getting to all IC's. Then, see if the 3.579545
oscillator is running (IC4 Pin 12), and make sure it is
reaching the processor (Pin 5). Make sure that the watchdog
is working. It should apply a +5 volt reset signal to pin 2
of the processor every .1 seconds, and then remove that sig-
nal. If this does not happen, the processor may never
start. Once the processor starts, it must reset the watchdog
before the next reset signal occurs. The circuit between pin
36 of the processor and pin 11 of U6 is used for that pur-
pose. If pin 36 of the processor is toggling, the processor
is working. The green LED should pulse with pin 36.
(3) If all else fails, look at the schematic, and
check the voltages and waveforms throughout the circuit.
Theory of Operation 4-4
T701 Update: V12 from V111
*********************************************************************
* *
* T V S 7 0 1 B P R O G R A M M I N G U P D A T E *
* *
* Changes in Version 13 from Version 11 *
* *
*********************************************************************
1. _N_e_w__C_o_m_m_a_n_d_s
Several changes have been made to the functionality and pro-
gramming of the TVS701B with revision 12. These include the
ability to disable the link timer independently of the main
timer, and the ability to perform 71/72 (temporary link
access) and 05/06 (timer on/off) functions on downward tran-
sitions of input bits 0 and 1 respectively.
All new commands require control priviledges (level 1).
1.1 _8_1_0_,__8_2_0__-__C_o_n_t_r_o_l__L_i_n_k__T_i_m_e_r_s
Normally the 701 will ignore Link COR after 3 minutes of
continuous signal present. It will also cease exerting Link
PTT after 3 minutes of continuously exerting it. The 810
command disables those timeouts. The 820 command cancels
the effect of the 810 command, enabling the link timers.
1.2 _8_1_1_,__8_2_1__-__A_u_t_o__T_e_m_p_o_r_a_r_y__O_n_-_L_i_n_k
If "811" is issued, inputs 0 and 1 acquire additional func-
tionality, controlling the "temporary link enabled" state of
the system. If input 0 goes low, the system will change
modes as if the "71" command had been issued. If input 1
goes low, the system will change modes as if the "72" com-
mand has been issued. This feature is intended to allow an
auxiliary device, such as a CTCSS decode, to controltem-
porary link access. If "812" is issued, this feature is dis-
abled.
T701 Update: V12 from V112
1.3 _8_1_2_,__8_2_2__-__A_u_t_o__T_i_m_e_r_s
If the "812" command is given, inputs 0 and 1 acquire addi-
tional functionality, controlling the state of the timers.
If input 0 goes low, the timers will be disabled, as if com-
mand "06" had been issued (although it may or may not be
saved in EEPROM). If input 1 goes low, the timers will be
enabled, as if command "05" had been issued (although it may
or may not be saved in EEPROM). This feature may be used
even if command "811" has been issued. If the "822" command
is given, it reverses the effect of "812".
T701 Update: V12 from V111
*********************************************************************
* *
* T V S 7 0 1 B P R O G R A M M I N G U P D A T E *
* *
* Changes in Version 16 from Version 11 *
* *
*********************************************************************
1. _N_e_w__C_o_m_m_a_n_d_s
Several changes have been made to the functionality and pro-
gramming of the TVS701B with revision 16. One is a the abil-
ity to perform 71/72 (temporary link access) on downward
transitions of input bit 0 respectively. The ROM dump capa-
bility has been deleted. The default value of the response
timer is now 400 milliseconds. The site ID can now be either
one or two digits. The watch dog timer has been made more
robust.
All new commands require control priviledges (level 1).
1.1 _7_5_,__7_6__-__A_u_t_o__T_e_m_p_o_r_a_r_y__O_n_-_L_i_n_k
If "75" is issued, input 0 acquires additional functional-
ity, controlling the "temporary link enabled" state of the
system. If input 0 goes low, the system will change modes as
if the "71" command had been issued. This feature is
intended to allow an auxiliary device, such as a CTCSS
decode, to controltemporary link access. If "76" is issued,
this feature is disabled.
jrmlinks:../innerlinks.html