21
November
2022
FLdigi is a program for digital modes and CW. Part 2 - initial setup
15:32

FLdigi is a program for digital modes and CW. Part 2 - initial setup

21 November 2022 15:32

After installation, launch the program. The wizard will prompt you to make preliminary settings for FLdigi.

The setup wizard can be interrupted at any step.

Where is the FLdigi configuration stored?

After the first launch, a hidden folder will be created in the user's directory with the name .fldigi.
If you want to keep a copy of the original configuration, make a copy of it:

cd ~
cp -R .fldigi .fldigi.BAK

FLdigi Setup Wizard

Screen 1. Information
fldigi1

Screen 2. Call sign and name!
fldigi2

Filled out:
fldigi3

Screen 3. Selecting an ALSA sound card or PulseAudio server.
fldigi4

Screen 4. The preferred method of controlling the transceiver in FLdigi is using a utility flrig, which is included in the fldigi package.
fldigi5
The default IP address is 127.0.0.1 (localhost) and port 12345

Screen 5. Check the box if the transceiver is controlled using RigCAT
fldigi6

Screen 6. Check the box if the transceiver is controlled using HamLib
fldigi7

Screen 7. (It is not necessary to fill in). Links to sections of the W1HKJ.com website with frequencies of weather stations and buoys.
fldigi8

Screen 8. Main window of the fldigi program
fldigi9

The program settings are in the menu Configuration - Config dialog.
To change the location of the macro buttons, go to the settings section UI - Macro buttons

Instead of default 1 line under the waterfall,
config1

specify a new layout option -Two lines, scheme 2:
fldigi0

Russification of reception/transmission

If, when receiving free text from Russian-speaking radio amateurs, unreadable characters are visible, you need to include
Configuration - Config dialog - Configure - Colors-Fonts - Character set -CP1251(instead of UTF-8).
CP1251 . Now you can transmit text in Russian in PSK31 digital mode to radio amateurs from Russia and the CIS countries.

In the telegraph, the use of Russian letters is only when transmitting text from a telegraph key:
Ы (Yy) = Y
Щ (SC) = Q
Э (Eh) = ..-..
Ю (YU) = ..--
Я (YA) = .-.-

Setting up reception/transmission via COM port or CAT commands

In CAT interfaces, transmission is carried out either through a COM port or using CAT commands.

For control, the first of two COM ports is used, with a speed of 9600 or 38400 baud.

To be able to change the COM state for CW transmission on the second port,
you need to give permission, as written in the wiki article linux_serial_howto:

sudo adduser (username) dialout

If you are using a USB-COM adapter, you need to check whether the adapter chip is recognized when the system boots, which is also described in the article above, in the USB->RS232 adapters section.

COM-port will be called /dev/ttyUSB0. If there is a second COM, then its name in the system is /dev/ttyUSB1.

You can display the available COM ports in the operating system with the command:

 ls -l /dev/ttyUSB*

Three ways to control the transceiver - Flrig, RigCat and Hamlib

FLrig- the preferred and most common way to control the transceiver (transceiver) when using FLdigi.
Flrig is an external service program running via TCP port 12345, which also has a graphical interface for setting and displaying the frequency. Not installed by default, for installation and configuration enter the commands:

sudo apt-get update
sudo apt-get install flrig
flrig

The flrig program must be run before or at the same time as fldigi. For this. there is a setting in the configuration "Misc" - "Autostart", where you can specify in the item flrig path to the program:/usr/bin/flrig and check the box turn on.

RigCat- another control method built into the FLdigi program. RigCat is a transmission controller using CAT commands. Settings files are available for various transceiver models -on the sourceforge website - fldigi - files - xml. The XML file for the radio station must be placed in a folder .fldigi/rigs(full path to folder:/home/(username)/.fldigi/rigs).
Then run fldigi and select the control method in the settings Configuration - Config dialog - Configure - Rig control

  • CAT (rigcat) - Check the box use RigCAT, transceiver control file - select:.fldigi/rigs/(transceiver model).xml- Open.
    Check the box cat commands for PTT (for Yaesu FT-857D). Press the button "Activation".

    Hamlib- a constantly updated library with support for many models of amateur transceivers, familiar from previous articles about APRS. Project home page with links to resources:
    *https://hamlib.github.io/
    If using HamLib, disable other controls in the "Rig Control" menu and check the corresponding "Hamlib" item: use HamLib.

    Hardware PTT- a hardware method of generating a telegraph (CW) by changing the voltage on the contacts of the computer’s COM port. To start transmitting a dash or dot, a high voltage level of +5V is used at the RTS and DTR outputs on the second COM port. In this case, you need to enable Use separate serial port PTT, select a combination of the Use RTS and Use DTR checkboxes so that the transceiver switches to transmit mode when executing the TX command in the program. This method is suitable for CW modulation if the CAT interface is homemade and the transmission is controlled by the levels on the RTS and DTR pins. The +5V voltage from the COM port output can be inverted in a homemade circuit using a single transistor, causing the PTT contact to ground to zero, which will lead to the start of transmission (the transistor is used in switching mode instead of a relay).