Radio, railways, stuff...

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...
M0RVB

Farewell Hamshack Hotline

All good things come to an end - Hamshack Hotline has closed down and the first of four lights on my SIP phone has gone out. Sad. I had been using the service for some time and I actually purchased a Cisco SIP phone from eBay specifically for it. In the end my 4-line SIP phone had all its lights lit as I also got numbers for Freestar, Hams over IP, and CNET which I replaced with Amateurwire later on. The phone seemed to lock up once the service was switched off - no idea if that was actually the cause as I disabled the line after a reboot. I also remembered to remove Hamshack Hotline from my Groundwire app. Of course, being the first one I signed up to it is on the top of the four line buttons on the phone. Now I need to edit the config to move things about.

Continue reading...
M0RVB

Another toy, another mode...

The latest addition to the shack is a Connect Systems Inc CS7000-M17 Plus hand held radio. I got this because of interest in the M17 mode - see https://m17foundation.org/ generally for information. The radio came from KB Cubed in the US (https://www.kbcubed.com/), not solely because the price had been reduced but also they were able to ship to the UK whereas other suppliers could not, or as far as I found anyway. It comes with a USB programming lead that attaches to the side once a cover is removed. However, as it came with the M17 mode already installed I have not yet needed this. The radio, being the Plus model will also do DMR which means I may no longer need the MD380 but I have yet to try this out. As there is no M17 activity around here I also needed a hotspot. I run the excellent pi-star package for DMR and POCSAG but there is a future issue - the main branch of the MMDVM software will no longer support M17 and once pi-star updates my hotspot would cease to function. As there is a WPSD branch with M17 retained I decided to set up a hotspot specifically for M17. The only Pi HAT I had would not support M17 so I ordered a Zumspot USB device which is working fine. Like my other Pi systems this is PoE powered via a HAT.

Continue reading...