piText is a fun little app that I put together as an exercise to learn how to use the Transceiver Control Interface (TCI) capability in piHPSDR-Improved.
piText lets you type a short message and “write” it into the waterfall of anyone watching your signal.
It converts the text to audio whose spectrogram (frequency across, time down) spells out the message, and passes that audio to piHPSDR-Improvedover the TCI WebSocket protocol. piHPSDR transmits it like any other SSB audio.
Written in Python it runs on any Linux computer but, is squarely aimed at Debian based distro’s like Ubuntu/Kubuntu/Linuxmint/RaspberryPi OS etc.
True to our promise, piText comes with its own GUI installer, just like all our Pi series of apps, making it easy to install and run on any Linux computer without the hassle of having to manually install packages and compile code.
piText – GUI Installer
piText was never intended for release into the wild as it was just a project for me to learn about the piHPSDR-Improved TCI but, we decided to share it with the HAM community as it has a number of use cases that others may find useful or fun.
This of course means it’s been through The Three Amigos testing phase during the development cycle so, you can rest assured it’ll work out the box. We’ve tested it in our shacks so you can just install it and have fun.
piText Main Window
piText has a simple user interface, a field to enter your message into and a display field showing what the message will look like in an SDR waterfall.
Settings to connect to piHPSDR-Improved are also user changeable so that the SDR software can run either locally on the same computer as piText or on a remote computer. Just change the host and port settings accordingly.
A full user manual is included in the docs folder detailing how to set the Row S, Font and Hz/Col to get the best results. The manual also goes into the technical detail of how the messages are generated for those that are interested in what’s under the hood.
Like all our apps, just download the zip file, unzip it into a directory of your choice and double click the installer. You’ll be ready to go in no time at all.
We’re actively developing new apps for piHPSDR-Improved that will bring enhanced functionality to the HPSDR platform for the Linux user.
As always, thanks to Steve (M0XVT) and Alan (G1SQB) for help in putting this app together and for all their hard work testing and debugging it. Without them I’d still be searching for bugs!
Steve (M0XVT), Alan (G1SQB) and I are pleased to announce that piLog v1.0 Beta 1 is now in test, and we expect a release version to be available soon.
piLog is a logging program for the amateur radio operator, designed to sit alongside piHPSDR-Improved and piSync.
FLRig is also supported so, whether you’re using a modern SDR with piHPSDR-Improved or a conventional transceiver that you’ve had for years, you can still use piLog for all your logging needs.
piLog can follow your radio’s frequency, operating mode, active VFO and PTT status directly from the radio or piHPSDR-Improved so, you don’t have to key the information in manually, making log entries quick and easy
Type a callsign and piLog looks it up on QRZ.com, filling in name, QTH, grid square, country and more. It also shows the distance and beam heading to the DX station.
Contacts are saved in standard ADIF files and uploaded automatically to your QRZ Logbook and eQSL. If you’re offline, the uploads are queued and retried later.
Beyond the basics, piLog suits both casual and busy operating:
Single and Net modes. Log one contact at a time, or keep several log entries open at once for nets and pile-ups. We believe this is a first in amateur radio logging and a feature that will be used by many people, especially if you regularly take part in on air nets like we do.
Automatic log sorting. QSOs are filed by mode and by QRP/QRO power category, with a separate file for satellite contacts. There is of course the option to store all QSOs in a single logfile.
DX Cluster map. Live spots appear on a zoomable map, with greyline and Maidenhead grid overlays. Click a spot in the list or a map pin to load the callsign into piLog and tune your radio to the DX station in an instant. Want to post a spot on the DX Cluster? It’s as simple as entering a Callsign, comment and clicking the “Spot” button.
Statistics and log map. See your QSOs by mode, band and power, along with countries worked, distances covered and a map of every grid square contacted.
Search. Look up previous contacts with a station quickly and easily.
piLog is designed to run on RaspberryPi SBCs and Intel/AMD PCs running most Debian/Ubuntu based operating systems.
Of course we’ve created an easy to use installer for piLog, taking away all the frustrations of trying to install software from sites like github and the like. A simple double click and it’s installed, ready for use.
The aim is to keep the logger out of your way so, you spend less time typing and more time on the air, afterall that is what radio is all about.
Keep an eye here as we’ll hopefully be releasing piLog very soon.
In the last week or so The Three Amigos released piSync for Linux, a neat little utility that enables Amateur Radio operators to sync their piHPSDR powered SDR or physical radio (via FLRig), to a WebSDR receiver on the internet anywhere in the world.
This has proven to be very popular in the HAM community and has been downloaded many times already.
Mark, G1INU has now taken the opensource code from piSync and ported it over to the Windows platform and today released it on github.
winSync from Mark, G1INU – A Windows port of piSync
winSync is designed to work with Thetis, probably the most popular SDR software in the Windows community and works with both Anan SDR transceivers and the now famous Hermes Lite 2.
We’re really pleased that Mark has created winSync as none of us are Windows programmers and so, have no idea about creating Windows apps.
You can download winSync directly to your desktop in an easy to use ZIP format by using this link. Unzip it, install it and be connected to the world of WebSDRs in just a few clicks.
We’re looking forward to seeing future enhancements to winSync, making it more widely available to users of other radios too.
Steve (M0XVT), Alan (G1SQB) and I are pleased to announce piSync v0.9, bringing synchronised WebSDR access to Linux users running piHPSDR-Improved and now, a much wider range of transceivers through FLRig.
Windows users have enjoyed this kind of functionality through applications such as CatSync for some time. To the best of our knowledge, piSync may be the first Linux application to offer an equivalent solution for both piHPSDR-Improved and the huge range of transceivers supported by FLRig.
piSync v0.9 with FLRig support
Bringing New Life to Existing Radios
The addition of FLRig support is a significant step forward. piSync can follow your radio’s frequency, operating mode, active VFO and PTT status, allowing a compatible WebSDR receiver to follow you around the bands.
Whether you’re using a modern SDR or a conventional transceiver, piSync opens up new possibilities for exploring propagation and comparing signals received at different locations around the world — without replacing your existing radio.
What’s New in v0.9?
This release also introduces several improvements:
Persistent WebSDR list: Your receiver URLs are now saved on your PC and restored after restarting piSync, rather than being stored in your web browser.
WebSDR map: A new launcher button provides quick access to the WebSDR World Map.
piSync v0.9 – Synchronising WebSDR’s to your Radio.
Easy Installation for Linux Users
Getting started with piSync is easier than ever, thanks to its new GUI installer. Designed to simplify installation and setup, it makes piSync more accessible to everyone, including amateur radio operators making the move from Windows to Linux.
Alongside the GUI installer developed for piHPSDR-Improved, this is another step towards making Linux a practical and welcoming platform for amateur radio enthusiasts.
piSync GUI Installer – One Double Click and it’s ready to use.
We’ve Kicked the Tyres, So You Can Hit the Airwaves!
piSync has been tested on Raspberry Pi, Kubuntu (KDE Plasma), Linux Mint (Cinnamon), Debian 13 (Trixie) and Ubuntu. While we can’t test every Linux distribution, it should work on most Debian and Ubuntu based systems. We’ve done the testing so you can spend less time setting up and more time enjoying your radio!
Get piSync
If you’re a Linux-based amateur radio operator, whether using piHPSDR-Improved or a transceiver supported by FLRig, piSync is worth a look.
Synchronised WebSDR access, on Linux, using the radio you already own.
UPDATE: PiSync v1.1 has been released, download from this article.
It’s been a busy week of software bug fixes and enhancements on piHPSDR-Improved and piSync.
piSync v0.9 is currently in test after we added the support for FLRig. This extends the support for many transceivers new and old along side piHPSDR-Improved and makes it useful to HAMs who aren’t using SDR’s.
piSync v0.9 with FLRig support in test
piHPSDR-Improved has also had a lot of work done to it this week with a splurge of bug fixes and enhancements being made. We decided to bring the release forward as we can then concentrate on writing the new modules to bring even more functionality to the SDR solution.
piHPSDR-Improved v2.45 in Test
We’ve put some effort into tidying up the user interface in piHPSDR-Improved along with the new, second S Meter for VFOB. This is a really nice enhancement we’ve been wanting to do for some time but, haven’t had the time to devote to it until now.
piHPSDR-Improved v2.45 in test with Horizontally stacked RX
The floating toolbar has also had some upgrades and is not only looking good but, we’ve added new functionality to it as well.
piHPSDR-Improved v2.45 Floating Toolbar in Test
We’re hoping to release both of these updated software packages very soon once we’ve completed all our testing and are happy that’s it ready for release.
Steve, M0XVT found a little bug in piSync v0.6 last night whilst we were all chatting on the 80m band and so, I jumped on it this morning and got a fix in place.
The bug only raised its head if you manually muted the WebSDR and had “Mute on TX” enabled. With a TX/RX cycle the WebSDR would become unmuted even though the button/checkbox on the WebSDR page still showed “Mute” was enabled.
This bug doesn’t appear on KiwiSDRs, only the PA3FWM type WebSDRs.
piSync Logo
So, if you’ve already downloaded piSync v0.6 in the piHPSDR-Improved release, grab yourself the v0.7 update below and uninstall v0.6 via the installer and then install the new bug fixed version. (Make sure to delete the .venv directory in the v0.6 directory as well)
Take a look at the CHANGELOG included in the zip file for full details on the bug and how it was fixed.
UPDATE: piSync v1.1 has been released, download it from this article.
I’ve recently built a new AllStarLink (ASL) node for my MB7IBW gateway that I have recently brought up on air on the 2m band.
AllStarLink 3 has a lot of changes in it when compared to the previous version and this of course impacts my Node-Red Control Dashboard that I’ve been using to manage my first ASL node for well over a year now.
To build the node I used the RaspberryPi imager and added the AllStarlink 3 image as detailed on the allstarlink.org website.
Installing the system this way makes it pretty easy compared to previous installs but, it comes with some quirks which cause issues with Node-Red.
From the outset the plan has always been to have AllStartLink 3 and Node-Red running on the same Pi4 to keep it totally self contained. This was easy enough to achieve and works without issue.
Node-Red Control Dashboard for AllStarLink 3
Installing Node-Red onto a Pi4 is really easy and is fully documented on the Node-Red Website.
Once the AllStarLink 3 operating system was installed on my SD card, booted and operational I installed Node-Red. I soon realised that there were a few things I had to do before loading the Node-Red flow.
AllStarLink 3 no longer logs connect and disconnect messages in the connectlog like it did in AllStarLink 2. To get logging working again I had to create two new BASH scripts as detailed below and put them into /etc/asterisk/myscripts.
For the connect information I created the BASH script as detailed below.
Next I disabled the temporary filesystems that are used by default for the apache and asterisk logging as it’s useful to keep the apache logs for debugging and I needed the asterisk logs for the Node-Red dashboard.
Disabling the temporary file system is very easy to do, just edit the /etc/fstab and comment out the two lines as shown below.
# Comment out the next line for persistent Apache logs
#tmpfs /var/log/apache2 tmpfs defaults,noatime,nosuid,nodev,noexec,mode=0775,size=32M 0 0
# Comment out the next line for persistent Asterisk logs
#tmpfs /var/log/asterisk tmpfs defaults,noatime,nosuid,nodev,noexec,mode=0775,size=32M,uid=102,gid=106 0 0
# Note: These lines are wrapped, should be on 1 line in the /etc/fstab
Once the entries in the /etc/fstab were commented out I rebooted the Pi4 to get persistent filesystems.
The final thing that had to be done was to allow user repeater to use sudo without a password so that it could be used to perform reboot/shutdown/process restart as user root from within the dashboard.
# /etc/sudoers
# Allow repeater sudo without password
repeater ALL=(ALL) NOPASSWD: ALL
Once this was all done I imported the Node-Red flow, configured the SSH nodes with login credentials for the Pi4 (important to use the user repeater for SSH), clicked deploy and the dashboard was ready for use.
Node Red AllStarLink3 Control Dashboard Flow
I’ve been using the dashboard for a few weeks now and it’s running perfectly, without error.
If you want to build your own Node-Red Control Dashboard for your AllStarLink 3 node then, just download the flow using the button below and import it into your flow editor.
I’ve spent some time this afternoon modifying my Node-Red Dashboard for controlling AllStarLink nodes to work with the new AllStarLink version 3.
My original AllStarLink Control Dashboard was designed to work with AllStarLink 2 which I have running on an old RaspberryPi 3b on the 70cm band. The dashboard has worked reliably ever since deployment and is in use daily.
With the release of AllStarLink 3 and all the changes that it entails I’ve had to make a few changes to the dashboard flows in order to make it compatible with AllStarLink 3 nodes.
This entails not only flow changes but also the addition of two new bash scripts that are called by Asterisk to log connect and disconnect messages as they are not logged by default any more. (Seems a bit of a step backwards)
Node-Red AllStarLink Control Dashboard v3.0 for ASL3
The changes also entail disabling the temporary filesystems used by default in the new ASL3 build so that log files etc become persistent.
I’ll spend some time using the new dashboard to ensure it’s working correctly and then will release it into the wild for all those that are brave enough to move over to AllStarLink 3.
I’m sure there are many radio amateurs around the world today who have an old handheld radio sat on the shelf that works perfectly but, has been replaced by a new, shiny, all singing, all dancing model that gets used on a daily basis. I for one have fallen into this trap with the recent purchase of a very nice Wouxun KG-UV9K full duplex 2m and 70cm handheld.
On my shelf there is a cheap Retevis RT85 that gave sterling service for a number of years and even today is ready to continue that service, if only I had a need?
Well now I do!
Currently I have an AllStarLink node running on a RaspberryPi 3b connected to a SHARI device that operates on the 70cm band. This node works great and gives me the ability to chat with people all over the world from my trusty handheld. It does of course also give me access to the weekly Matrix AllStarLink Net that happens on our Matrix node ( 642332 ) every Thursday evening at 20:00 UK time, a great way of bringing the Matrix HAM Radio community together regardless of propagation.
For some time I’ve been wanting to bring another AllStarLink node online so that I can have a connection to HUBNET/FreeNet whilst keeping my current node connected to the Matrix node for our regular daily chats. Since my new Wouxun handheld is a full duplex unit it makes sense to bring a new node up on the 2m band as I can then monitor both at the same time easily. I do have a spare SHARI node however, it’s a UHF only unit and I don’t want another node on the 70cm band. This is where the old Retevis RT85 comes in to play.
The AIOC board really is tiny but, beautifully put together. The four large solder pads on the top and more on the underside are positioned such that the TRS plug solder lugs line up perfectly for soldering. Attempting to do this by hand would be impossible as it’s critical that the spacing between the two connectors matches that of the spacing of the sockets on the radio.
AIOC Solder Jig.
Searching online I found a very handy soldering jig on Github that enables you to hold both the TRS connectors and AIOC board in the perfect position for soldering.
Downloading the .STL file I quickly printed off a solder jig on my Bambu Lab A1 Combo 3D printer and fitted the components into place ready for soldering.
Fitting TRS connectors into the AIOC solder jigFitting AIOC board into the solder jig.
Everything fitted rather snugly into the jig and I soon had the board and connectors soldered together. Test fitting to my Retevis RT85 I found the TRS plugs lined up perfectly and it slid into the sockets with ease.
I then thought about designing a case for the AIOC board so that the bare circuit was nicely protected but, quickly searched online and found that NA6D has already designed a case and made the .STL available publicly for download on Printable.com. I quickly grabbed a copy of the file and punted it off to my 3D printer to get to work on.
3D print NA6D AIOC case.
Once the print was complete I fitted the AIOC board and snapped it together ready for testing.
Fitting the AIOC into the 3D printed case.AIOC case with 2 x TRS connectors in place.AIOC case USB-C view
Now that the AIOC was production ready I moved on to getting the latest version of AllStarLink onto my RaspberryPi 4 that I had taken out of my RadioBerry based shortwave receiver that I am going to upgrade to a Hermes Lite 2 in a later project. The RaspberryPi 4 is perfect for AllStarLink 3, a 64bit app and operating system.
Using the RaspberryPi Imager I pulled the image down onto an SD card and slipped it into my Pi4. ( Instructions on how to do this are on the AllStarLink website here )
Booting the Pi4 for the first time I found that it went through a number of reboot and configuration cycles before it was ready for use.
AIOC connected to the Retevis RT85.AIOC connected to the Retevis RT85.
Once ready I went through all the normal configuration of the Pi4 namely, static IP assignment, timezone config, security, port forwarding etc etc.
Having configured an AllStarLink node for myself and only just a few days ago for another HAM I was pretty familiar with the setup. Wanting to make sure there were no “gotcha’s” I also watched a couple of KM9G’s videos on Youtube to make sure I wasn’t missing anything.
Using the asl-menu command line app as user root I set about configuring Asterisk to work with the AIOC board. Much to my frustration I could not get Asterisk to recognise the AIOC board as an available sound device. I checked and double checked all the settings ensuring that I had selected “AIOC” in the available devices menu but found that Asterisk constantly errored saying it could not find the selected audio device. This went on for a whole day without success and so, I decided to put it to one side and come back to it later, a method I found that often worked.
A couple of days later I revisited the problem and had decided to take a different approach. Rather than continue going through the asl-menu app I decided to drop down to a lower level and go through the asterisk config files in the /etc/asterisk directory.
It wasn’t long before I found a file called res_usbradio.conf. Inside this file was the config for the AIOC board however, it was all commented out which meant it was disabled.
I’m guessing here but, I imagine this is what should get enabled when selecting AIOC in the available devices menu in the asl-menu command line app but, for some reason it doesn’t happen.
[general]
;usb_devices = 1209:7388 ;comma delimited list of usb
;descriptors to allow.
;format vvvv:pppp in hexadecimal
;vvvv=vendor id, pppp=product id
;
;1209:7388 = AIOC (all in one cable)
Above is the disabled configuration which is easily edited to enable the AIOC device as shown below.
[general]
usb_devices = 1209:7388 ;comma delimited list of usb
;descriptors to allow.
;format vvvv:pppp in hexadecimal
;vvvv=vendor id, pppp=product id
;
1209:7388 = AIOC (all in one cable)
Once the updated file had been saved and I restarted Asterisk using systemctl the AIOC burst into life and Asterisk recognised it immediately. The Retevis RT85 switched between TX and RX and I was ready to check out the audio.
Setting the volume levels for both RX and TX via the command line tuning app I connected the node to my already existing node. Sure enough the two nodes connected without error and I was able to send and receive audio between them via the AllStarLink net.
Connecting the new node to the parrot I checked the audio levels to ensure it sounded ok and then connected it to the Matrix node where I had a brief chat with Ben, M8TKK.
All that is left to do now is to 3D print a case for the Pi4 so that it isn’t left naked and at risk of being shorted out on conductive surfaces and it’ll be ready for service.
I also plan to build another AllStarLink node using a 4m band handheld and another AIOC board and then will apply for MB7Ixx callsigns for the two new nodes. This will hopefully help to bring some life to the 2m/4m bands locally and introduce HAM’s both to the weekly Matrix Net and HUBNet/FreeStar via AllStarLink.
Following on from my previous article on using Node-Red to build interactive log maps I’ve now reworked the flow to make it more efficient with less Javascript.
The original flow had a function that handled the issue of FT4 contacts being recorded in two different ways depending on which app you use for your FT4/8 operations.
<mode:4>MFSK <submode:3>FT4
or
<mode:8>MFSK FT4
The code I wrote to handle this wasn’t particularly elegant and so I decided to remove the code entirely and just use a simple change node.
M0AWS New node to handle FT4 more efficiently
This is the great thing about Node-Red, there’s always more than one way to do something.
With this fix in place and the old code stripped out of the format generic payload function, the new flow is much tidier and easier to comprehend.
M0AWs Updated ADI Log Map flow
With testing complete and the two maps now live on my website the flow is finally ready for release into the wild.
If you fancy presenting your ADIF logs in a more visual, interactive format then just download the flow below and import it into your Node-Red flow editor.
Don’t forget that you will need to change the path to the log files in the file read nodes to suit your setup and change the location data in the My QTH trigger to match your callsign and location. Other than this the flow should just work.
More soon …
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.