Enhancing Digital modes with Node Red

For a couple of weeks now I’ve been playing with Node Red to add functionality to my digital mode applications.

To get to know how it all works I initially used Node Red to create a series of dash boards for my servers and virtual machines to show realtime information on CPU temperature, CPU load, memory usage and storage etc.

Node Red Flow to collect information from a virtual machine (VM)

This worked very well and I was soon able to generate the information I needed in a palatable format. This was a great way to get to know Node Red flow building and introduced me to using gauge and graph nodes in flows.

The resultant Node Red Dashboard for one of my Virtual Machines

Once I had mastered creating dashboards for servers/virtual machines (VMs) I then started to investigate using Node Red to plot data from WSJT-X on a map.

I currently use the PSKReporter website to see stations that I hear on a map as WSJT-X sends the data to the site automatically however, this information is always 5mins or more old. For some time I’ve been wanting to see the information realtime as it is received and so I was hoping to be able to achieve this via Node Red.

Node Red has nodes available for a multitude of applications all easily installed via the Manage Palette menu in the flow editor.

I installed the WSJT-X Decode and World-Map nodes and set about building a flow to capture the data and plot it on a world map.

Building a Node Red Flow to decode WSJT-X data and plot it on a World Map

Putting the building blocks of the flow together is fairly straight forward and easily achieved using the excellent flow editor built into Node Red.

I configured WSJT-X to make the decode data available via UDP on port 2237 and then started the flow by creating a UDP node that connects to WSJT-X using the same port. The data immediately started flowing and I could see the information via a debug node.

I can’t stress enough how useful debug nodes are in Node Red. You can add debug nodes onto any output on any other node to capture the data as it flows. This gives you the ability to check what you’re getting is what you expected and also to see the format the data is in. The debug data is displayed in the debug panel on the right of the flow editor in realtime and gives you a great view of what is going on in your flow.

I decided to start with capturing the data for stations calling CQ as this was easily identifiable in the JSON object coming out from WSJT-X.

Passing the output from the WSJT-X-Decode node into a switch node I added a rule that filtered out data containing “type: “cq” and passed it onto the next switch node that created a payload consisting of the station callsign, maidenhead grid square and type so that it could be passed onto the next node for processing.

The next node in the flow is a function, this is where it gets a bit tricky. To be able to plot data on the map we need the Lat/Lon coordinates of the station making the CQ call. Since WSJT-X uses maidenhead locator data I needed to convert this to Lat/Lon coordinates before passing the data to the map node to be plotted.

Since Node Red is written in Java all the functions have to be written in javascript. The problem here is that I am not a javascript programmer and so this meant I’d need to learn yet another programming language. Unfortunately Node Red doesn’t allow functions to be written in C, Rust, Go or Python, all languages that I know well and after retiring from over 40 years in the UNIX/Linux/IT world my enthusiasm for learning yet another programming language has wained somewhat.

Being so close to having a working solution I pressed on and after much head scratching I finally put together some javascript that converts the maidenhead locator information in to good old fashioned Lat/Lon coordinates. I’m sure a seasoned Javascript developer wouldn’t be impressed with my code but, it works and does what I need and so I’m happy with it for the time being.

WSJT-X FT8 stations calling CQ on the 60m Band plotted on a Node Red World Map

Once I had the location information converted it was just a matter of passing the data to the world map node in the correct format for it to be plotted realtime.

As you can see on the screenshot of the map above, it worked extremely well with stations popping up as they were decoded by WSJT-X.

I now need to refine the data sent to the map so that it shows the frequency the station is calling on, the time they made the CQ call and the mode (FT8/FT4 etc) being used.. I would also like to add the distance from my QTH to the station calling CQ to round the information off however, this will mean writing another javascript function which, I’m not sure I want to dive into just yet.

I also need to add into the mix stations that aren’t calling CQ but, who’s callsign and grid square are passed on from WSJT-X. This will mean I will then be able to add to the map those stations that are actively working other stations and maybe I might even be able to show a line between the two stations that are in QSO.

This has been a fun but, steep learning curve however, it will certainly add some great functionality into my radio room and enhance my radio HAM addiction even further.

More soon …

All night DX fest!

Having just completed building my new radio shack I thought what better way to break it in than to do an all night radio session chasing the DX.

All nighters aren’t anything new for me, I did many an all night session low band DXing when we lived in France (F5VKM). Back then I had a massive cellar, part of which was a very well fitted out radio shack. With some very large antennas in our field out back I was truly spoilt with some great times on the 160m band in the dark winter months.

Now back in the UK and only just getting back into the hobby after a long break things are somewhat different. I now only have a typical small UK garden and only vertical antennas. Better than no antennas though!

The new radio shack is small compared to my super spacious setup in France but, it’s perfectly formed with all facilities.

For my over night radio session I decided to use my trusty Yaesu FTDX10, it has the best receiver I’ve ever used and is built to withstand the long haul operation.

Antenna wise I decided to use my 30m band EFHW vertical that can be tuned on most bands from 80m and upwards. I use a CG3000 remote auto tuner to match this antenna to the 50 ohm coax feed and it does a great job.

Being comfortably setup in the shack I tuned up on the 30m band and had a listen to see what shape the band was in.

Stations heard on 30m 10/11-07-22

Using FT8 I worked a bunch of European, Russian/Asiatic Russian stations with ease, the band was in fairly good shape albeit localised around Europe and Russia. Wanting to work stations a little further afield I decided to move up on to the higher bands. 12m is a band I really like but, always seem to miss when it’s open.

Tuning up on the 12m band using the same vertical that I was just using on the 30m band the FT8 section was packed with signals. At last, I’ve tuned up on the band when it’s open!

I suddenly noticed Bobby, VP8ADR down in the Falkland Islands in the WSJTX waterfall and gave him a call. He had a fair few people calling him and so I joined the list. In no time at all Bobby answered my call and we exchange SNR reports of -8dB both ways. This was surprising as later on one of the FT8 Facebook groups Bobby stated he was using 200w into a Hexbeam during our QSO, I was only using a measly 18w into my Vertical, I would had expected a much lower SNR report. Clearly Bobby’s setup was doing all the work!

Right after the QSO with Bobby I immediately went on to work PY7ZC, LU8YD, PY2ATI, LW6EQC, PY2EBD and PY2THO all in quick succession. With the Falklands, Brazil and Argentina in the log so soon it was looking like it was going to be a fun packed night.

Next up on the waterfall was 9Y4DG in Trinidad and Tobago and 8P6ET in Barbados, two really nice locations to get into the log and new ones on 12m for me.

Having worked all the DX I could hear on 12m and not wanting to just spend hours working endless European stations I tuned down onto the 17m band using the same vertical antenna. This antenna really does work well on bands it’s not designed for.

First 3 stations in the log on 17m were all from Japan, JR3NZC, JQ6RUP and JA5BDZ. With all 3 stations being well on the way to 6000 miles away this was a good start. The propagation strangely swung to the west and I got YV5DRN from Venezuela in the log.

Not seeing any other stations that I wanted to work I retuned back onto 30m again and found it was open to South America and the Caribbean.

In no time at all I had YV4CLF in Venezuela, HK2AQ in Colombia, NP4TX and NP3XF in Puerto Rico and PY7ZC in Brazil all in the log.

Being in complete darkness I decided to tune down on to the 60m band, one of my favourites, to see if there was much going on. Sure enough there were a few stations active on the limited space available.

First station worked was a new one for me FP/KV1J on St. Pierre and Miquelon Island just off the coast of New Foundland. I have to admit I had no idea where this little island was and confess to having to look it up on google maps.

I then went on to work a few East Coast USA stations all with good SNR reports for this time of year.

Stations heard on the 60m band 11-07-22

Having worked all the notable DX on 60m I tuned back onto the 17m which was now wide open to the world.

I stayed on this band for the rest of the night well into the morning grey line and beyond working some great DX including some new ones for me.

I worked many East Coast USA stations but, stations of note were 6Y5HN in Jamaica and AK6R, K6EU and K6EI in California on the West Coast USA. It’s rare for me to get into the West Coast USA for some reason.

UA0SDX in Irkutsk Siberia was also a nice one to get in the log. This is a town I was going to be riding my motorcycle through on my Mongolian trip before COVID19 and the war in Ukraine broke out and stopped the trip from happening.

It was good to get an Ozzy call in the log too, VK6EI on the West Coast of Australia came in at a strong -15dB SNR giving me a surprising -14dB SNR report, incredible considering I was using just 22w into my vertical antenna.

Well after sunrise the DX was still pouring in and I worked KL7TC in Fairbanks Alaska, a new one for me that made me very happy as I’d been trying to get into Alaska for some time but, never seemed to time it right. Today was my day!

Another station I was really pleased to get into the log was V31MA. I’ve tried to get a QSO with this station many times but, have never succeeded until today. I called for about 20mins and eventually got a reply putting a huge smile on my face. -16dB SNR sent and -19dB SNR received, I was happy that I finally have Belize in the log.

The last station worked was RA0FF way over on the far East Coast of Russia, the complete opposite direction to Belize. Located in Yu-Sakhalinsk right on the Russian coast opposite Japan and at 5270 miles, this is my longest distance Russian station worked so far and one I was very happy to have in the log. I always get good take off towards Russia whether it be directly east or over the North Pole to the far eastern parts of the Siberian wilderness.

I had a great night chasing the DX on the HF bands and being retired didn’t have to worry about going to work after such a long night. I highly recommend that you try an all nighter at least once in your HAM radio career, you get the opportunity to work stations that you’d normally not hear during the day time hours.

You can see the full list of stations worked on the over nighter on my WSJTX Log page.

More soon …

MQ0AWS will be on air 01/06/22 – 30/06/22

To celebrate Her Majesty the Queen Platinum Jubilee, marking 70 years of service to the people of the United Kingdom, the Realms and the Commonwealth, U.K. Radio Amateur (HAM) operators can apply for a Notice of Variation (NOV) to use the Q Regional Secondary Locator.

The RSGB will also be operating a bunch of GB70 special event stations, full details on the GB70 website.

I have my NOV and will be on air using MQ0AWS for the whole of June 2022.

This callsign will operate for one month only and so will be a rare one for you to get in your log.

I will be operating on all HF bands 160-10m CW & FT4/8 and maybe some SSB depending on conditions.

All MQ0AWS logs will be uploaded to my website almost realtime and will be uploaded to EQSL at the end of June 2022.

If you hear me calling CQ please give me a call.

More soon …

A little IC-705/AH-705 fun

I spent some time this morning in the garden with the Icom IC-705/AH-705 combo connected to my End Fed Half Wave (EFHW) vertical for the 30m band. This is a great antenna that works superbly on the 30m band. Being a resonant half wave fed via a 49:1 Unun it doesn’t require any ATU inline normally and so it’s quick and easy to use with any radio.

Today I decided to disconnect and remove the 49:1 Unun and hook up the Icom AH-705 instead. I thought it would be an interesting exercise to see how well it handled the EFHW vertical on both 30m and the other bands.

Icom AH-705 connected to the 30m Band EFHW Vertical Antenna

I purchased a couple of 5m leads for the AH-705 so that I could setup the radio on the picnic table in the garden and be a comfortable distance from the antenna. They worked great and allow me to use the radio in the spring/summer sun with ease.

Icom IC-705 setup on the picnic table in the garden

The little AH-705 remote auto ATU really does work well with the IC-705. Each time you change bands all you have to do is give a quick press of the PTT on the mic and it automagically goes into tune mode and matches the antenna to the 50 Ohm radio in seconds.

I was was really pleased to see that the AH-705 ATU matched the EFHW Vertical for 30m on the 80m, 60m, 40m, 30m and 20m bands with a perfect 1:1 SWR. With the antenna consisting of 14.81m of wire this makes it somewhat short of a 1/4 wave on the 80m band and I’m not too sure how well it will work. On the 40m band it is a 3/8 wave antenna so should work well. It’s a 1/4 wave on the 60m band and of course a half wave on 30m band as per it’s original design. On the 20m band it is just under 3/4 wavelength long so hopefully should work reasonably well. Of course it won’t be as good as my 20m band EFHW Vertical that has a much lower angle of radiation but, will make an interesting comparison.

The antenna also tunes up nicely on all the other higher bands including the WARC bands. On 17m it is getting close to a full wave length and on 15m it is just over a full wavelength and so should work fairly well on these two bands albeit with a higher than optimal angle of maximum radiation.

On the 12m band it is 1.25 wavelengths long and of course on the 10m band it is almost 1.5 wavelengths long. I’m not sure how well it is going to work on these two higher bands but, for a 14.81m long piece of wire it certainly gives me a good chance on a wide spectrum of frequencies.

30m Band EFHW Vertical Antenna in the breeze

The bands weren’t in particularly good shape this morning but, I found some SSB signals on the 20m band and so decided to see if I could make some contacts.

First contact was with S51DX in Slovenia. He was using 1kw into a 5 element beam pointed pretty much directly at me. The little IC-705 S meter took a pounding with him peaking +30db over S9 most of the time. I was really pleased to get a 5/9 report from him using just 5w from the IC-705 on the standard 7v battery. Of course his station was doing all the work but, it’s good to take advantage of these big stations when running QRP power levels.

Next I had a QSO with John, EA7JUR in Almeria Spain. But this time the battery on the IC-705 was pretty much exhausted and so I hooked it up to the 12v supply to get it charging whilst I was on air. This of course gave me the ability to increase my O/P power by 100% to a massive 10w!

I wasn’t so strong at John’s end, only getting 5/5 report at best whilst he was 5/5-5/9 with me with some QSB. John was using a mini beam antenna again pointed towards me so once again all the work was being done at his end. We had a good chat for a number of minutes until it was time for lunch.

Listening on the 40m band I did hear a very interesting station, KN6IPA/Aeronautical-Mobile. Justin, KN6IPA is part of the crew on a USAF KC135 air-to-air refuelling tanker that flies out of RAF Lakenheath in the U.K. He was transmitting from the aircraft whilst in flight over Germany. His signal was between 5/9 and 5/9+20dB on my vertical antenna and had a massive pileup of people calling him from all over Europe.

I did try calling him with my punchy 10w of power but, couldn’t compete with the huge pileup of very loud, powerful stations all incessantly calling. It was really interesting to just sit back and listen to Justin’s information. He was using 300w into a wire antenna that runs from the fuselage to the vertical stabiliser. Of course being so high up he had a massive advantage and could be heard for hundreds of miles with ease, hence every one and their dog was calling him.

Photo of the KC135 tanker that KN6IPA was transmitting from courtesy of his QRZ.COM page

If you look closely at the photo above of the KC135 that Justin is a crew member on you can just make out the wire antenna on the vertical stabiliser.

I have to admit that I would love to spend a few hours on the radio aboard the KC135 whilst it was flying around, just imagine the DX you could work!

More soon …

HMQ Platinum Jubilee NoV

MQ0AWS QRZ.COM entry

During the month of June 2022 U.K. radio HAMs will be able to use the “Q” regional secondary locator in their callsigns to celebrate Her Majesty the Queen’s Platinum Jubilee.

I now have my notice of variation (NOV) for my HAM Radio licence that will allow me to use the callsign of MQ0AWS throughout the month of June 2022.

I’ll be active on all HF bands using CW and FT4/8 mostly. I may do some SSB on 40/60m depending on how it goes.

I’m hoping many stations world wide will want to contact the GQ/MQ/2Q stations throughout the celebration period and that you’ll all be able to collect the 70 necessary callsigns and contacts to win an RSGB certificate.

I will be logging all contacts on EQSL.CC at the end of June 2022.

More information is available on the RSGB website.

I look forward to using the MQ callsign and hope to have many pileups on the bands!

More soon …