DigiMode Technical Specifications
For Beta testers - DigiMode v1.16.1
← The WA5PB Ham Radio AI Project
Please read this page before you open DigiMode. It says what the program needs, what it does and does not do yet, and how to test it with or without a radio. A few minutes here will save you a puzzled evening at the rig. DigiMode now transmits, experimentally: read Transmit before you key a rig with it.
Open DigiMode (Beta) (opens in a new tab)
DigiMode is free software under the GNU General Public License, version 3 or later, and comes with NO WARRANTY. License, source and credits.
At a Glance
| Version | 1.16.1, Beta. The version is shown at the top of the page and at the top of its Help window (the ? button), which links back to this page. |
|---|---|
| What it is | A waterfall, receive decoder and transmitter for the conversational keyboard modes, with rig control for the Elecraft K2 and ten more Elecraft and Kenwood rigs. |
| Receive / transmit | Receive, and transmit - new and experimental - in every mode it decodes, on a computer only. The rig is keyed by a line of the serial port (RTS or DTR) or by VOX, never by a CAT command. Try it into a dummy load at low power before going on the air; see Transmit. |
| Modes | PSK31, PSK63, Olivia 8/250 and 8/500, MFSK16 and MFSK32, RTTY 45.45 baud / 170 Hz - each received and sent - and RSID (Reed-Solomon ID) reception across the passband, with an ID optionally sent before a transmission. |
| Audio sources | Sound card (live), audio file, or the built-in signal generator. |
| Platforms | A computer with a current desktop browser, or an Android phone in Chrome (an upright phone layout, tap to tune; receive only). iPhone and iPad: audio only. |
| Rig control | Verified on the Elecraft K2. Provisional - written from flrig and Elecraft's references, not yet tried on a real rig - on the Elecraft K3, K3S, K4, KX2 and KX3 and the Kenwood TS-480HX, TS-480SAT, TS-590S, TS-590SG and TS-890S. Pick the rig before connecting. On a computer, over Web Serial through any serial port; on an Android phone, the K2 only, over WebUSB through a USB-serial adapter with a Silicon Labs CP210x (the Digirig), an FTDI FT232R or an MCT U232 (Belkin F5U109/F5U409) chip. A rig not on the list: audio only, or keyed by a line with No rig control (PTT only). |
| Installation | None. DigiMode is a single web page. That one HTML file is the whole program and its complete source, rig definitions included. |
| Privacy | Audio is processed in your browser by the Web Audio API. Nothing is uploaded, and there is no account. |
| Address | https://wa5pb.com/digimode.html - a fixed address.
Each new build replaces the page at the same address, so features may change between
versions. |
Computer, Phone and Browser
- Waterfall, decoders, files and the generator need a current browser with the Web Audio API. Chrome and Edge are the browsers DigiMode is built and tested in.
- Rig control on a computer needs Web Serial: Chrome, Edge, or Firefox 151 or later. Safari has no Web Serial.
- Linux: join the
dialoutgroup first. A browser opens a serial port as you, and on Linux the serial ports belong to thedialoutgroup. Before using rig control, runsudo usermod -aG dialout $USER, then reboot. Logging out is not always enough: a desktop session can keep the groups it started with.getent group dialoutshows whether the change was saved. Until then the port will not open, and on Linux DigiMode's message says so: it names thedialoutgroup and the command, as well as the other usual cause - another tab or program already holding the port. Raspberry Pi OS puts its default user indialout, so a Pi normally works out of the box. - Android phone: use Chrome. Rig control there uses WebUSB rather than Web Serial, because Android's Web Serial cannot see USB-serial chips; see Rig Control. Rig control on a phone is for the K2, and a phone receives only: transmit needs a computer.
- iPhone and iPad: there is no Web Serial or WebUSB on iOS, so DigiMode works there with audio only.
- Secure page. Browsers allow the sound card, the serial port and USB only on a
secure page - HTTPS, or
localhost. Opened from wa5pb.com, DigiMode is served over HTTPS, so this is already met. - Used so far: Windows (Chrome, Edge and Firefox); Raspberry Pi OS on a Raspberry Pi 4B (Chromium 151 and Firefox 153), where the sound card, file playback, RSID and the K2 link all worked; a Debian 13 laptop (Chrome, and Firefox 153.4), with rig control through the laptop's built-in DE-9 serial port; and Chrome on an Android phone (Google Pixel 8a), with the Digirig plugged into the phone's USB-C port for both rig control and audio, and with an FTDI US232R cable and a Belkin F5U409 adapter for rig control through a USB hub. Transmit was tested on the Raspberry Pi 4B (Chromium) with the Digirig and the K2 into a dummy load.
- Processing load: measured at about 1.9 CPU cores on the Raspberry Pi 4B. Any ordinary laptop or desktop has room to spare.
- Desktop screen: checked at 1920 x 1080 and 1366 x 768.
- Phone layout: in a window narrower than 900 pixels, or on a phone held sideways, the page takes an upright phone layout - the waterfall on top, the decoded text under it, and the panels below as tabs (Audio, Tuning, Rig and Decoder). The band buttons scroll sideways.
- Keep screen on (under Audio source) appears in the phone layout and is ticked by default: while audio is running the screen stays on, so the phone does not sleep in the middle of a transmission. Untick it to save battery.
Audio Interface and Levels
- Input: any input device the browser offers - a USB sound card codec such as the Digirig's, or a computer's line or microphone input. Choose it on the Sound card tab and press Start; the browser asks permission to use it.
- Processing off: DigiMode asks the browser to turn its echo cancellation, noise suppression and automatic gain off, because all three damage digital-mode audio. Turn off any similar "enhancements" in your operating system's sound settings as well.
- Level: set the operating system's recording level so the Level meter peaks in the green, and the CLIP light stays dark. As an example, at WA5PB's station band noise reads roughly -30 to -20 dB on the meter. A recording level of zero, or AGC left on in the operating system, are the two usual causes of "no signals".
- Rig audio: take receive audio from the rig's headphone, speaker or accessory output at a modest level. The waterfall shows 0 to 3000 Hz of audio, so an SSB filter of about 2.4 to 2.8 kHz suits it.
- Interfaces tested: the Digirig Mobile (one USB cable for audio and the CP210x serial port) on an Elecraft K2, from a Windows laptop, the Raspberry Pi 4B and an Android phone; for rig control from a computer, an FTDI FT232R USB-serial adapter and a laptop's built-in DE-9 COM port; and, for rig control from the Android phone, the same FTDI FT232R (FTDI's US232R cable) and a Belkin F5U409 (MCT U232), each through a USB hub. Transmit: the Digirig on the K2, keyed by RTS.
- Output (transmit): the transmit audio goes to the device chosen under Output in the transmit strip - Default output until you choose one; see Transmit.
- One order of operations: choose the input device and start the sound card before connecting the rig. While the serial port is open the device lists (input and output) are not re-read, because re-reading them with a serial port open hung the page with the Digirig's USB serial chip. Disconnect the rig to refresh them.
- Unplugging: pulling the serial adapter stops rig control; the audio stops only if its own input goes away. So unplugging a Digirig, which carries both, stops both, while unplugging an FTDI or Belkin adapter leaves the receiver running. DigiMode never carries on with another input - on a phone, never with the phone's own microphone.
Interface cables. If a rig misbehaves the moment an interface cable is plugged in - a frozen front panel, relays clicking, a band jump - check that every plug of a Y or adapter cable is at the end it was made for. A reversed cable put a microphone (PTT) line where it did not belong at WA5PB's station, and it looked for all the world like a software fault.
Modes and Their Specifications
Choose the mode with the selector above the text pane. The amber band on the waterfall shows the width the decoder is listening to. Squelch runs from 0 to 1, default 0.6: raise it if noise prints characters, lower it for weak signals.
| Mode | Signal | Tuning | Notes for testers |
|---|---|---|---|
| PSK31 | Differential BPSK, 31.25 baud, Varicode (G3PLX). About 31 Hz wide; amber band ±31 Hz. | AFC on by default; pulls in ±25 Hz and marks where it settled with a dashed line. | The phase scope shows two clusters for good copy, a ring for noise. |
| PSK63 | The same at 62.5 baud. About 62 Hz wide; amber band ±62 Hz. | AFC looks ±60 Hz and pulls in ±40 Hz, so a click on either idle line copies. | Needs roughly 3 dB more signal than PSK31. A PSK31 decoder on PSK63 prints garbage; a PSK63 decoder on PSK31 prints nothing. |
| Olivia 8/250 | 8 tones in 250 Hz, 31.25 baud, strong error correction; a 2-second block per character group. Amber band ±125 Hz. | No AFC to set: the sync finds the station anywhere inside the band and follows drift. Click once and leave it - every cursor move restarts the sync. | In testing, perfect copy to about -15 dB S/N in 3 kHz. Text starts about 10 s after a transmission begins and finishes about as long after it ends. |
| Olivia 8/500 | 8 tones in 500 Hz, 62.5 baud; 1-second blocks. Amber band ±250 Hz. | As 8/250. Choose the submode beside the selector; switching mid-QSO prints what the old submode still held. | In testing, perfect copy to about -11 dB S/N in 3 kHz. Text starts about 5 s into a transmission. In acceptance testing it copied up to about 250 Hz off centre. |
| MFSK16 / MFSK32 | 16 tones, 15.625 Hz apart at 15.625 baud (MFSK16), or 31.25 Hz apart at 31.25 baud (MFSK32) - about 250 Hz or 500 Hz wide. K = 7, rate 1/2 convolutional code with interleaving; the MFSK Varicode. Amber band ±117 Hz or ±234 Hz. | Choose MFSK, then 16 or 32 beside the selector. A click anywhere on the signal snaps the cursor to its centre, from the last 3 s of audio (live or playing audio only). AFC then follows drift up to half a tone spacing - ±7.8 Hz, or ±15.6 Hz in MFSK32 - only while text flows, and goes back to the cursor when the station stops. | In testing, clean copy to about -11 dB S/N in 3 kHz in MFSK16; MFSK32 needs about 3 dB more. Text starts about 6 s after an MFSK16 transmission begins (3 s in MFSK32) and runs about 4 s (2 s) behind the signal; each transmission starts on a new line. The tuning must be close - within about 6 Hz in MFSK16 - which is why the click snaps; a typed frequency, the arrow keys, the nudge buttons, a band button or an RSID row do not snap. The small panel shows the AFC and the decoder's S/N in place of the phase scope. RSID codes 57 (MFSK16) and 147 (MFSK32). |
| RTTY | 45.45 baud, 170 Hz shift, ITA2 (Baudot), 1.5 stop bits, unshift on space. | The cursor is the centre of the pair; a click within about 40 Hz of a pair snaps to it. No AFC; tolerates about ±15 Hz. | Mark and space follow the rig's sideband over CAT (USB assumed with no rig). Tick Reverse only for a station sending upside down. Transmitted as AFSK - audio tones, with the rig in USB, LSB or DATA. |
| RSID | The 1.4-second, 15-tone Reed-Solomon ID burst that fldigi and other programs can send (design by F6CTE). | Off by default; tick RSID. Searches about 200 to 2900 Hz, whatever decoder is selected. | A PSK31, PSK63, Olivia, MFSK or RTTY row in the list can be clicked to tune to it (an Olivia or MFSK row sets the submode too). Most stations do not send an ID - fldigi ships with it off - so no ID does not mean no signal. |
Olivia, MFSK and RTTY take the sideband from the rig over CAT, as RSID does; Olivia and MFSK also offer Reverse, for a station sending upside down. Decoded text can be copied with Copy text. Every mode in the table can also be sent - see Transmit.
Waterfall and Tuning
- Span: 0 to 3000 Hz of audio. With the rig on USB, the dial frequency is the 0 Hz left edge, so RF = dial + audio. With the K2 connected, RF scale labels the waterfall in RF kHz.
- Tuning: click the waterfall to tune the decoder, or give it focus and use the left and right arrow keys (1 Hz; Shift for 10 Hz). Set exactly in the Tuning panel takes an audio frequency in Hz.
- Tuning on a phone: tap a signal on the waterfall. A fingertip is never exact, so in PSK31 and PSK63 the cursor snaps to the strongest signal within about 150 Hz of the tap, and in RTTY to the nearest pair within 150 Hz; if nothing stands out, the tap stands as made. In Olivia there is no snap - tap the middle of the signal; in MFSK, tap anywhere on it and it snaps, as a mouse click does. Then finish with the − 10 Hz and + 10 Hz buttons under the waterfall; hold either for 1 Hz steps. On a computer, a mouse click tunes as before.
- Automatic level: each frequency is shown against its own slowly tracked noise floor, so band noise reads an even dark blue across the passband and weak signals stand out anywhere in it. The dark bands at the edges are the rig's filter skirts. After a band or source change the level re-learns within a few seconds.
- Clean files: on noise-free audio (fldigi's test files, the generator without band noise) the floor is held within 60 dB of the strongest signal, so a clean signal shows on a dark background. This never applies to the sound card.
- While transmitting: the waterfall shows a dark band marked TX, and it re-learns its level after the rig unkeys.
- Status line: under the waterfall - source, sample rate, frames per second, the pointer's frequency and the tuned frequency (and RF with a rig).
Band Presets
The nine band buttons (160 through 10 meters; no 60 m) work only with a rig connected over CAT. Each one tunes the dial to the selected mode's channel on that band and, once the rig confirms the dial, puts the cursor where the signal will be. They leave the sideband as the rig has it; the figures assume USB. Hover over a button for its dial and offset, written as the K2 displays them. Where a channel list differs by region, ITU Region 2 is used.
| Band | PSK31 / PSK63 | Olivia and MFSK | RTTY |
|---|---|---|---|
| 160m | 1.837.00 +1150 Hz | 1.825.50 +1500 Hz | 1.803.50 +1500 Hz |
| 80m | 3.579.00 +1000 Hz | 3.581.50 +1500 Hz | 3.583.50 +1500 Hz |
| 40m | 7.069.00 +1000 Hz | 7.038.50 +1500 Hz | 7.083.50 +1500 Hz |
| 30m | 10.141.00 +1000 Hz | 10.141.50 +1500 Hz | 10.133.50 +1500 Hz |
| 20m | 14.069.00 +1000 Hz | 14.071.00 +1500 Hz | 14.078.50 +1500 Hz |
| 17m | 18.099.00 +1000 Hz | 18.097.50 +1500 Hz | 18.101.50 +1500 Hz |
| 15m | 21.079.00 +1000 Hz | 21.071.00 +1500 Hz | 21.083.50 +1500 Hz |
| 12m | 24.919.00 +1000 Hz | 24.921.00 +1500 Hz | 24.922.50 +1500 Hz |
| 10m | 28.119.00 +1000 Hz | 28.121.00 +1500 Hz | 28.083.50 +1500 Hz |
Dial frequencies in MHz; the offset is the audio frequency where the cursor goes. PSK dials sit 1 kHz below the usual PSK31 calling frequencies; Olivia dials 1.5 kHz below the published Olivia calling channels, and MFSK16 and MFSK32 share them, because no current band plan publishes MFSK channels (the button's tooltip names the submode); RTTY dials are parking spots inside the ARRL RTTY/data segments, with the cursor on the pair's centre. Without CAT, the same table works by hand: set the dial, then click the offset on the waterfall.
Rig Control (CAT)
Verified on the Elecraft K2; ten more rigs are provisional. Rig control has been tested on the air on the K2 only. The K3, K3S, K4, KX2, KX3, TS-480HX, TS-480SAT, TS-590S, TS-590SG and TS-890S are DigiMode's best effort from flrig and Elecraft's programmer's references, not yet tried on a real rig. Pick your rig in the Rig list before you connect. With a rig that is not on the list, do not connect its CAT port: some commands mean something different, or something unwanted, on another rig - even one that speaks a Kenwood-style command set. Use DigiMode for audio only, or key such a rig by a line with No rig control (PTT only) (see Transmit). A report of how a provisional rig behaves is very welcome.
| Choosing the rig | The Rig list in the Rig panel names every rig DigiMode has a definition for, with the K2 first. It is locked while connected, and the browser remembers the choice. The definitions come from WA5PB's RigDefs project and are built into the page. |
|---|---|
| Link | Each rig at its own rate: the K2 at 4800 baud, 8 data bits, no parity, 2 stop bits (8N2), to its KIO2 serial port; the K3, K3S, K4, KX2 and KX3 at 38400; the TS-480s at 57600; the TS-590s and TS-890S at 115200 - all of them 8N1. On the Kenwoods the rate is a menu setting - set the rig to match. On a computer the link is Web Serial; on an Android phone it is WebUSB, and the K2 only for now. Connect picks the path by platform. |
| Flow control | Always off, and RTS and DTR held off, for every rig - on many interfaces RTS keys the transmitter, and with hardware flow control the operating system would drive it. A Kenwood whose COM port expects RTS/CTS may need its flow control turned off to answer (not yet tried on a real Kenwood). |
| Choosing the port (computer) | The browser lists every serial port the computer has - what Windows shows under Ports (COM & LPT) in Device Manager: a Digirig, a USB-serial adapter (FTDI, Prolific, CH340 or Silicon Labs), the computer's own built-in COM port, or a paired Bluetooth serial port. Pick the one wired to the rig's CAT jack. A wrong choice does no harm: DigiMode asks the rig to identify itself and says so if it does not answer as expected - as advice, never a refusal. Avoid a Bluetooth port whose device is not switched on and in range - opening it can stall for some seconds. The status line names the port's USB VID:PID, or says "non-USB". |
| Wiring (K2) | A USB-serial adapter must be RS-232 level, not a 3.3 V or 5 V TTL board, and only transmit, receive and ground - DE-9 pins 2, 3 and 5 - should reach the K2. Use a cable built to the Elecraft KIO2 manual, which warns against any pre-assembled cable between the KIO2 and a computer. The kit's own cable joins pins 7 and 8 (an RTS/CTS loop-back) at the computer end only; at the K2 end, pins 7 and 8 are RF Detect and the DC supply. (Elecraft, KIO2 Aux I/O Module manual, Rev. C, pp. 13-14.) |
| On Linux | Join the dialout group and reboot first - see
Computer, Phone and Browser. Without it the port cannot be opened, and
Connect names the dialout group and the fix. A computer's built-in DE-9 COM port works: tested on a
Debian 13 laptop, where the status line shows it as (non-USB). |
| On an Android phone | Rig control on a phone is for the K2 only for now. Plug the serial adapter into the phone's USB-C port, press Connect and choose it from the list. Three USB-serial chips connect directly this way: the Silicon Labs CP210x in the Digirig (USB vendor ID 10C4), the FTDI FT232R (0403:6001 - for example FTDI's US232R cable) and the MCT U232 (050D:0109 - the Belkin F5U109/F5U409). An FTDI or Belkin adapter carries only the serial link, so for receive audio put it and a Digirig (or another USB sound interface) on a USB hub between the phone and the rig - the phone has one USB port. Other chips (CH340, CP2105, PL2303) are not supported on a phone yet; on a computer any serial port works. A K2 reached through a Bluetooth serial adapter can be chosen with Use a serial or Bluetooth port instead (not yet tested). |
| PTT lines | RTS and DTR are held off while the port is open - on a phone, switched off before anything is sent, on every chip - except while transmitting on a computer, when the line chosen under PTT keys the rig. That suits an interface that keys the rig from either line, but not one that takes its power from them. Rig control itself never keys the transmitter. |
| Unplug and Reconnect (phone) | Pulling the serial adapter stops rig control with a message; the audio stops only if its own input goes away - a Digirig carries both, an FTDI or Belkin adapter only the serial link. When the same adapter is plugged back in, a USB serial adapter is back - Reconnect banner brings rig control back with one tap, with no port picker, and the audio too if it had stopped. |
| K2 firmware | K2 firmware 2.04 or later. DigiMode asks the K2
"are you transmitting?" (TQ;) before every command, and that command arrived in
2.04. Developed on firmware 2.04P. The K2 is tuned from 1.5 to 30 MHz. |
| On connect | K2: reads the rig's state first
(Auto-Info mode, command mode, ID, frequency and mode, display), then sets Auto-Info mode 1 so
the K2 reports frequency and mode changes itself; there is no polling. Other
rigs: read the rig's ID, frequency and mode; the other Elecrafts have Auto-Info set off
(AI0;), the Kenwoods are not asked for it. |
| Traffic | K2: one display read (DS;)
every 15 seconds as a heartbeat, which also refreshes the LCD mirror. Other
rigs: frequency and mode read (FA;, MD;) once a second.
DigiMode cannot ask these rigs whether they are transmitting, and gives them no tuning range of
its own: any frequency is sent, and if the rig refuses it or goes elsewhere the page says so. The
heartbeat or the polling is held for the length of a transmission. If the rig stops answering,
the link says so. |
| Controls | Dial entry, step buttons (10 Hz, 100 Hz, 1 kHz), QSY to
cursor, band presets, and the mode list - DATA first, the rig's own mode for
sound-card digital (USB on the K2 and TS-480s; DATA A on the other Elecrafts; USB-D on the
TS-590s and TS-890S, with DA0; sent when another mode is picked, or the rig's
microphone stays off), then USB, LSB, and RTTY-R where the rig has it. The K2 also has a mirror
of its LCD with a DISPLAY button, a PRE / ATT / OFF button, and the antenna and preamp readouts;
these appear for the K2 only. The K2 tunes in 10 Hz steps. |
| Allowed commands | DigiMode can send only the commands it uses. For
the K2: AI K2 ID IF DS TQ FA MD PA RA RX and the DISPLAY switch SW02,
refused while the rig reports transmit. For every other rig, a fixed list of exact command forms
of its own, checked a second time against the rig's definition. Commands that can key a rig -
its transmit command, a tuner start, VOX - are refused for every rig. On the ten rigs beyond the
K2, VOX (and on the Kenwoods a tuner start) is also refused by the rig's own definition, a
second lock behind the list. |
| On disconnect | Sets Auto-Info back to off (AI0;) on the
K2 and the other Elecrafts (a Kenwood is left as it is), and releases the port. Only one program or browser tab can hold a serial port at a time. |
How DigiMode uses Web Serial, and what was learned on the air, is written up in Web Serial for Rig Control.
Transmit EXPERIMENTAL
Your station, your responsibility. Transmit is new and experimental. At WA5PB's station it has been tested on the Elecraft K2 into a 15 W dummy load at very low power - not yet on the air. Try it into a dummy load first, start with the Level low, and watch the rig's ALC and power. You are the control operator, responsible for everything your station sends, under FCC Part 97 or the rules of your own country.
| Where | On a computer. A phone has no transmit in this version: there is no way to key the rig over WebUSB, so the transmit strip is hidden there. |
|---|---|
| Modes | Whatever the decoder is set to: PSK31, PSK63, RTTY, Olivia 8/250 or 8/500, MFSK16 or MFSK32. RTTY is sent as audio tones (AFSK) - set the rig to USB, LSB or DATA, not its own RTTY/FSK mode. The tone order follows the rig's sideband. |
| Enable transmit | The transmit strip sits under the text pane. Enable transmit is off every time the page loads and is never remembered; unticking it during a transmission stops it at once. |
| PTT | RTS (the Digirig and most interfaces) or
DTR - a line of the serial port, so Connect in the Rig panel first - or
VOX, where the audio keys the rig and no line is touched. DigiMode never keys
a rig by a CAT command. To unkey it drops the line, then sends the rig's receive command
(RX;) where CAT is connected. |
| No rig control (PTT only) | An entry in the Rig list for a rig that is not on it: the port is opened only to key the rig by RTS or DTR, and no bytes are sent on it - for a keying-only port such as microHAM Router's PTT port. |
| Output and Level | Output is where the transmit audio goes - the interface's USB audio device. It is Default output until you choose one; DigiMode does not pick a device for you, and in a browser that cannot choose an audio output, Default output is what is used. The list is read with the input list, so start the sound card before connecting the rig. Level runs from -40 to 0 dB (-20 dB to start): set it so the rig shows little or no ALC. On the K2, through the Digirig, the rig's ALC held its set power across most of the range in testing, so set the power at the rig as well as the Level. |
| Sending | Put the cursor where you want to transmit - the middle of
the signal you are answering, or a clear spot - type, and press Send (or
Ctrl+Enter). The cursor is the transmit frequency and is held, with the decoder mode and the rig
controls, until the transmission ends. The whole signal must sit inside 200 to 2800 Hz of audio,
or Send says where to put the cursor. Text typed while sending goes out as the transmission runs,
and what has gone out is shown in the text pane after [TX]. RSID
first sends the mode's ID burst (about 2.3 s) before the text. |
| Ending | With Unkey when text is sent ticked (the default, remembered) the transmission ends once everything typed has gone out. Unticked, the mode's idle is sent and the rig stays keyed until End transmission, as fldigi does. End transmission sends what is typed and the mode's closing, then unkeys; pressed again it stops after the current block (Olivia) or character. Abort, or Esc anywhere on the page, unkeys at once. |
| Safeguards | A transmission is ended cleanly at the Longest transmission length (1 to 10 minutes, 5 by default), with a 30-second warning. If no key is pressed and nothing is clicked for 2 minutes, a 30-second "still there?" countdown starts, and then the transmission is ended. An end that does not finish within 10 seconds is cut. These run on the transmit audio clock, so a hidden or minimised tab keeps them. Closing the page, unplugging the serial port or losing the audio output unkeys; if the browser itself dies, the port closes and the line drops with it. |
| While transmitting | Receive is muted from Send until 1.5 seconds after unkey, so DigiMode does not decode its own signal, and the waterfall shows a dark band marked TX. RTTY, Olivia and MFSK are constant-power modes: reduce the rig's power for long transmissions. |
| Connecting | Opening a serial port raises RTS for a few milliseconds before DigiMode drops it (Windows and Linux both do this), so a rig may click into transmit and out again as you connect. Leave the rig in receive when connecting, and with an amplifier keyed from the rig, put it in standby while you connect. |
| Checked against fldigi | Recordings of DigiMode's transmit audio in all seven modes, with RSID, were played into fldigi 4.2.13, and fldigi copied each one. In Olivia 8/500, some earlier test recordings lost whole blocks in fldigi for a reason not yet found; v1.16.0's own recording copied whole (the transmitter is unchanged in v1.16.1). On-air reports are welcome. |
Testing Without a Rig
Everything except rig control can be tried with no radio at all.
- Generator (the Generator tab): type text and press Send to waterfall. It sends in the selected mode (PSK31, PSK63, Olivia 8/250 or 8/500, MFSK16 or MFSK32, or RTTY) at an audio frequency from 200 to 2800 Hz and moves the cursor onto it. Add band noise sends the signal 20 dB lower - roughly 0 to 6 dB S/N in 3 kHz - so it looks like a station on the air. RSID first sends the mode's ID burst before the text.
- Audio files (the Audio file tab): WAV, MP3, OGG, FLAC, M4A or anything else the browser can decode, at any sample rate. Loop is on by default. Listen through speakers lets you hear it.
- Known-good recordings: if you run fldigi, have it transmit known text into a recording and play the file into DigiMode - that is how DigiMode's own reference files were made, and a clean file in any supported mode should copy exactly. For real band audio, public KiwiSDR receivers can record a USB passband to a WAV file.
- Your own station audio: a recording of your receiver made with any audio program is a fair test of your levels and of what DigiMode makes of your band.
Experimentation UNTESTED IDEAS
Nothing in this section has been tested at WA5PB's station. These are starting points for testers who like to try things. If you try one, please report what worked and what did not - that is how the next version gets better.
A phone with the Digirig is no longer an experiment: it was tested at WA5PB's station with v1.10.0 and is described in the sections above. What follows is what remains untried.
The provisional rigs
- Ten rigs are untried: the Elecraft K3, K3S, K4, KX2 and KX3 and the Kenwood TS-480HX, TS-480SAT, TS-590S, TS-590SG and TS-890S. A report from a tester with one of them - did it connect, follow the dial and mode, take a band button and the DATA mode - is what moves a rig from provisional to verified.
- Kenwood flow control: DigiMode always opens the port with flow control off. Whether a Kenwood set for RTS/CTS answers that way, or needs its own flow control turned off, has not been tried.
Phone or tablet - audio without a Digirig
- Audio only: without a supported USB-serial adapter (or the untried Bluetooth route below) there is no rig control from the phone - and on an iPhone or iPad there is none at all. Tune and change bands at the radio, and use the band preset table as a guide.
- Getting audio in: a USB-C audio adapter, or a USB sound card interface the phone recognizes, is the simplest path. With a 3.5 mm headset jack, most phones use the four-pole CTIA (TRRS) wiring - tip left, first ring right, second ring ground, sleeve microphone - so rig audio must reach the microphone contact, not the earphone contacts.
- Level: a phone microphone input expects a few millivolts; a rig's speaker or headphone output is far hotter. Expect to need a resistive attenuator, and start with the rig's volume low.
- Isolation: a 3.5 mm ground-loop isolator between rig and phone can quiet hum, especially with the phone on its charger.
- Phone processing: DigiMode asks the browser to turn off its own echo cancellation, noise suppression and gain control, but a phone may apply processing of its own regardless. If copy is poor on a clean signal, suspect that first.
Other phones and links
- Other Android phones: only a Google Pixel 8a has been tried. Some phone makers bind a USB serial chip to a driver of their own, which may keep Chrome from reaching it.
- A Bluetooth serial adapter on Android, chosen with "Use a serial or Bluetooth port instead", has not been tried.
Transmit beyond the bench
Transmit has been tried at WA5PB's station only on the K2, keyed by RTS through the Digirig, into a dummy load. Everything below is untried there.
- On the air: no on-air transmission from DigiMode has been made at WA5PB's station yet. A report of what a receiving station - or fldigi, or a KiwiSDR recording - copied is especially welcome, above all in Olivia 8/500.
- DTR and VOX keying have been checked only by DigiMode's own test suite, not at a rig.
- VOX: with VOX, any sound the computer makes on that output is transmitted - notification tones, other programs. Silence them, or give the rig's interface an output of its own. Set the rig's VOX delay long enough to hold through a mode's quiet moments, so the rig does not drop out mid-transmission.
- Other interfaces and rigs: a SignaLink-style box, a microHAM interface (with No rig control (PTT only) on its PTT port), or a rig's own USB audio and serial ports. Check which line keys the rig with the Level at its lowest and a dummy load first.
Known Limitations and What's Next
Limitations in v1.16.1
- Transmit is experimental, on a computer only, and has been tested into a dummy load only.
- Rig control is verified on the Elecraft K2 only; the other ten rigs are provisional. On a rig other than the K2 DigiMode cannot ask whether the rig is transmitting, and sends any frequency (the rig's own limits apply).
- Rig control on a phone is for the K2 only. On an Android phone, only adapters with a Silicon Labs CP210x (the Digirig), FTDI FT232R or MCT U232 (Belkin F5U109/F5U409) chip connect directly; CH340, CP2105 and PL2303 not yet. iPhone and iPad: audio only.
- The FTDI and Belkin adapters on a phone were tested at WA5PB's station only; no Beta report from a tester using one has come in yet.
- Olivia in 8/250 and 8/500 only; MFSK in 16 and 32 only (MFSK8, MFSK11, MFSK22, MFSK64 and MFSK128 are listed by RSID, not decoded); RTTY at 45.45 baud and 170 Hz shift only.
- MFSK, as found in testing: a station 30 dB stronger within about 260 Hz of the cursor (520 Hz in MFSK32), or 20 dB stronger within 240 Hz, can cause errors; keyed CW inside an MFSK32 signal can print a few stray characters; a steady carrier inside the band as strong as the station costs about one character in ten; and a click near an FT8 signal can snap onto it - click on the MFSK signal itself.
- MFSK has been tested with fldigi's recordings, the generator and a quiet band; no live MFSK station has been copied on the air yet.
- RSID: the second part of an extended ID is not read; IDs for modes DigiMode cannot decode are listed, not tuned.
- Band presets assume USB; on LSB the signal lands on the other side of the dial.
- No 60 m preset.
- The sound-card device lists (input and output) are not refreshed while the rig is connected.
What's next
- THOR (with FSQ) next, built with its transmitter - every new mode now arrives able to send as well as receive; then Feld Hell and CW.
- More rigs in time: the Kenwood TS-990 and Icom's CI-V family are on the list.
Reporting Problems
Please report problems, and successes, to WA5PB. A report is most useful when it gives:
- the DigiMode version (top of the page);
- the browser and its version, and the operating system - on a phone, its make and model and the Android or iOS version;
- the audio source and interface, and the rig if one is connected - with a provisional rig, its serial settings and what the Rig panel's messages said;
- the mode, and what you expected against what happened;
- for transmit, the PTT method (RTS, DTR or VOX), the Level, and what a receiving station or program copied;
- a screenshot of the whole DigiMode window - the waterfall shows a great deal;
- for a decoding problem, a short WAV recording of the signal, if you can make one.
Thank you for testing. 73.