The CW Machine Hardware

Similar documents
The CW Machine Hardware

Sierra Radio Systems. Making a Keyer with the. HamStack. Project Platform

Universal Keying Adapter 3+

Sierra Radio Systems. HamStack. Project Board Reference Manual V1.0

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

MFJ-484 GRANDMASTER MEMORY KEYER CONTROL FUNCTIONS

WinKey V6 PCB Assembly Guide Version /4/2013

Microsystems. SCI-6 Sound Card Interface Kit Version 1.09 January 2015

MemoryKeyerV2.0.ino (AtoM.h, MtoA.h, Canned.h)

Ocean Controls KT-5193 Modbus Programmable Stepper Motor Controller

Building and using JasperMIDI

DEV-1 HamStack Development Board

Manual 601: : USB/RS232. Specifications. Contents. Options

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

STAGE INTERCOM KIT 1.1 SPECIFICATION. General: The lower section is a small power amplifier designed to drive headphones or a small 8ohm speaker.

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

High Power (15W + 15W) Stereo Amplifier

AUDIO AMPLIFIER PROJECT

Assembly Manual K3NG open source Arduino CW keyer with WinKey support. edition v. 1.0 October 2012 by OK1HRA available at

KDS Channel DMX Controlled Servo Kit

QRPGuys Single Lever Keyer/Paddle

DIY KIT 121. ATMEL 89Cx051 PROGRAMMER

Phi-panel backpack assembly and keypad options Dr. John Liu 12/16/2012

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

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

Installation/assembly manual for DCC/Power shield

Blue Point Engineering

Morse Code Practice Oscillator

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

Manual Main PCB Small-MIDI 4

USB-COMi-TB USB to Industrial Single RS-422 / 485 Adapter Manual. Specifications and Features

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

VFO/Signal Generator kit PCB Revision QCU Rev 1 or QCU Rev 3

DELUXE STEREO AMPLIFIER KIT

Cumbria Designs T-1. C-1 Controller. User Manual

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

AVR-M Rev 5 ASSEMBLY

Ocean Controls KT-5190 Serial Stepper Motor Controller

RECORD & PLAYBACK KIT

MAIN PCB (The small one)

HARDWARE OPERATIONS MANUAL

K191 3 Channel RGB LED Controller

Home Security System with Remote Home Automation Control

You need the following components to assemble the Black n Wood Nixie Clock circuit board:

The CW Trainer Manager

Storage Card Interface Kit

Building The Island Keyboard and. from Jackson Harbor Press Operating: A PIC based Morse code keyboard to be used with your 8 pin keyer chip

S125 Multi-Purpose 125 KHz RFID Reader USER MANUAL. 9V/24V DC Operating Voltage, AC (optional) KHz RFID EM4100/2 Cards & Tags

PCI Express 4-Port Industrial Serial I/O Cards

An open-source hardware+software project. For design files and additional documentation, please visit:

keyestudio Keyestudio MEGA 2560 R3 Board

2001 Mixed-Signal Products SLOU091A

QRPometer Assembly Manual Copyright 2012 David Cripe NM0S The 4 State QRP Group. Introduction

melabs Serial LCD Firmware Version 1.1 3/5/07

The Sudden Storm Kit. by QRPme. Builder s Guide. version4.2. for. Sudden Storm ][ Ver4 (red pcb) Updated 01/10/2012

KDR00101 DMX Controlled Relay Kit

[Note: Power adapter is not included in the kits. Users need to prepare a 9 12 V ( >300mA capacity ) DC power supply]

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0

Ocean Controls KTA-224 Modbus IO Module

CV Arpeggiator Rev 2 Build Documentation.

KEYLITE. Specifications: The Keylite keys your rig with paddles or an IBM compatible Keyboard. Power Requirements: 9V-14V

Freeze the Dizz Jameco Part No

USER MANUAL FOR HARDWARE REV

Storage Card Interface Kit

KDR00301 DMX Controlled Relay Kit

WinKey USB SMT Assembly Guide Version /26/2017

HAND HELD PROGRAMMER QUICK START GUIDE

Vorne Industries. Model 77/232 Serial Input Numeric 3" Display User's Manual

BASIC Stamp Activity Board: Features and Specifications

TKEY-1. CW touch key. (no electromechanical contacts) Assembly manual. Last update: June 20,

Triori Game PART NO

Code Practice Oscillator (CPO)

The CW Machine Manager

DIY Assembly Manual for the LPZW.modules PO-Series Adapter Version 1.0

DPM Digital DC Power Meter with Data logging capability. User Manual

H89-Z37 DOUBLE-DENSITY FLOPPY CONTROLLER

Wind Logger Shield. Parts included: Date: 29/07/14 Version: 1.0 By: Matt Little

180 Series Keypad. Handbook. Revision 2.1

Quicksilver 606 TR-606 CPU Upgrade

SO2Rxlat USB Serial to LPT SO2R Translation Board Version 8B firmware

Assembly Instructions for the KA Electronics IGFO Input Gain Filter Output Board

B.Y.O.C. MK2 Kit Instructions

D115 The Fast Optimal Servo Amplifier For Brush, Brushless, Voice Coil Servo Motors

CK602 Telephone Call Logger

DIY KIT 123. ATMEL 89xxxx PROGRAMMER

MFJ-452 Super CW Keyboard

EasyAVR6 Development System

BARIX IO12. I/O to RS-485 Modbus converter for commercial interfacing, control and home automation applications PRO D UCT MANUAL. Version: 2.

KIT 134. INTRODUCTION TO LCD S

RS485 MODBUS Module 6RO

3700 SERIES USER MANUAL

Sierra Radio Systems. RadioRouter. User Guide. Version 1.1

*on-board power supply capability limited. External battery should be used for higher power servos.

Transcription:

The CW Machine Hardware 2017 Ulrich H. Steinberg The CW Machine Hardware Version 2.3 1

Contents Introduction...3 Connecting the Hardware...4 The Configuration Switches...6 Power Considerations...8 Serial Communication...9 Installing the USB-Serial Adapter...10 Loading the Firmware...12 The Hardware...13 Schematic...14 Bill of Materials...15 Component Placement...17 The CW Machine Hardware Version 2.3 2

Introduction The CW Machine Hardware is a multi-purpose device designed to run one of several firmware programs at a time. At the heart of the CW Machine Hardware is the AVR Butterfly board with an ATMEL ATmega169 processor and 512kb of non-volatile flash memory. The CW Machine Hardware has the capability to load firmware into the processor through a serial port. Therefore, new versions of the firmware or complete new applications implemented in firmware may be loaded into the device. A typical example is our CW Machine firmware, which comes loaded and readyto-run with the CW Machine Hardware. It turns the CW Machine hardware/firmware combination into, arguably, the most advanced memory keyer on the market. It has a matching PC program, the CW Machine Manager, which simplifies and extends the firmware functions in connection with PCs running Microsoft Windows. Another application is our CW Trainer firmware and its companion Windows program, the CW Trainer Manager. This document describes the hardware platform only, in essence a small specialized computer. It requires firmware to perform any meaningful function, and those application functions are described in separate documents which come with each firmware application. The CW Machine device is shipped with a numeric keypad, which is required to control many functions of the CW Machine keyer and the CW Trainer firmware. The CW Machine Hardware Version 2.3 3

Connecting the Hardware The CW Machine Hardware has several connectors at the back and a DIN connector for a PS/2 keypad / keyboard on the left side. The connectors on the back, from left to right as shown in the photo are: A power connector with a 2.5mm center pin for (+) and 5.5mm outer diameter. You should use a power supply that can deliver at least 150mA at 9-25V DC. Don t exceed a supply voltage of 25V DC! The CW Machine comes with a matching plug, and you will have to solder a cable with a connector to it to attach the CW Machine to your power supply. You have to observe the polarity, making sure that the center conductor is (+); the circuit is protected against reverse polarity and no damage will occur if you reverse the polarity by mistake. The CW Machine can also be powered from a 5V supply through a pin on the serial port, as described further down. A 1/8 stereo connector for the sound output. The CW Machine has configuration switches, described further down, to let you use a mono plug and to choose between high and low impedance output. In the low impedance mode, the output on this port is sufficient to drive headphones or a small speaker directly. A female DB9 connector to attach the CW Machine to a serial port on your PC. This connection is required to load firmware and application data into the keyer, and, depending on the firmware you are running, to exchange information with a PC program. If your PC does not have a serial port, a USB-RS232 adapter can be used to attach the device to a USB port. A suitable adapter is offered as an option for the CW Machine. Pin 6 on this connector, the lower right pin in the above photo, can be used to power the CW Machine from a 5V source. It has to be 5V within narrow margins, or damage can result to the circuitry. All computers provide 5V internally, and you can wire this pin to your computers power bus. The USBserial adapter that we offer as an option is wired to supply 5V from the USB bus to this pin. Refer to the description of the C/E configuration switch if you want to use this pin to power the CW Machine. The CW Machine Hardware Version 2.3 4

A red RCA connector for the keyer output. This output can key positive or negative voltages up to 400V at 140mA suitable for solid state transmitters and tube transmitters with grid-block keying. No configuration change is required to key either type of transmitter. A 1/8 stereo connector that is typically used to hook up a single or dual lever paddle with separate contacts for the dash and dot sides. There is no agreed upon standard which of the two hot wires is used for dashes or dots the CW Machine firmware, however, lets you electronically reverse the orientation and you won t have to unsolder anything if you connect this the wrong way. The hot wire of a straight key can be connected to either the ring or the tip. On the left side of the keyer, not shown in the photo, is a mini-din connector to attach a PS/2 numeric keypad or keyboard. The CW Machine comes with a numeric keypad to control many firmware functions, but you can also plug in a full-size PS/2 keyboard. This has to be a keyboard with a native PS/2 plug a USB keyboard with a PS/2 adapter will not work. The CW Machine Hardware Version 2.3 5

The Configuration Switches When you open the device by removing the 4 screws at the bottom and pulling off the silver bottom part of the enclosure, you will see a row of three DIP switches mounted at the bottom of the printed circuit board. When the CW Machine is shipped, all three switches are in the ON position. The switch positions have single letter labels on the printed circuit board, describing their function. You can move the switches with a small screw driver or pen. The left two switches configure the tone output port. Switch 1 has the positions S and M, standing for Stereo and Mono, and it determines the kind of plug that you insert into the stereo jack for the tone output. If you were to insert a mono plug without sliding the switch into the M position, the sound output would be shorted to ground. This does not cause any damage, but you would obviously not get any sound. So, if you are using a 1/8 mono plug, slide this switch to the M position, otherwise leave it on S. The CW Machine Hardware Version 2.3 6

Switch 2 has the positions L and H, standing for Low and High impedance. If you are using a low impedance device, like headphones or a small speaker, leave this switch in the L position. If you are feeding the output into an amplifier with a high-impedance input, the output level may be too high slide the switch into the H position for a high-impedance match and reduced output volume. Switch 3, with the positions C and E, standing for Computer and External, is used in connection with a serial cable which may be wired to provide 5V DC via pin 6 of the DB9 connector (as our USB-serial adapter does.) If your serial cable is not wired to provide 5V on pin 6 then the setting of this switch is irrelevant. If you have a cable that supplies 5V to this pin, however, but you want to use an external power supply anyway, then you have to slide this switch to the E position. The CW Machine can be damaged if it receives power from both sources at the same time. One reason why you may want to use the external supply, although you have our USB-serial adapter with that special wiring, is that there may already be other devices that are powered by the USB bus in your computer, and the additional current drain of the CW Machine would exceed the rating of the USB bus. USB hubs can usually provide 500mA of current, maybe less on small notebook/netbook computers, and the CW Machine can draw around 110mA in some situations, although less than 20mA is a typical average value during normal operation. The CW Machine Hardware Version 2.3 7

Power Considerations The CW Machine device does not have a dedicated power switch because normally it is continually on and powered by an external power supply or by the computer through the serial connector. Since all application contents are kept in non-volatile memory, nothing will be lost when the device is without power. If you open up the device, you will see a holder for a CR2450 lithium knob cell on the right side. The knob cell slides into the holder with the (+) side down. This knob cell can be used to keep the clock running for about a week in case of a power outage. You can also invoke all menu functions and even communicate via the serial port with only that knob cell. All other keyer functions, however, will not work when the device is powered only by this knob cell. You should not install a knob cell unless you really want to keep the clock for the logger running during a power outage (e.g. during a field day), and you should remove the battery when it is no longer needed. The memory in the device is non-volatile and does not require a battery or external power. A half dead battery, however, can cause serious problems in the firmware. When you first connect a power supply or insert the battery, the LCD display will be blank. You start the firmware application by touching the left side of your paddle (or by moving the joystick up). The CW Machine Hardware Version 2.3 8

Serial Communication If your PC does not have a serial port, you can use a high-quality USB-serial adapter. It should be mapped to COM1 COM16. Many inexpensive adapters have proven problematic, and the only types that have worked consistently at full speed without problems are the adapter that we offer as an option with the CW Machine and adapters made by Keyspan, e.g. the Keyspan USA-19HS. The serial connection on the CW Machine Hardware is used for two purposes: It lets you load firmware into the keyer. This is typically done using the AVRprog program for Windows. (similar programs are available for other PC operating systems) AVRprog will only work with ports up to COM4. It lets the firmware exchange data with programs running on a PC. A typical example is the log file created by our CW Machine firmware, which can be uploaded to a PC or restored from a copy kept on a PC. All our firmware programs will support communication with a terminal program on a PC, although more convenient Windows programs may be available to complement the functions of a particular firmware. A typical example is our CW Machine Manager program, which simplifies and extends the operation of the CW Machine firmware if you are running a Windows PC; if you are using it you don t have to concern yourself with the communication settings. If you are using a terminal program, however, it has to understand XON/XOFF flow control, and it has to support one of the communication speeds that you can select in the firmware. The speed is normally set to 38,400 baud, which is the maximum speed for the CW Machine. You have to set the communication parameters in your terminal program as follows: 8 data bits, no parity, 1 stop bit XON/XOFF flow control Uncheck (disable) these options in the ASCII Sending section: o Send line ends with line feeds o Echo characters locally Set the line delay and the character delay both to 0 milliseconds Make sure to set the ASCII Receiving parameters to: o Enable Append line feeds to incoming line ends (check the box) o Disable Force incoming 7-bit ASCII (uncheck the box) o Enable Wrap lines that exceed terminal width (check the box) The CW Machine Hardware Version 2.3 9

Installing the USB-Serial Adapter The USB-serial adapter that is offered as an option with the CW Machine requires device drivers. They are in a directory named FTDI USB-RS232 on the installation CD that comes with the CW Machine. When you plug the adapter into a USB port for the first time, Windows will detect the new device and will try to find appropriate device drivers. (The exact procedure depends on the Windows version). If you include the FTDI USB-RS232 directory on the CD in the search path, the drivers will be installed, and the adapter will be ready for use after a few minutes. You can also pre-install the drivers and make absolutely sure that Windows finds and uses the correct drivers by running the USBAdapterSetup.exe program that is included on the CD. To allow firmware updates, the adapter should be mapped to a port in the range of COM1 COM4. You can change the mapping in the Windows Device Manager ( Start -> Run: devmgmt.msc ), where you will find the adapter under Ports (COM & LPT) as a USB Serial Port. If you double-click on that line, you get a panel with the device properties, which has a Port Settings tab with an Advanced button. Clicking on that button, finally, gives you a screen where you can change the COM port that is assigned to the adapter. The following screen shot shows the typical screens that you would use to change the COM port mapping for a USB-serial adapter. The CW Machine Hardware Version 2.3 10

The Keyspan adapters, which also work well with the CW Machine, come with an installation disk and a special utility program which obviates the need to go through the Windows Device Manager. The CW Machine Hardware Version 2.3 11

Loading the Firmware The CW Machine Hardware usually comes with the CW Machine firmware already installed. But you can update it or load some other firmware designed for the CW Machine Hardware through the serial connection. The port has to be COM1 COM4. The AVRprog program that is used to update the firmware will not work with ports above COM4, although our Windows applications will support COM1 COM16. If you are using a Windows PC, we will always provide a program that complements a particular firmware application and, among other functions, has the ability to update the firmware. If your firmware is, e.g., the default CW Machine firmware, you are encouraged to use the CW Machine Manager program if you are running a Windows PC. I you have a non-windows PC, there are versions of the AVRProg program, a program provided by ATMEL that performs the actual firmware update, for other platforms. You have to get a version of AVRProg for your platform from AVR/ATMEL or various sources that can be found on the Internet. The update process is similar in either case: reset the CW Machine Hardware by pushing the small Reset button on the front panel press (like in pressing a button) and the joystick button and KEEP PRESSING IT, then start the AVRProg program by clicking on the Update Keyer button in the CW Machine Manager program or starting it manually if you are not running a Windows machine. If you start it without pressing the joystick button you will get a message that no supported board was found. AVRProg and the firmware in the keyer will go through an identification process, and if the serial connection works you will see a pop-up window after a few seconds. At this time you can release the joystick, which has to be kept pressed until the communication is established. In the pop-up you have to use the function to load the Flash memory (don t use the option to load the EEPROM memory). Browse for the hex file that contains the keyer firmware and upload it. (The hex file for the CW Machine firmware is called KeyLargo.hex, the file for the CW Trainer is KeyTrain.hex) There is a blue bar that indicates the progress of the load process when it is finished it is important that you click the Exit button (don t just close the window), then close the window. After the new firmware is loaded you restart the device with the newly loaded firmware by touching the left side of your paddle (or by moving the joystick up). You should see the scrolling version message which identifies the firmware, and any paddle contact or movement of the joystick should then start the firmware operation. The CW Machine Hardware Version 2.3 12

The Hardware The following pages show important hardware aspects of the CW Machine device. The CW Machine is not intended for disassembly, and you would have to unsolder the speed potentiometer from the printed circuit board before you could gain access to the components. The bill of materials shows the DigiKey part numbers. The CW Machine Hardware Version 2.3 13

Schematic The CW Machine Hardware Version 2.3 14

Bill of Materials Qty Schematic Id Value / Type Description DigiKey Part # 1 AVR Butterfly evaluation board ATAVRBFLY-ND 1 SW1 miniature push button switch EG2506-ND 1 SW3 DIP switch 3 position CT2093LPST-ND 1 RCA phono jack, red CP-1419-ND 1 DB9 connector 182-09FE-ND 1 Keyboard DIN connector CP-2260-ND 2 3.5mm stereo jacks CP1-3553NG-ND 1 R2 10k linear pot 6mm shaft P3C3103-ND 1 knob 6mm shaft.625" 226-3092-ND 1 power jack, 5.5/2.5mm CP-102B-ND 1 40-pin breakaway pin header A26513-40-ND 4 2-pin receptable A26451-ND 1 4-pin receptable A26452-ND 1 3-pin receptable A26415-ND 1 4-pin receptable A26416-ND 1 U1 LM7805 regulator, 5.0V, TO-220 LM7805CT-ND 1 U2 LM78L33 regulator, 3.3V, TO-92 LP2950CZ-3.3-ND 1 U3 opto-electronic relay 400V/140mA CLA275-ND 1 C1 1000pF ceramic capacitor 1kV 490-4258-ND 4 C2,C6,C7,C11,C14 0.1uf ceramic capacitor 50V 478-3192-ND 3 C9,C10,C12 0.01uF ceramic capacitor 100V 478-3178-ND 1 C3 47uF electrolytic capacitor 35V 493-1080-ND 3 C4, C5, C8, C13 220uF electrolytic capacitor 16V 493-1040-ND 1 D1 1N4002 diode 1N4002FSCT-ND The CW Machine Hardware Version 2.3 15

5 Q1-Q5 2N7000 FET 2N7000FS-ND 1 R1 1k resistor 1.0KQBK-ND 1 R3 47 Ohm resistor 1W P47W-1BK-ND 7 R4-R10 4.7k resistor 4.7KQBK-ND The CW Machine Hardware Version 2.3 16

Component Placement The CW Machine Hardware Version 2.3 17