Antenna rotator control script for Raspberry Pi and WSJT-X


For the digital modes trafic, I run WSJT-X on a Raspberry Pi (4B). So, no need to devote a “big” computer for that purpose, the Raspberry does the job perfectly well, and for less power consumption and noise. For my 144 MHz moonbounce operations, I wanted a simple system to drive my existing ERC-3D rotator controller (by DF9GR). That model is now obsolete but works flawlessly and I wanted to keep it as-is, without changing anything. The ERC-3D is linked to azimth (Yaesu G650) and elevation (Kenpro KR500) antenna rotators.

Rotator Controller

The search for a ready made program I made on the Internet was not successful, since I wanted to keep as-is my exisiting system. Having in mind that WSJT-X provides an azel.dat file including the coordinates of the moon, I decided to write a program to extract these data and to use them to command my ERC-3D, in first place to track the moon.

To be able to do it, a prerequisite is to have Hamlib installed on the Raspberry. What is hamlib : “the Ham Radio Control Library –Hamlib, for short– is a project to provide programs with a consistent Application Programming Interface (API) for controlling the myriad of radios and rotators available to amateur radio and communications users”. To date the current hamlib version is 4.2. and can be downloaded here. How to install it on the Raspberry is out of the present scope, there a several tutorials on the Internet that clearly explain it (it is very easy).

Once Hamlib was installed, the program had to be written (it is available at the end of this post). It has been written in Python 3 and, since I’m not at all a programmer, it is my friend Didier (ON4KDV), who wrote the backbone of the program (many thanks to him). I then customized it and added some features, a.o. the possibility to command the rotator controller not only to automatically track the moon but also to rotate/elevate the antennas wherever needed.

The program is named “Rotator Controller” and an icon placed on the desktop of the Raspberry allows to launch it easily. It opens in the command-line terminal.

Here is how it works :

Rotator Controller 1

Rotator Controller 2

Rotator Controller 3

Rotator Controller 4

Rotator Controller 5

Rotator Controller 6












Posted in Antennes / Antennas | Comments Off on Antenna rotator control script for Raspberry Pi and WSJT-X

Geminids / Géminides 2020


Ci-dessous quelques cartes des stations entendues durant les Géminides 2020 sur 144 MHz, des stations qui m’ont entendu et des stations que j’ai contactées.

Below are some maps of the stations heard during the 2020 Geminids on 144 MHz, the stations that heard me and the stations that I worked.

QRA locators entendus (Tropo ou MS) / QRA locators heard (Tropo or MS) :

Locators heard by ON4KHG - Geminids 2020

Stations entendues (Tropo ou MS) / Stations heard (Tropo or MS) :

Stations heard by ON4KHG - Geminids 2020

QRA locators où j’ai été entendu (Tropo ou MS) / QRA locators where I have been heard (Tropo or MS) :

Locators where ON4KHG has been heard - Geminids 2020

Stations qui m’ont entendu (Tropo ou MS), la plus lointaine RQ7R en KN64SO = 2305 km / Stations that have heard me (Tropo or MS), the furthest RQ7R in KN64SO = 2305 km :

Stations where ON4KHG has been heard - Geminids 2020

Stations contactées (MS) / Stations worked (MS) :

Log ON4KHG Geminids 2020



Posted in Trafic / Traffic | Comments Off on Geminids / Géminides 2020

144 MHz Tropo opening September 9th, 2020 / ouverture Tropo 9 septembre 2020


Le 9 septembre 2020, nous avons été gratifiés d’une belle ouverture tropo sur 144 MHz. Depuis JO10, le conduit (“duct”) permettait des QSO jusqu’en SP et l’ouest de la Biélorussie, mais aussi et surtout jusque dans l’est de l’Ukraine, via ce qui semblait être un second conduit jumelé au précédent.
Mon log se trouve ci-dessous. Tous les QSO’s ont été réalisés en FT8, seuls certains vers SP auraient pu être réalisés en CW.
Deux QSO à plus de 2000 km, avec US8AR (2065 km) et UY0LL (2264 km). Bien que nous nous soyons “entendus” (plutôt vus) mutuellement, le QSO avec UR7IMM (2410 km) n’a pu être compété.

On September 9, 2020, we were gratified with a beautiful tropo opening on 144 MHz. Since JO10, the duct allowed QSO’s up to SP and the west of Belarus, but also and above all up to the east of Ukraine, via what seemed to be a second duct twinned with the previous one.
My log is below. All the QSO’s were made in FT8, only some to SP could have been made in CW.
Two QSO’s at more than 2000 km, with US8AR (2065 km) and UY0LL (2264 km). Although we “heard” (rather saw) each other, the QSO with UR7IMM (2410 km) could not be completed.

Tropo 09092020

Ci-dessous le log / Below the log :

UTC Callsign QRG Mode Sent Rcved Locator
05:07 EU3CZ 144,174 FT8 -15 -04 KO12UB
05:11 SP6ECQ 144,174 FT8 -12 +01 JO71SD
05:14 SP1MVG 144,174 FT8 -08 -01 JO74JA
05:30 SP1FJZ 144,174 FT8 -03 +08 JO84EE
05:34 US8AR 144,174 FT8 -20 -13 KO60RR
05:38 SP6URZ 144,174 FT8 -10 -13 JO71MD
05:42 SP7CKH 144,174 FT8 -15 -08 JO92QF
05:47 EU3AI 144,174 FT8 -19 -02 KO22CE
06:09 UY0LL 144,174 FT8 -12 -01 KN79XX
06:12 SO3Z 144,174 FT8 -07 -02 JO82LJ
06:31 SQ5ESM 144,174 FT8 -16 -14 KO02HC
06:33 EW3AA 144,174 FT8 -19 -04 KO12TC
07:40 SM7MBH 144,174 FT8 -14 +02 JO75EM
07:43 SP7MTU 144,174 FT8 -16 -14 JO91RR
08:02 SQ2SAT 144,174 FT8 -16 -10 JO83XG

Extrait de PSK Reporter qui montre les stations qui ont reçu ON4KHG (et qui le rapportent sur PSK Reporter) :

Extract of PSK Reporter showing the stations that have received ON4KHG (and are reporting it to PSK Reporter) :

Display Reception Reports - Google Chrome_2020-09-09_10-06-04

Extrait de PSK Reporter qui montre les stations reçues par ON4KHG :

Extract of PSK Reporter showing the stations received by ON4KHG :

Display Reception Reports - Google Chrome_2020-09-09_10-07-43

Capture d’écran de WSJT-X montrant le QSO avec UY0LL :

Screenshot of WSJT-X showing the QSO with UY0LL :

WSJT-X v2.2


Posted in Trafic / Traffic | Comments Off on 144 MHz Tropo opening September 9th, 2020 / ouverture Tropo 9 septembre 2020

UT1FG/MM (Yuri) – 144 MHz


 Update dating 23/11/2020 (see also original post of 06/01/2019 below)

These last weeks, Yuri was again on the seas !
Thanks to the kind support of a few PA and DL hams, Yuri operates now with 150W on 144 MHz. The whole VHF DX community should be grateful for that support ! It allows every interested ham to work even more new “wet” squares !

Looking back at all the wet squares I have worked so far on 2m thanks to the operations of Yuri, it looks like this (Tropo and MS) :

Wked UT1FG-MM 27112020
However, the antenna used by Yuri is a “tiny” 5 elements that holds on a 80 cm long boom, as you can see on the pictures below (click on the pictures to enlarge). This is a dual band VHF/UHF antenna with a gain of 5  dBi on 144 MHz.

It is amazing to see how such a setup can produce FB MS reflections at 2000 km+, and how the tropo coverage extends far away too. In this regard, the uncluttered and flat surroundings, the sea, is quite helpful…

A 25 sec MS reflection (mode FSK441) from UT1FG/MM received by Bernd, DF2ZC (JO30RN) at +/- 2000 km  :

A 2 sec one received here at my station when Yuri was in HN83XL (2112 km far away) :


…But the sea is not always that flat !

Yuri at its operating position : WhatsApp Image 2020-11-17 at 13.44.24



Thanks again to Yuri and the supportive team behind him. Well done !



Post of 06/01/2019 

Yuri, UT1FG is often active as UT1FG/MM on 144 MHz. He operates from the ship “Goldeneye”, a bulk carrier sailing under Cyprus flag. On the page of Yuri, one can see the ship.

2019_01_06_21_02_48_https_s3.amazonaws.com_files.qrz.com_g_ut1fg_IMG_1476453682005_V.jpg_InterneThe Goldeneye has left San Lorenzo in Argentina on 8/12/2018 with Riga (Latvia) as destination. Yuri has been active during the travel from several “wet” squares on 144 MHz. I have been lucky enough to work him when he was in IN66, JO12, JO25 and JO36. Three of them were new #. The mode Yuri used was FT8. One likes FT8 or not is another discussion ! I wanted to know the full (6 digits) loactors where Yuri was when I worked him. Provided the latitude / longitude position of the ship can be received by costal stations receiving AIS (Automatic Identification System) frames emitted by the boats (161.975 and 162.025 MHz), it is quite easy to derive the QRA locator. I describe here the way I proceeded.

I go the either or One has sometimes a more recent position that the other or vice-versa. The AIS frames contain the latitude and longitude of the ship ; these are broadcasted on the above mentioned frequencies. Once received by a costal AIS station that reports the received postions of the ships to vesselfinder or marinetraffic over the internet, one can retrieve the latitude and longitude of the ship. Below is an example with marinetraffic. Look for “Goldeneye” on the top right when accessing the website and you will get this if you select the Goldeneye from Cyprus, i.e. [CY] (click on picture to enlarge) :


From there, you can see the latest postion of the ship, its past track and even its forecasted route.


On the top right of the picture above, one can see the latitude and longitude of the ship, expressed both in DD and DMS. Feeding an online QRA locator calculator2019_01_03_09_39_15_QTH_locator_calculator (e.g. with these data and one get the QRA locator of the ship. In the present case, it was in JO24KH. Again, this is possible provided the ship is under the coverage of a costal AIS receiving station. Otherwise, satellite positioning of the ships is also possible but this is a paying service !

End of January 2019, on his way from Estonia to Brazil, Yuri has activated again wet squares on 144 MHz. Yuri is transmitting with 20W into a 5 elements antenna. Hereby a screenshot from JO35 :

UT1FG-MM JO35 30012019
Many thanks to Yuri for activating all these wet squares !


Posted in Trafic / Traffic | Tagged | Comments Off on UT1FG/MM (Yuri) – 144 MHz

Marconi Memorial VHF CW Contest 2020


Compte rendu du contest MMC VHF des 7 et 8 novembre 2020 ; il s’agit du seul contest VHF dédié uniquement à la télégraphie (CW), et un de mes préférés ! Preuve qu’on peut être un amateur “moderne” en faisant usage des modes numériques (FT8, JT65,…), tout en restant un fervent pratiquant de télégraphie, pourtant si archaïque et démodée, mais qui me plait toujours autant ! La tolérance et l’ouverture d’esprit sont toujours plus constructives que les clivages, surtout pour ce qui n’est finalement qu’un hobby…
Pour une fois, j’avais décidé de participer sérieusement à ce contest. A l’exception donc d’une petite nuit de sommeil et de quelques breaks, j’ai été actif durant environ 18 heures. Dans certains pays, la crise covid-19 interdisait la tenue des activités radio en portable et/ou les ressemblements. De fait, moins de stations étaient actives. Malgré ça, ce fût un contest très plaisant, même si le début s’est déroulé en mode “mineur”, avec peu de DX’s. Il a fallu attendre 16h27 UTC pour faire le premier QSO à plus de 800 km (F4CWN / JN03). Ensuite, les conditions se sont améliorées en soirée et durant la nuit, durant laquelle plusieurs DX furent contactés. Notamment le meilleur DX (OM3W / JN99) à 1027 km a été contacté en total random, sans prise de sked sur “KST”. 9A1P en JN65 (941 km) a également été contacté. Côté score, avec mes 2×9 él. mises côte-à-côte (angle d’ouverture étroit dans le plan horizontal), je ne peux rivaliser avec les stations qui possèdent plusieurs systèmes d’antennes à ouverture horizontale large. Je suis toutefois très satisfait du résultat et du taux de réponse à mes CQ.
Station utilisée : 2×9 él. DK7ZB et 1,2kW

Activity report of the MMC VHF contest of November 7th and 8th, 2020; it is the only VHF contest dedicated solely to telegraphy (CW), and one of my favourite ones ! Proof that one can be a “modern” ham using digital modes (FT8, JT65,…), while remaining a fervent practitioner of telegraphy, which is so archaic and old-fashioned, but which still pleases me so much ! Tolerance and open-mindedness are always more constructive than cleavages, especially for what is actually just a hobby…
For once, I had decided to participate seriously in this contest. So, apart from a short night’s sleep and a few breaks, I was active for about 18 hours. In some countries, the covid-19 crisis had forbidden portable radio activities and/or gatherings of people. Indeed, fewer stations were active. In spite of this, it was a very pleasant contest, even if the beginning was in “minor” mode, with few DX’s. I had to wait until 16h27 UTC to work the first QSO at over 800 km (F4CWN / JN03). Then conditions improved in the evening and during the night, during which several DX’s were contacted. Notably the best DX (OM3W / JN99) at 1027 km was contacted in total random, without taking a sked on “KST”. 9A1P in JN65 (941 km) was also contacted. Regarding the score, with my 2×9 el. bayed side by side (narrow aperture angle in the horizontal plane), I can’t compete with stations that have several antenna systems with wide horizontal apertures. However, I am very satisfied with the result and the response rate to my CQ’s.
Station used : 2×9 el. DK7ZB and 1,2kW

# QSO’s : 228
Points : 93903
# DXCC : 15 (G, GW, HB9, OE, OK, OM, DL, ON, PA, F, I, SM, OZ, GM, 9A)
# WWL : 76
Average km/QSO : 412

Top 10 DX QSO’s :

OM3W           JN99CH      1027 km 
9A1P           JN65VG       941 km
OK1MZM         JN89IW       908 km
F2CT           IN93GJ       900 km 
OK2R           JN89DO       885 km 
OK7W           JO80FG       885 km 
IK4PMB         JN54MM       859 km 
GM4YXI         IO87WK       856 km 
7S7V           JO65SN       843 km 
OK2KGB         JN79QJ       826 km

MMC 2020 November

Quelques fichiers audio ci-dessous / A few audio files below.

OM3W / JN99CH / 1027 km :

OK7W / JO80FG / 885 km :

OK1TEH / JO70FD / 746 km :

OK1MZM / JN89IW / 908 km :

IK4PMB / JN54MM / 859 km :

F2CT / IN93GJ / 900 km :



Posted in Concours / Contests | Tagged , | Comments Off on Marconi Memorial VHF CW Contest 2020