Guest Post: Decoding WEFAX using an RSP SDR and SDRuno

Many thanks to SWLing Post contributor, Mike Ladd with SDRplay, who shares the following guest post:


Basics to decoding WEFAX using an RSP and SDRuno

by Mike Ladd

SDR I use:
RSPduo from SDRplay using the Hi-Z input. Any model RSP’s can tune WEFAX transmissions. https://www.sdrplay.com/rspduo/

Antenna I use: Megaloop FX from Bonito. In an Inverted delta loop configuration pointed N/E-S/W. Any good antenna placed outdoors should be fine. It’s all about the SNR, not your S-meter reading. https://www.bonito.net/hamradio/en/mega-loop-fx/

Software:

SDRuno v1.32
SDRuno is an advanced Software Defined Radio application platform which is optimized for use with SDRplay’s range of Radio Spectrum Processing receivers.
https://www.sdrplay.com/downloads/

VBcable (donationware) vPack43
Transfers audio, digitally from one application (SDRuno) to another (Black Cat HF weather Fax) with zero loss.
https://www.vb-audio.com/Cable/

VAC (paid for use) v4.60
Transfers audio, digitally from one application (SDRuno) to another (Black Cat HF weather Fax) with zero loss.
https://vac.muzychenko.net/en/
https://www.sdrplay.com/docs/SDRuno_VAC.pdf

Black Cat HF Weather Fax (paid for use) beta 19
Decodes and produces images from the WEFAX transmissions from the output of SDRuno using a virtual audio cable.

Use the discount link available here
http://blackcatsystems.com/register/black_cat_hf_weather_fax_sdrplay_promo.html
https://www.blackcatsystems.com/software/hf_weather_fax.html

Black Cat Uno UDP
UnoUDP allows you control SDRuno’s VFO frequency from within Black Cat HF Weather Fax scheduler. This is done over a virtual com port pair using a virtual com port emulator. http://blackcatsystems.com/download/UnoUDP.zip

VSPE or COM0COM
VSPE is a paid for use app. COM0COM is completely free. Either one of these applications will work. A virtual com port emulator allows you to create a virtual com port. The pair will internally link Black Cat Weather Fax decoder to SDRuno’s using UnoUDP as the transport protocol.

VSPE http://www.eterlogic.com/Products.VSPE.html
https://www.sdrplay.com/docs/SDRuno_VSPE.pdf

COM0COM http://com0com.sourceforge.net/
https://youtu.be/dZg7puQ9Ajk

Introduction:

(some text taken and edited from various website)

This document is not a definitive guide to the WEFAX protocol, the process of decoding WEFAX images or reading a synoptic weather chart https://youtu.be/kzfNSvQREu8. This is only a collection of information that I have found scatter throughout the internet and re-compiled into a document, this document. Expect typographical mistakes, inaccuracies, or omissions.

WEFAX is an analog mode for transmitting monochrome images. It was the predecessor to slow-scan television (SSTV). Prior to the advent of the commercial telephone line “fax” machine, it was known, more traditionally, by the term “radio facsimile”.

Facsimile machines were used in the 1950s to transmit weather charts across the United States via land-lines first and then internationally via HF radio. Radio transmission of weather charts provides an enormous amount of flexibility to marine and aviation users for they now have the latest weather information and forecasts at their fingertips to use in the planning of voyages.

Radio fax relies on facsimile technology where printed information is scanned line by line and encoded into an electrical signal which can then be transmitted via physical line or radio waves to remote locations. Since the amount of information transmitted per unit time is directly proportional to the bandwidth available, then the speed at which a weather chart can be transmitted will vary depending on the quality of the media used for the transmission.

Radio fax data is available from the web on sites such as the ones hosted by the National Oceanic and Atmospheric Administration (NOAA). https://tgftp.nws.noaa.gov/fax/marine.shtml Radio fax transmissions are also broadcasted by NOAA from multiple sites in the country at regular daily schedules https://www.nws.noaa.gov/os/marine/rfax.pdf. Radio weather fax transmissions are particularly useful to shipping, where there are limited facilities for accessing the Internet.

Black Cat HF Weather Fax is a program that decodes WEFAX (Weatherfax, HF-FAX, Radiofax, and Weather Facsimile) transmissions sent from fixed locations around the globe.

A fax is transmitted line by line, typically at a rate of 120 lines per minute, or half a second per line. For example, to send a weather chart, you would start in the upper left corner. You would send the value of that pixel (dot), black, white, or perhaps a shade of gray. Then you would move over one pixel to the right, and send that pixel, and so on, until you reach the edge of the chart. Then you’d move all the way back to the left edge, and move down slightly, one line, and repeat the process.

Each pixel is converted into a certain audio frequency or tone. By convention, a tone of 1500 Hz represents black, 2300 Hz represents white, and frequencies in-between represent shades of gray. So if you listen to a fax transmission, you’ll hear the different tones as each pixel is present. For example, listen to a chart with mostly white background being sent. You’ll hear mostly the high pitch 2300 Hz, and some lower (1500 Hz) blips as each black pixel is sent. When a horizontal line is sent, you’ll hear a long half second burst of 1500 Hz, since the line is all black.

The transmitting station frequency modulates the carrier. That is, when a black pixel is transmitted, the carrier shifts down 400 Hz. When a white pixel is transmitted, the carrier shifts up 400 Hz. For a medium gray pixel, it stays on the assigned frequency. This is how most fax transmissions are made. Since we’re tuning it in SSB, it sounds to us as if the station is transmitting a variable frequency audio tone. The two processes are identical. This accounts for the confusion regarding what frequency to tune the radio to in order to properly decode the fax transmission. Different stations list their frequency in different ways. It is important to remember that a black pixel produces a 1500 Hz tone, and a white pixel produces a 2300 Hz tone within the AUX SP.

The setup works as follows. SDRuno demodulates the received signal. The demodulated audio is piped from SDRuno using virtual audio cable and sends it to the HF weather fax decoder. HF weather fax decoder receives this audio from the virtual audio cable that was demodulated from SDRuno and processes it, producing a picture on the screen

HF weather fax decoder can also set the VFO (tune) frequency of the RSP in SDRuno. This is done over the virtual com port pair using the UnoUDP application as the transport.

SDRuno can internally emulate a Kenwood TS-480, UnoUDP sends the Kenwood TS-480 serial commands via UDP over the virtual com port pair in order to set the frequency selected from the HF Weather Fax Scheduler option over to SDRuno.

You will need to install and configure the following applications.

1: A virtual audio cable.

2: A virtual com port emulator (If you would like HF Weather fax to communicate with SDRuno).

3: UnoUDP (If you would like HF Weather fax to communicate with SDRuno using the virtual serial emulator).

4: HF Weather Fax.

5: A simple wire antenna placed outdoors.

Virtual Audio Cable:

A virtual audio cable allows you to pipe the audio from one application (SDRuno) into another application (a decoder like HF Weather Fax) digitally. I will assume SDRuno is already installed with your device attached and functioning properly.

You can now download a virtual audio cable package.  If you already have a virtual audio cable package installed, you can skip to the next section. If you don’t have a virtual audio cable application installed, you only need to choose one and install only one of the two that are available.

Close any running apps, install the virtual audio cable and reboot your computer. When your computer boots to your desktop, your computer will now have a virtual audio cable pair installed on the system.

You can verify it the installation by going to your Control Panel and double clicking the Sound icon. VB-Cable and Virtual Audio Cable will only install a single virtual audio cable pair, one is for the input (Recording) and one is for the output (Playback). A single pair is all that is needed (as shown below).

Virtual Serial Port:

A virtual com port emulator is only needed if you would like Black Cat HF Fax decoder the ability to tune the station in SDRuno when you double click a station name in the HF Fax Decoder scheduler.

Please use the links provided (additional PDF’s and YouTube videos) on Page 2 of this document for an installation / configuration walkthrough.

You can download my WEFAX frequency bank for use in SDRuno below should you choose not to use a virtual com port emulator. https://signalsacrossthepond.com/download/mike-kd2kog-sdrplay-complete/

Download Black Cat HF Weather Fax and UnoUDP:

Download the latest HF Weather Fax beta package and the UnoUDP application from the link provided on Page 2 of this document. I suggest making one main folder called HFfax and two subfolders within HFfax for each of the applications. One folder is for the HF Weather Fax Decoder and the other folder is for the UNO UDP transport application.

Double click the HF Weather Fax beta ZIP file you downloaded and extract the full contents of this ZIP into the folder you created on your local drive. Right click the “Black Cat Weather Fax” EXE file and send a shortcut to your Desktop.

Double click the UnoUDP zip file you downloaded and extract the full contents of this ZIP into the folder you created on your local drive. Right click the “UnoUDP” EXE file and send a shortcut to your Desktop.

You should have two shortcuts on your desktop, One for the decoder and one for the transport app.

Black Cat UnoUDP:

HF Weather Fax needs a way to communicate with SDRuno, this is done via UnoUDP and the virtual com port emulator.

Launch UnoUDP with the above configuration. Set your UDP Receive port to 58084 and your UDP send port to 58083. UnoUDP must be left running in the background, this will control SDRuno. You can minimize the application or right click the shortcut and have UnoUDP auto minizine on launch.

You should see a Firewall popup prompt asking permission to allow UnoUDP to pass data within the system. You must allow this traffic to pass or external control of SDRuno will not be possible from the HF Weather Fax decoder scheduler.

Assign 1 of the 2 com ports from the virtual com port emulator to UnoUDP (the 2nd com port will be assigned to SDRuno).  My com port pair is Com 1 and Com 2, SDRuno uses Com1 and UnoUDP uses Com 2.

Black Cat HF Weather Fax:

HF Weather Fax needs to be configured in order to communicate with UnoUDP, this is done via the UDP settings. Click “Edit” and “Preferences” Set the UDP Send port to 58084 and the UDP Receive port to 58083.

You should see a Firewall popup prompt asking permission for HF Weather Fax to pass data within your system. You must allow UDP traffic to pass or external control of SDRuno will not be possible from the HF Weather Fax decoder scheduler.

SDRuno:

SDRuno needs its Output assigned to the Virtual Audio Cable. The output can be changed via the RX CONTROL panel, clicking the SETT. button on the top left and clicking the OUT tab.

SDRuno needs a com port assigned so it can be externally controlled. The serial port is assigned via the RX CONTROL panel, clicking the SETT. button on the top left and clicking the CAT tab.

I recommend running the RSP in LOW-IF mode, this is selected via the MAIN panel. This reduces the need to track separation between the Tuned frequency and LO (local oscillator) https://youtu.be/Fsns4P3JxrM

LOW-IF mode also minizines the LO being placed outside of the desired preselect filter of the device in use, Remember the preselect filter is automatically enabled based on the LO frequency https://youtu.be/w-vkiVp7Q4E

I also recommend leaving the IF AGC enabled and placing the RF GAIN as high as possible without causing an ADC OVERLOAD warning within the MAIN panel. If an ADC OVERLOAD warning appears, back the RF GAIN down.

https://www.sdrplay.com/wp-content/uploads/2018/06/Gain_and_AGC_in_SDRuno.pdf

Your first WEFAX decode (Using UnoUDP)

Launch UnoUDP and minimize it.

Launch Black Cat HF Weather FAX.

Launch SDRuno. Set the mode to USB and the filter width to 2.8k
HF weather fax will not set the mode or filter width at this time.

Click the Sked button in Black Systems HF Weather Fax. A current WEFAX transmission schedule will appear. Stations listed in White are either scheduled to transmit or about to transmit based on your computers clock. Stations show in Grey at the bottom of the list are currently off the air or not transmitting.

In the Freq Offset: box enter -1.9 and hit enter (Reason for this is on Page 5).

Click any of the stations listed in the Fax Transmission Schedule and it will automatically tune SDRuno to the correct frequency.

Black Cat HF Weather Fax folder will have a file named “Black Cat HF Weather Fax Docs” Please view this file to understand some of the advanced features available.

Your first decode (Without UnoUDP)

Launch Black Cat HF Weather FAX.

Launch SDRuno.

Navigate to the Memory Panel (MAIN panel and click the MEM PAN button)

Right click the Memory panel and select “Open bank”. Navigate you C drive telling SDRuno the location of WEFAX.s1b

Double click any of the frequencies shown within the WEFAX bank and SDRuno will set the correct mode and tune that station.  My WEFAX.s1b file defaults to the Hi-Z port. If your device lacks a HI-Z input, navigate to the port section within the memory panel, double click the stations port you want to edit and change it to the correct port that’s available or in use for your device. Right click the memory panel and “Save bank” to save the changes.

To use my SDRuno WEFAX frequency bank properly. The MCTR button must be enabled within the RX CONTROL panel, enabling this option allows you to double click and tune a station that is stored within the WEFAX bank. Make sure the LO is not locked in the MAIN panel (LO LOCK).

If a decoded WEFAX image looks blocky or skewed or possibly pixeled, I recommend that the lock output fractional resampler option is enabled in SDRuno. You can enable this from the RX CONTROL panel, clicking the SETT. button on the top left and clicking the OUT tab.

I hope this document helped guide you in getting started with decoding WEFAX transmissions from around the world. I am sure I missed some key features, remember this is only a primer/basics to decoding WEFAX. I do have an accompanying video located here

https://youtu.be/vAYGVimzNX8

Warmest of 73,
Mike-KD2KOG

Disclaimers

SDRPlay modules use a Mirics chipset and software. The information supplied hereunder is provided to you by SDRPlay under license from Mirics. Mirics hereby grants you a perpetual, worldwide, royalty free license to use the information herein for the purpose of designing software that utilizes SDRPlay modules, under the following conditions:

There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Mirics reserves the right to make changes without further notice to any of its products. Mirics makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Mirics assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Mirics data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters must be validated for each customer application by the buyer’s technical experts. SDRPlay and Mirics products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Mirics product could create a situation where personal injury or death may occur. Should Buyer purchase or use SDRPlay or Mirics products for any such unintended or unauthorized application, Buyer shall indemnify and hold both SDRPlay and Mirics and their officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that either SDRPlay or Mirics were negligent regarding the design or manufacture of the part. Mirics FlexiRFTM, Mirics FlexiTVTM and MiricsTM are trademarks of Mirics .

SDRPlay is the trading name of SDRPlay Limited a company registered in England # 09035244.

Mirics is the trading name of Mirics Limited a company registered in England # 05046393


Do you enjoy the SWLing Post?

Please consider supporting us via Patreon or our Coffee Fund!

Your support makes articles like this one possible. Thank you!

Spread the radio love

DRM: a solution to the “medium-wave problem”–?

(Source: Radio World)

Is medium wave in decline? Some people think so.

In the 1950s radio was declared mortally wounded by TV. But then FM with its new music rescued it, becoming one of the most successful technologies and platforms ever. Radio survived and thrived but AM should have died at the hands of the nimbler, younger and more attractive FM.

Only it did not and the medium reinvented itself by using presenter-led programming, commercial music and sport. In the United States it took until the end of 1990s for the FM and AM audiences to be equal and to this day the big AM stations are going strong, bringing in the ad dollars.

REASONS

Still, it’s undeniable that the whiff of decline has enveloped AM in the past two decades. The reasons are well-known: Analog medium wave doesn’t always deliver the best sound, it can suffer from interference, it can behave annoyingly different by day and night and even by season. Medium wave mainly appeals to a maturing population (a global phenomenon, considered shameful by some!) using aging receivers (this is bad!).

[…]

THE SOLUTION

Recently cricket fans were able to enjoy an open-air demonstration of three different DRM programs on one frequency ahead of an important match in Bangalore. The fans also received data (stock exchange values) available on radio screens. This demonstrated that digital DRM is a game changer for medium wave.

In DRM the crackling audio disappears as sound is as good of that on FM. The electricity consumption and costs decrease, the spectrum is trebled and reception, even in cars (as available in over 1.5 million cars in India currently) is excellent, too.

If it is so good then why isn’t DRM medium wave conquering the world faster? Maybe it’s about confidence in a new platform. Broadcasters and governments need to market DRM digital radio once signals are on air in their countries.

As for receiver availability and their costs, let us remember how many receivers were on sale in the 1970s when FM was taking over the world. Nowadays, many listeners consume radio in their cars rather than sit in front of a retro looking wooden box. Digital receivers (DRM alone or DRM/DAB+) are a reality and a bigger push for digital would help with volumes sold thus bringing down the prices.[…]

Click here to read the full article at Radio World.

Spread the radio love

1990’s Japanese Satellite radio station St. GIGA

Many thanks to SWLing Post contributor, Justin Moore, who writes:

[I recently published a post] on the history of the 1990’s Japanese Satellite radio station St. GIGA (here http://www.sothismedias.com/home/the-lunar-phases-of-st-giga ). They were a station that played ambient music and nature recordings and other stuff whose programming schedule was based on the movement of the tides. Very innovative!

Wow! Thanks for sharing this Justin. I was not familiar with St. Giga. I hope readers will comment if they listened to St. Giga in the 90s.

Click here to read the full article on Justin’s website.

Spread the radio love

KUNC piece features WWV

Chief Engineer Matt Deutch at WWV/WWVB. (Photo: Thomas)

(Source: Southgate ARC via Eric McFadden)

Broadcaster KUNC reports that a little-known radio station in Fort Collins might one day save the world

An array of radio towers sits behind security fences amid farms and pastures north of Fort Collins. This is home to WWV, the country’s oldest radio call letters. The station’s high-frequency broadcasts can be heard around the globe if you have the right kind of radio.

Now playing: pulsing sounds, every second, followed by an announcement of the exact time.

The station is run by the National Institute of Standards and Technology in Boulder, which is home to the atomic clock. WWV is capable of more than telling time. It could, if need be, save the world.

“Could be,” said Elizabeth Donley, chief of NIST’s Time and Frequency Division. “It’s an important part of our work.”

This year the station conducted communications exercises in coordination with the Department of Defense. Thirty-seven states, National Guard units, emergency management agencies and others participated in simple announcements. They were meant to see how many listeners are out there and how far away they can be reached. The answer: there are thousands of listeners as far away as Australia and New Zealand.

Mark Jensen, a civilian planner with U.S. Northern Command, the military’s homeland security operation in Colorado Springs, called WWV a “most essential asset to our nation.”

Should an emergency arise, volunteers would jump into action. They’re part of a program the military dubs MARS, which stands for Military Auxiliary Radio System. While jokes abound that the operators should not be confused for Martians, their work is serious. It’s doomsday stuff, like responding to the aftermath of a nuclear attack because the associated electromagnetic pulse could wipe out most communications.

Listen to program and read the full story at
https://www.kunc.org/post/how-little-known-radio-station-fort-collins-might-one-day-save-world

Spread the radio love

Free download: A Tecsun PL-880 hidden features booklet

Many thanks to SWLing Post contributor, S. Thomas Bradley, who shares the following:

I just upgraded my receiver from my trusty old FRG-7 (I bought it new back in the 70’s) to a Tecsun PL-880. For my own benefit I have gathered together all of the PL-880 hidden features I could find on the web and put them into a booklet which I then printed out for easy reference and put a copy with the PL880 Operators Manual.

I don’t know if anyone else would be interested in this, but I thought I would share, so attached is a pdf copy.

Click here to download the PL-880 hidden features booklet.

Very well done!  Thanks for sharing your quick reference guide. I’ll also add a link to our PL-880 Hidden Features page.


Do you enjoy the SWLing Post?

Please consider supporting us via Patreon or our Coffee Fund!

Your support makes articles like this one possible. Thank you!

Spread the radio love

FTIOM & UBMP, October 13-19

From the Isle of Music, October 13-19:
This week, our special guest is award-winning clarinetist/saxophonist/composer Ernesto Vega, whose beautiful new Jazz album Tradition and Beyond features six winners of JoJazz, Cuba’s national competition for young Jazz artists.
The broadcasts take place:
1. For Eastern Europe but audible well beyond the target area in most of the Eastern Hemisphere (including parts of East Asia and Oceania) with 100Kw, Sunday 1500-1600 UTC on SpaceLine, 9400 KHz, from Sofia, Bulgaria (1800-1900 MSK)
If you don’t have a shortwave radio or are out of range, you can listen live to an uplink from a listening radio in the Netherlands during the broadcast at
http://websdr.ewi.utwente.nl:8901/?tune=9400am
2. For the Americas and parts of Europe, Tuesday 0000-0100 UTC (New UTC) on WBCQ, 7490 KHz from Monticello, ME, USA (Monday 8-9PM EST in the US).
If you don’t have a shortwave or are out of range, you can listen to a live stream from the WBCQ website.
3 & 4. For Europe and sometimes beyond, Tuesday 1900-2000 UTC and Saturday 1200-1300 UTC on Channel 292, 6070 KHz from Rohrbach, Germany.
If you don’t have a shortwave radio or are out of range, you can listen live to an uplink from a listening radio in the Netherlands during the broadcast at
http://websdr.ewi.utwente.nl:8901/?tune=6070am
Visit our Facebook page at https://www.facebook.com/fromtheisleofmusic/

Uncle Bill’s Melting Pot, October 13 and 15:
Episode 134, Alterlatino, is a mix of Punk and Ska from Puerto Rico, Rap Rock from Mexico, this and that from Colombia, and a couple of surprises.
The transmissions take place:
1.Sundays 2200-2230 UTC (6:00PM -6:30PM Eastern US) on WBCQ The Planet 7490 KHz from the US to the Americas and parts of Europe
If you don’t have a shortwave or are out of range, you can listen to a live stream from the WBCQ website.
2. Tuesdays 2000-2030 UTC on Channel 292, 6070 KHz from Rohrbach, Germany for Europe.
If you don’t have a shortwave radio or are out of range, you can listen live to an uplink from a listening radio in the Netherlands during the broadcast at
http://websdr.ewi.utwente.nl:8901/?tune=6070am
Visit our Facebook Page at https://www.facebook.com/UncleBillsMeltingPot/

Spread the radio love

Mediumwave DXing: Radio setup offers “cheap thrills”

Many thanks to SWLing Post contributor, Rich Stahl (WR3V), who shares his frugal but effective mediumwave DXing setup:

My MWBC directional reception on the cheap (see photo above):

Tecsun PL-310ET $40.85
Tecsun AN200 loop $12.95
Walmart Lazy susan $7.95
Cardboard box -0-

Total $61.75

Who says its an expensive hobby?

Indeed! That’s a very basic, yet very effective setup, Bill. Thanks for reminding us that this doesn’t have to be an expensive venture!

Spread the radio love