Radio, railways, stuff...

M0RVB

IT changes

My 'pigate' Pi is no more. Well, it still exists, but has been decommissioned. It has a story going back a few years. It began life as one of thre Pi systems in the blue metal box that has just been scrapped but was later moved to its own 3D printed box. It ran a varying number of packages, taking over the ADBS logger that was on a Pi in the loft and also running Hamclock and a decoder for our weather station. But recently the PoE HAT fan has been considerably annoying and Hamclock always seemed to push the load up. Enter a new (old) fanless PC. This is an eBay purchase, a Wyse 5060 made by Dell and arrived today. And it has a story of its own! First off it was sold as used with an un-activated Windows 10 on board but it appears to be new due to the packaging. The first step for this PC was to install Lubuntu 24.04 LTS but on powering it up it has a BIOS password set. Fortunately the password is known and available via the Web. It turns out the Wyse 5060 is a thin client aimed at having apps accessed across the network. But regardless it is a full PC, 265Gb SDD, 4Gb RAM and an AMD 64 bit quad core processor at 2.5Gbps, a decent upgrade from the Pi 4B of pigate. Setting the thing up was relatively painless except the dump1090 and fr24feed setup failed twice so got deleted entirely and installed again. I missed something because after that it works fine. I still need to finish the setup as temperature recording is very different to the Pi and to my Lenovo server. It is currently reporting 50°C via 'sensors'. This system actually replaces two Pi systems and potentially a third one. The other two are one Pi with a switchable USB hub that powers the little LoRa modules (radiosonde receiver and TinyGS station - it did have a Meshcom node on too but it keeps crashing), and one running SatNOGS. I see no reason why I can't move the SatNOGS stuff across later on. Of course this PC has its own PSU - 19V - so it has taken up a wall socket whereas the Pi systems are all PoE powered. It is time I purchased a long power strip anyway. The other change is the QRP Labs shack clock has been retired, which also meant the dedicated 5V linear PSU has also gobe. Since I got the DX Patrol GPSDO it became evident that the shackl clock does not tick right - what I mean is the display is about 1 second slow. Having multiple clocks is always an issue, but four of them agree with each other to the second so the delay on the shack clock has become a but of a nuissance. So clock-wise I have the DX Patrol showing UTC which, although the display is rather small is easy enough…

Continue reading...
M0RVB

Bye bye blue box

For some time now my pi-star node was in a fairly large blue box. Originaly this box had three Pi systems plus a 5V PSU but over the months two of those systems were either shut down or relocated to their own 3D printed box and powered via a PoE HAT. So the blue box, measuring some 240x110x190mm was pretty much empty. Since I built a M17 hotspot out of a Pi and a Nextion screen I found a 3D printable box specifically for the 3.2" Nextion. So I printed this and a second one for pi-star. This has saved quite a bit of shelf space. The case is not fully ideal because in the case of the pi-star node the Nextion is connected via a USB to TTL converter which sticks outside the case. The M17 node has a Zumspot USB radio which again sticks out the side. But it will make a good basis for designing a wider box that will encompass the USB bits.

Continue reading...
M0RVB

Nextion displays and memory sieves

You know the phrase 'memory like a sieve'? Well, that's mine. I just received a 3.2" Nextion display via Aliexpress which arrived after only a few days from China. This was to be a display for the M17 hotspot. But there were a few unexpected hurdles! First off, I could not remember the connections from the GPIO pins of the Pi to the Nextion. It's actually really easy, pins 4, 6, 8 and 10, but it took me an age to find that information on the web. Onthe Pi 4B the GPIO pins are numbered from the top (the opposite end from the USB and Ethernet connectors) with odd numbers on the left and even on the right. There are plenty of diagrams on the web. So pin 4, which is +5V is the second one down on the right, pin 6 is next down and 0v, then pin 8 which is transmitted data from the Pi, and pin 10 is received data to the Pi. The Nextion display came with a cable with a connector for the display. This has red for +ve, blue for data from the display, yellow for data to the display and black for 0V. So this is what I ended up with: With all that done (I say all, it's just 4 wires!) the screen came on when the Pi was powered up. The screen displayed some default moving imagery but nothign from WPSD. I had vague memories now that you need to stop the Pi running a login shell for the serial port. The Pi is running Bookworm, options may differ but running sudo raspi-conf and selecting 3 Interface Options and then I6 Serial Port allows one to select No for login shell and then Yes for enabling the serial port hardware. This is a vital step I had forgotten. I set WPSD to use the attached display as /dev/ttyAMA0 and the G4KLX layout. Still nothing from WPSD. More searching all over the place and I re-learned another vital step I had forgotten - you need to install code directly onto the Nextion screen which turns it into a display able to take data fed from the hotspot. The screen has an SD card slot specifically for this. More searching and I found some Nextion files from G4KLX as a starter. There is a set of tft files which are the code for the Nextion and need to match the screen - NX4024T032 in my case. I downloaded this to an SD card, turned the Pi off, put the SD card in the Nextion's slot, powered the Pi and the Nextion told me the file was too old. Oh good. And all the others I found on the web failed the same way. So the next step was to use the Nextion editor to convert the relevant HMI file to a new tft. This is Windows only software. Will it run under Wine? No! I do not have a Windows PC. The wife's…

Continue reading...