1.5 Interfacing Basics

1. Operating without an Interface - Manual Mode

There are many reasons why you could find yourself operating in manual mode. Maybe you're just getting started and have not had time to install and configure an interface? Perhaps your radio does not support PC integration, or you have a computer but it lacks the necessary I/O ports to connect a radio? Or maybe you're operating from a short-term portable location and don't have the time or equipment to connect the radio to the computer? Whatever the reason, there are special keystrokes that you need to enter in the Entry Window to inform N1MM Loggger+ of the band and mode that you are operating.

Set your frequency by typing it into the Callsign textbox and hitting Enter. If you want the log to only indicate the band, and not specific frequency information, enter the frequency of the bottom of the band in kHz (note that some contest administrators request that manual frequency entries always be bottom of band). If you want the log to include the actual frequency, enter the complete frequency in kHz. For example 14025.1 (or 14025,1 if your computer uses comma as the decimal separator). The new frequency will appear in the title bar of the Entry window.

Enter mode changes similarly. Recognized entries are CW, RTTY, PSK and SSB, USB or LSB. If you enter SSB, the program will substitute the customary sideband (e.g., LSB on 40-160) USB and LSB can be used to enter the opposite sideband, should you ever need to. The mode to be recorded in the log is displayed in the title bar of the Entry window.

For more details about these commands, see the Entry Window Text Commands in the Digging Deeper section of this documentation.

2. Basic Radio Control Interfacing

Regardless of whether you want to operate phone, CW or digital modes, the most useful and important interface is the one between your computer, N1MM Logger+ and your radio. Fortunately, virtually all modern radios incorporate a serial port to enable them to swap information and commands with the computer.

A first step is to look up your transceiver in the manual section titled Supported Radios. Assuming you find your radio there, look for any specific settings or peculiarities that need to be addressed and make a note of them.

USB is rapidly replacing both RS-232 serial ports and LPT parallel ports. If your radio has a standard RS-232 serial port, once you have purchased a USB-to-serial adapter and installed the drivers for it, N1MM logger can work with your radio just fine. If your radio uses either Icom's CI-V standard or another non-RS-232 serial port, you'll need an appropriate converter cable to get from either USB or RS-232 to your radio.

Some USB adapters, particularly those using a Prolific chip-set, are erratic with some programs, particularly programs written in Visual Basic (like N1MM Logger Classic). If you encounter quirky performance or an 8020 error, that may be why. See the Error Messages section of Digging Deeper for details on this error, and USB Interface Devices for a full rundown on user experience with various specific adapters.

Radios are starting to appear now with USB ports. If yours is one of these, check the Supported Radios entry for your radio (and the radio manual) to find USB interfacing details.

See this earlier section for information on avoiding problems with USB ports going to sleep.

Once you have the hardware hooked up between your computer and your radio, start N1MM Logger+ and open the Config menu in the Entry window. Choose Configure Ports, Mode Control, Audio, Other. Ignore all the other stuff for now.

That brings up the following, rather intimidating dialog. Don't worry, we'll walk you through the part you need now.

Configurer Hardware

You may want to select SO1V if this is your first experience with N1MM. SO1V allows N1MM to control VFO A in your transceiver. If you are an experienced contester and understand how to operate in split mode (for example, working DX on 40 meter sideband), and especially if you have a radio with dual receivers, you may want to select SO2V. It allows N1MM to simultaneously control both VFO A and VFO B in your transceiver. If you are an advanced contester, whose station is configured with TWO transceivers (one for running contacts and the other for searching for new multipliers), then you will want to select SO2R.

One of the advances in N1MM+ is that you can use any COM port numbered 1-99. Click the drop-down arrow to the right of the Port column, and you will see all the serial ports, hardware or USB/virtual, that are active on your PC. Select the one that is connected to your radio. Now click the drop-down arrow to the right of the Radio column, and select your specific radio model. Virtually all Kenwood models use the one common radio configuration, while Yaesu and Icom radios are generally designated by the specific model number - refer to the manual under supported radios for more information. Icom radios also require a Radio Address (Hex Code) - that's in the same place.

Now click the "Set" button next to the port you have chosen.

Configurer SetDialog RadioControl

That will bring up this dialog, with connection details. Normally, N1MM Logger chooses the parameters in the first two rows for you, and does a good job. You might want to verify them with your radio manual, just in case. Radio/VFO number should be 1, so that your main VFO will be displayed in the main (first) entry window. The rest of the stuff on this dialog is not important right now, so just click OK to get back to the previous dialog, and then OK again to return to the Entry Window.

If all is well (you did turn your radio on, right?), when that big multi-tabbed dialog closes and the Entry Window reappears, the title bar of the Entry Window will display the radio's frequency and mode. It's magic. The "+0.00" simply means that RIT is turned on, but set to zero (no offset)

Entry InterfacedRadio

Now that you have radio control, you can do a lot of neat things, but one of the most basic is that you will never again have to worry about accidentally logging QSOs on the wrong band or mode.

3. Interfacing for Phone, CW and PTT

Of course, controlling your radio through a serial port isn't the only way to interface N1MM Logger+ and your radio - in fact, long before there were computer-controllable radios, the pioneering logging software authors developed several standards for CW and PTT interfacing, using either serial or LPT (printer) ports.

We'll start, though, with a discussion of phone interfacing, on the theory that this will be of most interest to new users. Once you're interfaced, you will be able to store voice messages and play them back through your radio, to save your voice during phone contests.

3.1. Phone Interfacing

This topic is covered in introductory form here, and in more detail in two parts of the Digging Deeper section. This rather awkward organization is necessary because N1MM Logger+ is transitioning from Classic's audio function setup, on the Audio tab of the Configurer, to a new improved option currently on the Config menu, Logger+ Audio.

The Audio tab version works with all versions of the Windows operating system from Windows XP forward. Logger+ Audio works with Windows Vista and thereafter. If you check Logger+ Audio on the Config menu, and you are running an operating system after XP, the Audio tab on the Configurer will not be visible. If you are running Windows XP, the Config menu option is disabled.

3.1.1. Interface Hardware

Of course, you can always use one of the many commercial audio interfaces designed primarily for digital modes. However, if you have a sound card that permits feeding microphone input through it to the line output (most do), and has a mixer that will allow you to independently set the level of the microphone, .wav playback and internally-generated audio (such as for AFSK), you really don't need an interface at all. On SSB, simply plug your microphone into the sound card mike input. Cable the sound card's Line Out to the Line In or Phone Patch input of your transceiver, and you're done.

You may encounter hum, resulting from difference in AC potential between the chassis of your computer and that of your transceiver. In that case, a 600-ohm isolation transformer in the cable between sound card and transceiver is a likely cure. Another approach is to bond the transceiver and computer chassis together with a heavy wire. Many people do both.

If you absolutely must feed the audio output of your sound card into the microphone jack of your transceiver, the level will be far too high. In that case, a simple 10:1 resistive voltage divider is the solution, placed in the audio cable before the microphone jack.

3.1.2. Trouble-shooting phone interfacing

The following discussion is cribbed almost verbatim from audio trouble-shooting notes by David Robbins, K1TTT. If any mistakes have crept in, blame the manual team, not him. It assumes that you're running Windows XP, using the Configurer's Audio tab, and all the screenshots below are from that version.

To begin with, make sure you close Windows Media Player, RealPlayer, Audacity, or any other sound playback/recording program you may have open. Start N1MM Logger. On the Config menu, open "Configure Ports, Mode Control, Audio, Other", also known as the Configurer.

Now select the Audio tab:

Configurer   AudioTab

Select option 1 "Only use Radio 1 Output Device. Output on both channels."

Choosing from the drop-down list at the upper left in "Tx Sound Card Setup", make sure that the Radio 1 Output Device is correct for your sound card. Typically, the name will appear as "Speakers" with the name of the associated sound device in parentheses. You can select Default as your Output Device, if you have set it as that in Windows, but depending on your version of Windows that may prevent you from muting your microphone while stored voice messages are playing.

If you make an explicit choice of Output Device, you'll be presented with options under Select Port to Mute. Select Microphone. Then make sure that the Message Recording Device (sound card) is correct (typically the same as your Output Device), and that the Message Recording Port is set to Microphone. Make sure the Recording Sample Rate and the Recording Bits numbers are set to values supported by your sound card.

Now OK out to save these settings, and close N1MM Logger. It's time to test.

Plug your microphone directly into the microphone jack on your sound card. Plug your headset directly into its speaker output. Open the Windows Volume Control. It should come up with a set of sliders. In Windows XP, they look like this:

Classic QSGch3 003

Or this, in Windows 7, after you finally drill down through the options on the Control Panel, under Sound":
Classic Win 7 Microphone Sliders

 Sound Cards Are Weird

Unfortunately, sound card manufacturers have added a dazzling number of bells and whistles the past few years, including software-configurable input and output ports and other gadgets that affect recording. We have to leave you a little on your own here. The important thing is to find the microphone recording volume control, make sure it is selected, and that the level is about 50 percent.

In Windows XP, you may have to go into Options>Properties to check the box to let you see the microphone volume control and those for other sound sources. Under Options>Properties, click the 'Recording' radio button, and make sure the microphone is checked on the list of controls:

Classic QSGch3 004

In Windows XP, make sure the Microphone slider is at mid-range and that there is a check in the Select box. If you are using a typical ham microphone, such as a Heil, and you have the "Advanced" button, click on it and select Mic Boost if that option is available, because it provides a 20-30 dB preamp. Now OK out.

Classic QSGch3 005

Now, when you talk in the microphone, you should be able to hear yourself in the headset. If you can't, then something is wrong with your settings, hardware or drivers. Try playing existing .wav files using the Windows Control Panel's Sounds option. Recheck volume and mute settings, check that the microphone is plugged into the right jack, try a different microphone, try a different headset. DO NOT PASS THIS POINT UNTIL YOU CAN HEAR YOURSELF!

Now open Windows Sound Recorder, which is usually found in the Accessories category in your program list. DO NOT open Audacity, any of the audio tools that came with your sound card, or your other favorite tool. Some of them play with the mixer settings and we don't want that now that they are set. These are for QWindows XP and Windows 7, respectively.

Classic QSGch3 006

Classic Sound Recorder Windows 7

Click the Record or Start Recording button in Sound Recorder, and speak a few words into the microphone. You should see the level indicator deflect in time with your voice. Now press Stop. Press the Play button and you should hear what you just said. If you don't there is something wrong with your hardware or drivers. Check recording control settings, adjust volume, make sure the microphone is selected as the recording source, and get that 8 year old back to help again! DO NOT PASS THIS POINT UNTIL YOU CAN RECORD AND PLAY. If Windows Sound Recorder doesn't work, then N1MM likely won't work and since N1MM is much more complicated it is harder to troubleshoot.

If it's working OK, now close the Sound Recorder and start N1MM Logger. Put the program in Run mode (Alt+U or click in the Running box) and your radio on USB or LSB, and make sure that the Entry Window's title bar specifies either USB or LSB (if you don't have a radio connected, type the appropriate mode in the callsign box and hit <Enter>).

Right-click on any of the message buttons in the entry window. That will bring up the Function Key message editor:

Classic SSB Message Editor V 7.01.02

Don't be intimidated - we're just going to use this screen to set up a single function key to send a single message, so we can check out the entire flow from pressing a Function Key to having an audio message properly sent to your radio. The filenames and remarks you see in the editor now are the default filenames that are put into the table when you first install MM. If this is not your first time using N1MM Logger, these may not be the first ones you see. the full story on the message editor, see this page in Digging Deeper.

For test purposes, we are just going to use one message, in the slot for Run F1. This is the message that will be sent when the program is in Run mode and F1 is pressed. This is intended to be the location for your CQ Message. If the editor shows "F1 CQ,CQ.wav" in the first row of the Run Messages section, then you're ready to go. Just close the window with the X in its upper right.


 The Difference Between "Save" and "Export"

There is a critical difference between the "Save" and "Export" buttons in the bottom frame of the Function Key Message Editor. If you click "Save", the currently-displayed contents (including any changes you have made) are saved in your current database, for use the next time you press a function key. They are also written to the file-name shown in the upper frame of the editor. To save a change on the fly and get back quickly to using the program, all you need to do is click Save and then X in the upper corner to leave the editor and return to the Entry Window. However, if you want to retain the file that was loaded into the editor in its original form - as you might want to with the default files, for example - then you must first click Export, select a filename in the Save Macros to File dialog that opens, and then click Save. Then, you must click Save in the Function Key message editor to load the edited function keys into the current database.

Now, make sure you are in Run mode - that is, that the Run checkbox in the Entry Window is checked. Now watch the bottom line of the Entry Window (called the Status Line) and press Ctrl+Shift+F1. You should see:

Classic On The Fly Recording 12.07.01

One important thing to note here. If you have not entered your callsign under change Station Data on the Config menu, you will not see your callsign in the status line. This is important - stop, go do that, and then repeat this step.

If you speak into the microphone at this point, whatever you say will be recorded in the file CQ.WAV under WAV\<your callsign>.. Press Ctrl+Shift+F1 again (or ESC) to stop the recording, and look for this report in the same place:

Classic After Recording 12.07.01

Now press F1. You should hear what you just recorded in the speaker. If you don't, make sure you're still in Run mode and look for an error message in the Status Line. We suggest using the Ctrl+Shift+Fx process to record within N1MM Logger, at least until you get truly comfortable with audio files, because a lot of the problems people run into are a result of recording with diofferent programs, or in filenames that are different than the program expects to see.

Now that you've got things working, you need to program at least the first few function keys. It's best to follow the order in the example above, at least for F1-F8, because a little later, when we talk about ESM (Enter Sends Messages) mode, the order is important. Be sure that each Function Key message line begins with the Function Key number, a brief label (like CQ), a comma, and the content of the message

OK, so now you have everything you need to play "canned" audio messages on the air. If you're content to use VOX to switch your transmitter, and you're not interested in CW, then you can stop here, for now.

3.2. CW Keying and PTT Control

 Unsupported Methods of CW Keying

N1MM Logger+ supports several methods of CW keying, but two are not supported. The first of these unsupported methods is CW by audio tone, or MCW, as is done by software such as FLDIGI. The reason for this is that if it is not set up carefully, this method can produce unnecessarily wide signals, or even in some cases two closely-spaced signals from one transmitter.

The second unsupported method involves sending ASCII characters to the radio, which then converts them to CW. Only a few radios have this capability, and in most or all of these the resulting CW operation is far less suited to contest use than the Logger's own. N1MM Logger+ does not support this method directly, although it is possible for users to use this capability by means of radio control macro commands incorporated into function key messages, provided they are willing to accept some loss of functionality as compared with the directly supported methods.

A full discussion of interfacing is in the Interfacing section of the manual.

In its simplest form, CW is sent and PTT is controlled by switching lines on a COM or LPT port. This technique allows the simplest possible interface, but one is required. Here's a block diagram of the COM port setup. For LPT port keying, a USB adapter will not work. Your computer must have a hardware LPT port:

Interface CwKeyingFlow

Please note that only a very few radios permit CW and PTT via their built-in serial ports. The rest require that the interface be plugged into the CW key jack on the transceiver. The exceptions to this are covered under Supported Radios.

The interface can be anything from the simplest - one resistor and one transistor - to one of the many units on the market that handle both CW and various digital modes.

Let's assume you're going to use this method to start with. Begin by opening the Config menu to the Ports, other dialog:

Entry ConfigMenu

Configurer Hardware WithCOM2Selected

For this example, our CW port will be on the second port we configure (the first port, COM6, will be used for radio control). let's choose COM2 as our CW/PTT port. After selecting COM2 from the pull-down list of available ports, put a check in the CW/Other box and you'll notice that the Set button is no longer greyed. Click on it, and open the dialog for that port:

Configurer SetDialog SerialCW

You can configure the DTR pin as either CW or PTT. Click the down arrow and you'll see the list of possibilities:
Configurer SetDialog PullDownCw

Highlight the one you want, depending on your interface. Now do the same with the RTS pin:
Configurer SetDialog PullDownPtt

You can use either signal line (DTR or RTS) for either function (CW or PTT); just make sure your choice matches up with the way the hardware is wired up.

Configurer SetDialog SerialCwPtt

Set the Radio Nr to 1. The PTT Delay setting is to protect the relays in an amplifier by making sure that the T/R relay is closed before the program starts sending CW. The default value of 30 ms. is fine even if you don't have an amplifier.

OK, now to interface to the rig. The very simplest interface imaginable will work just fine for either the CW or PTT functions with any modern radio; again, there are many commercial options, but here's the Radio Shack parts solution:

Interface BasicCwCircuit

 Using Winkey/Winkeyer for CW

K1EL's Winkey/Winkeyer devices have become very popular with N1MM Logger+ users. The chips are built into a number of interfaces. The stand-alone Winkeyer USB will key two radios and provide PTT functions for both on all bands, simplifying changing modes considerably.

Follow the instructions that come with your interface in setting up CW keying. For the stand-alone unit, You'll need to determine which port your Winkeyer is listening on, and then check its CW/Other box. Finally, click the Set button and check the Winkey box. That's all there is to it. Do NOT try to configure DTR or RTS for a Winkeyer; checking the Winkey check box automatically sets these to the correct settings for the Winkeyer.

You will probably also need to review (and likely change) settings on the Winkey tab of N1MM Logger+'s Configurer (Config>Ports, Other). One important one with many transceivers is the Lead Time parameter, needed to prevent Winkey from starting to send CW before your transceiver is ready to make RF. A setting of 2 (20 mS.) is usually plenty; more can make manual keying difficult.

3.2.1. CW Messages

From the Config menu, you can select Change CW/SSB/Digital Function Key Definitions, and then Change CW Function Key Definitions, or you can simply right-click on one of the 12 function key buttons in the Entry window. That will bring up this window:

MessageEditor DefaultCwMessages

What it is displaying is the default function key message file that is now shipped with N1MM Logger+. There is much more on the Function Key Message Editor here, but for the moment, let's use what we find already in place.

Going down from the top, note the macro {MYCALL}. An alternative to this is the single-character macro *. Either one denotes your callsign, from the Station Data window. This is a text macro. There are two types of macros, text macros and action macros - text macros substitute a string of text for the macro, while action macros perform some program action. Both are often used in combination with regular text in a message, as shown here - when you press the function key or click the on-screen F1 button, the program will send CQ TEST N4ZR N4ZR TEST (substituting your call for the asterisk). There's a table of the many recognized ((Function Keys, Messages and Macros|Macros)) in the chapter by that name in Digging Deeper but for now let's go on.

Conventionally, F2 is used for your contest exchange. The sample file uses the {EXCH} macro, which is a text macro that substitutes whatever you put in the Sent Exchange part of your Contest Setup. Say, for example, we were setting up for a contest where the exchange is signal report, your name and your state. When N4ZR sets up the contest, he puts PETE WV in the Sent Exchange. Now when he presses or clicks F2, the program will send PETE WV.

Also in Run F2 is the macro {SENTRSTCUT}. Many of us just put 5NN explicitly in F2, but this macro is a little cleverer. It sends the signal report (nominally 599, but can be modified from the Entry window on a per-QSO basis). This macro substitutes whatever cut number style you choose in the Configurer here (e.g 599 -> 5NN, 579 -> 57N, etc.).

One fine point - you might think of putting the 5NN in your Sent Exchange in the Contest Setup dialog - after all, everyone's 599, right? Well, don't, because it will screw up your Cabrillo log. Just resign yourself to putting 5NN or {SENTRSTCUT} in your function key messages wherever you want it sent.

The next handy trick to notice is in Run F5, where ! is used. That always denotes the other station's call, grabbed from the Entry Window

A final tip - most macros are in the form of {WORD}, where "word" is the macro. The curly brackets are necessary so that the program knows it's time to substitute something or take some action. It is awfully easy to type a square bracket or common parenthesis instead of the curly bracket, so look carefully.

From now on, if you want to change the content of any message buttons, just right-click in the area of the buttons, and the editor we just left will reappear.

OK - you've hooked up your interface, so now you're ready to send some canned CW. As explained above, you can either hit the function key F1, or click on the F1 button. Either way, the program will switch your radio from Receive to Transmit (assuming you have PTT connected - you can also use VOX or break-in, of course) send the message, and then go back to Receive again.

Entry InterfacedRadio

There are two easy ways to adjust the speed of your CW - either click the up and down arrows next to the CW speed box (where it says "26" in the picture above), or press <Page Up> or <Page Down>, to increase or decrease speed in 2 word per minute increments. If you hit the wrong key or button, no problem - hit the <Esc> key to stop sending immediately.

If you want to send CW manually, the easiest way is to parallel a keyer with the computer CW at the transceiver's key jack. Alternatively, if you prefer to use the keyboard instead of a paddle, hit Ctrl + K, and a CW window appears:

Type the character you want to send. As you begin typing, the program begins sending; you can type ahead. Hit Ctrl+K again to close the window. See this page for more details on how the CW keyboard window works.

Last Modification: 17 October 2015 08:22:43 EDT by VE3KI.