KPC-3+ Telemetry Input and Control Output Standardization Document for Oregon Coast Repeater Group APRS Digi-peaters and Network Nodes

Similar documents
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Cable Specifications and Information

Advanced Data Capture and Control Systems

RGB for ZX Spectrum 128, +2, +2A, +3

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

RS-232 COMMUNICATIONS

GLOLAB Universal Telephone Hold

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Cable Specifications and Information

Switch board datasheet EB

Wireless Security Camera

PolyBot Board. User's Guide V1.11 9/20/08

Cable Pinouts. SRP I/O Module

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Using Xbee in Serial Communication

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

GLOLAB Two Wire Stepper Motor Positioner

AP-1 Application Note on Remote Control of UltraVolt HVPS

Manual Serial PCI Cards

CHAPTER 11: Flip Flops

ABB Drives. User s Manual HTL Encoder Interface FEN-31

DK40 Datasheet & Hardware manual Version 2

XPort Universal Demo Board User Guide

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

Hardware Reference. Linux Device Server IGW/922 with DIL/NetPC ADNP/9200

Single channel data transceiver module WIZ2-434

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Model 201 Wiegand Touchpad Reader Installation Guide

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

MANUAL FOR RX700 LR and NR

How To Set Up A Modem (Marc) Model (Marc) Model 2 (Marr) Model 1 (Marm) Model 4 (Mariar) Model 8 (Marp) Model 6 (Mar

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

Making a DB to RJ45 adapter.

Design Project: Power inverter

Glolab Talking Phone Dial Monitor

Cabling Guide for Console and AUX Ports

VSCOM USB PRO Series Industrial I/O Adapters

RJ11 RS-232 Interface

RC2200DK Demonstration Kit User Manual

BrightSign Expander Hardware Guide

8 Channel Status Input Panel model SIP-8

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

Moxa TCC-100/100I User s Guide

8 Gbps CMOS interface for parallel fiber-optic interconnects

SIMPLE EPROM PROGRAMMER. EPROM Programmer Design. Hardware

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Technical description MX-1 VB Edge

GM1200E Interface Cable

Web Site: Forums: forums.parallax.com Sales: Technical:

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

PIKA Technical Bulletin #41. V-12 RAN Trunk Interface Implementation

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

The Programming Interface

3 Slot Payphone Controller

BUILD YOUR OWN RC SWITCH (Issue 3)

SYSTEM 4C. C R H Electronics Design

Type SA-1 Generator Differential Relay

X. Dealing with Signature Differences

PCMCIA 1 Port RS EDITION OCTOBER 1999

Kit Watt Audio Amplifier

POCKET SCOPE 2. The idea 2. Design criteria 3

Tristan s Guide to: Solving Parallel Circuits. Version: 1.0 Written in Written By: Tristan Miller Tristan@CatherineNorth.com

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Fundamentals of Signature Analysis

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

The components. E3: Digital electronics. Goals:

Grounding Demystified

LTM-1338B. Plus Communications Manual

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

CDI-S100 SERIAL INTERFACE CARD

2-Port RS232/422/485 Combo Serial PCI Card

USB to serial chip CH340

POWER SUPPLY MODEL XP-15. Instruction Manual ELENCO

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

Allen-Bradley/Rockwell

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

Application Note 83 Fundamentals of RS 232 Serial Communications

RS-232/422/485, Power over Ethernet

Optical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Section wire E&M/TO Configuration. 4-Wire E&M/TO Voice Card. About This Section. Functional Description. Physical Description

Encore Controller to Router Connections

F2400 FOM II Series Fiber Optic Modem Technical Manual

SyncLink GT2/GT4 Serial Adapter

ECEN 1400, Introduction to Analog and Digital Electronics

Redesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF. Horn circuit. Train Circuitry

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

1-Port R422/485 Serial PCIe Card

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

EasySYNC Ltd. USB to Serial Converters Manual

Modbus Communications for PanelView Terminals

UIM2901-5A MACH3 breakout board

Dashboard Digital Voltmeter

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

SYSTEM 45. C R H Electronics Design

KTA-223 Arduino Compatible Relay Controller

8 coil stator 11 coil stator

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

Transcription:

KPC-3+ Telemetry Input and Control Output Standardization Document for Oregon Coast Repeater Group APRS Digi-peaters and Network Nodes Version 20041226.1 December 26, 2004 Paul Messer, WA7ZVY

Change Log Date of change: April 1, 2004 April 15, 2004 December 9, 2004 December 12, 2004 December 26, 2004 Subject of change: Initial file creation Major additions and changes to entire doc External Telemetry Adapter added Control Output text added External Control Adapter pictures added December 26, 2004 Page 2 of 16

Table of Contents 1. Telemetry Inputs on KPC-3+... 4 2. Telemetry Range Control... 4 3. Pre-wired Analog Telemetry Inputs... 4 4. Patch Wired Telemetry Inputs... 5 5. Digital Only Telemetry Inputs... 5 6. Telemetry UI Frame... 5 7. Telemetry Input Wiring Configuration Table... 6 8. Control Outputs on KPC-3+... 7 9. Telemetry Input and Control Output Schematic Diagram... 8 10. System Level Diagram... 9 11. Telemetry Breakout Adapter... 10 12. DB-25 Terminal Connector Pin-out... 12 13. Control Breakout Adapter... 13 14. PCB Layout for Attenuator Board... 14 December 26, 2004 Page 3 of 16

1. Telemetry Inputs on KPC-3+ There are five analog telemetry inputs possible on the KPC-3+. However, of these five inputs, only two of them are connected to the external input connector pins in an off-the-shelf stock KPC-3+. The other three inputs must be internally patch wired to an external connector to make them available for external usage. The analog telemetry inputs, to the KPC-3+ s CPU, are limited to an input voltage range of 0.0 volts to 5.0 volts. Therefore, to monitor devices or functions that have a higher voltage range, an attenuating resistive divider must be used. The two pre-wired telemetry inputs have a non-populated resistor location available for each of them, to create the attenuators for those channels. Also, a single digital only telemetry input is available by using the Data Terminal Ready input signal. This DTR signal is wired, but not used by the KPC-3+ s software. It is, however, reported to the user in the telemetry data UI frame packet. 2. Telemetry Range Control The later versions of the KPC-3+ software (version 9.0) include a RANGE command. This command allows the user to specify how the analog telemetry data will be reported back to the user. The user must still insure that the input signal level stays within the 0.0 volt to 5.0 volt input range. But, by using the RANGE command, the user, for example, can specify that a signal going from 0.0 volts to 5.0 volts will report back to the user as 0 to 150. So, for example, if one wanted to measure a 120VDC power supply going from 0 to 150VDC, this would require that an input attenuator with a 30:1 attenuation factor be used. Since it is important to keep the actual voltage levels going into the KPC-3+ at a safety extra low voltage level (less than 48 volts, and a lower level is even better), using an external attenuator setup is required. One possible solution would be an external 100k-ohm ½ watt input resistor with an external 3450-ohm pull-down resistor. (However, the input leakage current needs to be factored into any high value resistor usage, as it could significantly affect the accuracy of the sampled signal). No internal pull-down resistor would be used inside the KPC-3+ with this example external attenuator arrangement. 3. Pre-wired Analog Telemetry Inputs The two pre-wired telemetry inputs could be input on either the DB-9 radio port or the DB-25 terminal port. For consistency, and to keep these input signals independent of the control output signals (see Section 9 on page 8), it is recommended that the inputs be setup to use the DB-25 terminal connector input. This way, both the pre-wired inputs and the patch wired inputs would all be on the same DB-25 terminal port connector. The information in the configuration table shows the positions to move jumpers to achieve this setup. December 26, 2004 Page 4 of 16

Two resistor positions are available at R13 & R27 to act, along with the two 10k ohm input resistors R18 & R24, as an attenuator to allow higher voltage levels to be input into the telemetry inputs. If these resistors locations (R13 & R27) are populated with 2.4k ohm resistors, this will cause the scale for each input to be set such that the telemetry channel will read in 0.1V steps to produce a reading of 050 for a 5V input signal and 120 for a 12V input signal, for example. (The resistive divider is made up of a 10k ohm input resistor with the 2.4k-ohm resistor going to ground). This type of an arrangement might be useful for KPC-3+ units with older software that do not support the RANGE command. 4. Patch Wired Telemetry Inputs To use the other three telemetry channels, a small circuit board is constructed with positions for attenuator resistors, zener protection diodes, and small filter capacitors. This small circuit board is sized such that it will fit into the hole that the optional 9V battery utilizes. This small circuit board is wired to the P2 connector (to allow external access) and to the CPU integrated circuit for the actual A/D input signals. 5. Digital Only Telemetry Inputs There is one binary only telemetry input available. This input is the DTR signal input on the DB-25 terminal connector, P2-20. The KPC-3+ manual states, "Although interconnected via a buffer IC to the processor, this line is currently ignored." The high or low state of the DTR input signal is reported in bit 7 of the telemetry binary values ( b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 ). Note: The buffer in this pin's path is an inverter, so the reported signal will be inverted from the actual input level. The five analog telemetry inputs may also be used for binary data inputs. Their state is also reported in the telemetry binary values ( b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 ). The reported signal levels for these five signals are NOT inverted. Note: It may be necessary to remove the pull-down scaling resistor, on the input, to achieve satisfactory signal levels for proper detection of logic 1 levels from typical TTL, LVTTL, or LVCMOS devices. 6. Telemetry UI Frame A telemetry UI frame reports as: T#nnn,an0,an1,an2,an3,an5,b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 Where: nnn is a decimal sequence number that cycles from 000 to 999 and increments upon each transmission of the telemetry frame. At count 999 it returns to 000 on the next increment. an0,an1 are the analog telemetry values from the pre-wired telemetry channels. December 26, 2004 Page 5 of 16

an2,an3,an5 are the analog telemetry values for the patch wired telemetry channels. b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 are the binary reported values for the telemetry port. The most significant bit, b 7, corresponds to the DTR signal level. b 5, b 3, b 2, b 1, b 0 correspond to the binary logic high or low levels of an5, an3, an2, an1, an0. 7. Telemetry Input Wiring Configuration Table The following table shows information related to the connections necessary to configure the AD0 and AD1 pre-wired telemetry channels and to add the A/D Attenuator Board to the KPC-3+ for telemetry input: Channel Wire DB-25F Terminal Connector Pin or Internal Connection Point Add Wire to CPU Pin (note a wire pad is available close to the CPU pin) Voltage or Function Monitored or Controlled AD0 Already wired on KPC-3+ PCB. Place jumper on J8 center to pin 2. Connects input to P2-18. Add a 6.0v zener diode at R27 position, anode to ground, cathode to signal line. Add a 2.4K ohm resistor in parallel with the added zener diode. Already wired on KPC-3+ PCB. Users choice. AD1 Already wired on KPC-3+ PCB. Place jumper on J10 center to pin 2. Connects input to P2-11. Add a 6.0v zener diode at R13 position, anode to ground, cathode to signal line. Add a 2.4K ohm resistor in parallel with the added zener diode. Already wired on KPC-3+ PCB. Users choice. AD2 Attenuator Board Pad W1 to P2-12. Attenuator Board Pad W2 to U5-63 wire pad. Users choice. AD3 Attenuator Board Pad W3 to P2-14. Attenuator Board Pad W4 to U5-65 wire pad. Users choice. AD5 Attenuator Board Pad W5 to P3-1 (internal) or P2-19 (external). Attenuator Board Pad W6 to U5-62 wire pad. +12V (internal) or users choice (external). Ground Connect Attenuator Board Pad WG to GND pad near R33. December 26, 2004 Page 6 of 16

8. Control Outputs on KPC-3+ Two open-drain control outputs are available on the KPC-3+ s radio port, P1. The two control pins are capable of sinking a maximum of 200mA continuously, and 500mA pulsed. The voltage level applied to the control pins must be less than +60VDC and it is highly recommended to limit any voltage level to +48VDC or less. Negative voltage levels are not permitted. The two control pins are controlled with the KPC-3+ s CTRL command. Command syntax is: CTRL < A B > [ n ON OFF LONG ] Where: < A B > selects which control output the command will affect, either CTLA or CLTB. If not specified, both the CTLA and CTLB outputs are affected. [ n ON OFF LONG ] specifies how to affect the selected control output(s). n ON OFF specifies the number of 100 milliseconds pulses to do to the port(s). The valid range is from 1 to 20. specifies to turn on the control output transistor, which will drive the open-drain output to GROUND. specifies to turn off the control output transistor, which will allow the open-drain output to float, or go to any attached pull-up resistor s positive rail voltage. LONG specifies to turn on the control output transistor for one pulse lasting 1.5 seconds duration. Note: only one LONG pulse can be generated at a time with the CTRL command. December 26, 2004 Page 7 of 16

9. Telemetry Input and Control Output Schematic Diagram P2- DB25F Serial Port Connector P2-18 (AD0) P2-11 (AD1) B A Circuitry inside this box (except D a, D b, R13 & R27) is already present on the KPC-3+ circuit board. J8 J10 1 2 Install R27 for input scaling. 1 2 Install R13 for input scaling. R24 10K R18 10K KPC-3+ R27 2.4K R13 2.4K D a 6.0V C42.001uF Add Zener Protection Diodes D b 6.0V C35.001uF U5 MC68HC11F1 59 (AN0) (CTLA) 37 61 (AN1) (CTLB) 36 G G A D S B D S C1.001uF C3.001uF P1 - DB9F Radio Port Connector P1-8 (CTLA) P1-4 (CTLB) P2-12 (AD2) W1 A / D Attenuator Board R1 10K R2 2.4K D1 6.0V W2 C1.001uF 63 (AN2) P2-14 (AD3) W3 R3 10K R4 2.4K D2 6.0V W4 C2.001uF 65 (AN3) P2-19 (AD5) W5 R5 10K R6 2.4K D3 6.0V W6 C3.001uF 62 (AN5) Internal +12V (P3-1) 20041212.1 PM December 26, 2004 Page 8 of 16

10. System Level Diagram The system level diagram shows one possible telemetry implementation. This configuration allows the monitoring of power system sources along with the internal power delivery in the KPC-3+. Five inputs and two outputs are available for general monitor and control functions. Note that the two digital control outputs, CTLA and CTLB, are located on the radio port connector, P1. 120 VAC Mains Automatic Transfer Switch 120 VAC Power Supply 13.8 VDC Output KPC-3+ 12 VDC Power Input AD5 Scale: 0-25.5 VDC Range: 0-255 Gen Engine Auto-start Generator 13.8 VDC Battery Float Charged 5VDC Regulator FAT PLUG 120 VAC In 6.0 VDC Out cap filtered FAT PLUG 120 VAC In 6.0 VDC Out cap filtered AD3 Scale: 0-25.5 VDC Range: 0-138 AD2 Scale: 0-25.5 VDC Range: 0-138 AD1 Scale: 0-25.5 VDC Range: AD0 Scale: 0-25.5 VDC Range: CTLA Open Drain Output CTLB Open Drain Output DOOR INTRUSION SWITCH DTR (inverting digital only input) Typical: 0-5 VDC Pulled high by a 10K to +5V. To use, pull to GND with an open collector gate, transistor, or switch. December 26, 2004 Page 9 of 16

11. Telemetry Breakout Adapter An external breakout adapter, for the telemetry signals, is constructed with a DB25 male plug, a DB25 female socket and a set of side entry vertical screw terminal strips. This allows easy access to the KPC-3+ s telemetry input signals. The adapter unit is built into a DB25 in-to-out adapter housing. The male connector of the adapter is plugged into the KPC-3+ s female DB25 serial port connector (P2); and, any serial device normally used with the KPC-3+ is then plugged into the female DB25 socket on the Telemetry Adapter. KPC-3+ EXTERNAL TELEMETRY ADAPTER DB25-F 1 2 3 4 5 6 7 8 Chassis GND TxD RxD RTS CTS DSR Signal GND DCD DB25-M 1 2 3 4 5 6 7 8 9 9 10 11 12 13 14 (optional tnc pwr) (AD1 / CTLA) (AD2) (AD3) 10 11 12 13 14 15 15 16 16 17 18 19 20 (AD0 / CTLB) (AD5) DTR 17 18 19 20 21 22 23 24 25 AD0 AD2 DTR GND AD1 AD3 AD5 GND 21 22 23 24 25 WA7ZVY 20041205.1 December 26, 2004 Page 10 of 16

Telemetry Breakout Adapter Telemetry Breakout Adapter Telemetry Breakout Adapter December 26, 2004 Page 11 of 16

12. DB-25 Terminal Connector Pin-out EIA-232 Industry Standard Pinout with KPC-3+ Signal Names (Green), KPC-3+ Not-used Signals (Blue) and Telemetry Input Signal Overlay (Red) (for reference) Signal Name/Direction Inside KPC-3+ <== is from outside world to KPC's hardware. Signal Direction At External Connector. Arrow in is from outside world. Arrow out is going to outside world. Signal Name/Direction Inside KPC-3+ ==> is from outside world to KPC's hardware. Logic Ground === TXD <== RXD ==> RTS <== CTS ==> DSR ==> Logic Ground === DCD ==> ( Not Used === ) ( Not Used === ) AD1<== AD2 (A/D Attenuator) <== Jumper Selectable === ==> AD3 (A/D Attenuator) ( === Not Used ) ( === Not Used ) ( === Not Used ) ==> AD0 ==> AD5 (A/D Attenuator) ==> DTR ( === Not Used ) ( === Not Used ) ( === Not Used ) ( === Not Used ) ( === Not Used ) 20040401.2 PM December 26, 2004 Page 12 of 16

13. Control Breakout Adapter An external breakout adapter, for the control signals, is constructed with a DB9 male plug, a DB9 female socket and a set of side entry vertical screw terminal strips. This allows easy access to the KPC-3+ s control output signals. The adapter unit is built into a DB9 in-to-out adapter housing. The male connector of the adapter is plugged into the KPC-3+ s female DB9 radio port connector (P1); and, any radio device normally used with the KPC-3+ is then plugged into the female DB9 socket on the Control Adapter. KPC-3+ EXTERNAL CONTROL ADAPTER DB9-F 1 2 3 4 5 6 7 8 9 TX Audio XCD PTT RX Audio GND Optional Power or RESET Optional Ground or RESET CTLB CTLA DB9-M 1 2 3 4 5 6 7 8 9 CTLA GND CTLB GND WA7ZVY 20041212.1 Control Breakout Adapter Control Breakout Adapter December 26, 2004 Page 13 of 16

14. PCB Layout for Attenuator Board 1:1 Bottom View 1:1 Mirrored Bottom View 1.00" 1.75" 1:1 Top View 1:1 Mirrored Top View W6 W5 W4 W3 W2 W1 C3 R5 C2 R3 C1 R1 D3 R6 D2 R4 D1 R2 WG 2004 PM A/D Attenuator 1:1 Composite View W6 W5 W4 W3 W2 W1 C3 R5 D3 R6 C2 R3 D2 R4 C1 R1 D1 R2 WG 2004 PM A/D Attenuator December 26, 2004 Page 14 of 16

2:1 Bottom View 1.00" 1.75" 2:1 Top View W6 W5 W4 W3 W2 W1 C3 R5 C2 R3 C1 R1 D3 R6 D2 R4 D1 R2 WG 2004 PM A/D Attenuator 2:1 Composite View W6 W5 W4 W3 W2 W1 C3 R5 C2 R3 C1 R1 D3 R6 D2 R4 D1 R2 WG 2004 PM A/D Attenuator December 26, 2004 Page 15 of 16

2:1 Mirrored Bottom View 2:1 Mirrored Top View December 26, 2004 Page 16 of 16