mmdvm and Pi-Star setup (Amateur Radio digital voice hotspot for DSTAR, DMR and other modes) – part 1

After setting up an SD Card with the Pi-Star image, booting it up and then hitting http://pi-star.local in a browser on my laptop, I used the default userid ‘pi-star’, password ‘raspberry’ to get to the dashboard page and set up the modes you want to operate. For this part of the setup I followed many of the existing guides and videos online, some of which I collected together here, but the best guide I found was this one by KE0FHS.

mmdvm board

The OLED display only appears to be active when on wifi, and is not active when on a wired connection. I setup mine on a wired connection first and was fiddling with the different display settings. When I had setup the wifi though and the rebooted with only wifi, then the screen started working. This is not obvious, but I think I read comments elsewhere that this is the expected behavior.

mmdvm board working on a Pi3, before moving to Pi Zero W

Some mmdvm boards are configured with a tx/rx offset (from photos online, usually indicated with a sticker on the board), but mine apparently had zero offset (it also didn’t have a sticker), and from watching the board transmit using my SDRPlay, when it was receiving DSTAR traffic from the Reflector I set it on it was transmitting locally spot-on frequency. Pi-Star showed it on 438.800Mhz, and it was right on the money.

Setting up a DV/DR repeater memory on my Icom 880 radio with the correct settings was absolutely key to getting everything working. It’s been a few years since I’ve used DSTAR, and it’s a good job I kept some notes here as it would have take hours to work out this again. Key settings to get this working were:

  • The hotspot repeater name of ‘KK6DCT B’ needed to be set EXACTLY in the repeater name setting for the DV memory setting on the radio, otherwise keying up the radio wouldn’t even appear on the mmdvm status page and it seems the transmissions are completely ignored by the hotspot (presumably because it’s not hearing traffic matching it’s own hotspot name so this is probably intentional)
  • Using the GRP UR setting on the 880 to send BOTH RPT1  (KK6DCT B) and RPT2 (KK6DCT G) values was key to getting my transmissions sent out across the internet gateway and to the reflector. I remember working this out before (link above), but this is key, as any of the other GRP * modes on the Icom 880 will not get your transmissions relayed out to the DTAR network

Once I had the above settings configured on my radio, transmitting on my Icom 880 I saw myself popup on the REF001 activity last heard list, so looking good so far:

Just as I was typing this (8/14/18 12am local time) I heard JI3IBK (Op = Masa) call CQ on REF001 so I returned his call and we had a quick QSO, and confirmed my setup is good, audio quality is good, so I’m pleased it’s all setup and working good, and I just had my first DSTAR QSO via my mmdvm hotspot!

Next steps are to solder the headers onto my new Pi Zero and move the mmdvm board from my Pi3 across to the Zero, and then put it in the custom aluminum case, and then my hotspot will be all set!

mmdvm useful setup references (Amateur Radio hotspot)

I’ve got a mmdvm board (Multi-mode Digital Voice Modem) on order – it’s an Amateur Radio hotspot for digital voice modes, such as DSTAR and DMR. While waiting for it to arrive I’m collecting together some useful links to help with the setup and config.

Excellent high level overview of digital voice hot spots in general: https://www.toshen.com/ke0fhs/hotspots.htm

Pi-Star – hotspot control software for the mmdvm board: https://www.pistar.uk/

http://arec.info/dmrplus-mmdvm-setup/

Pi-Star setup notes: https://www.toshen.com/ke0fhs/pi-star.htm

mmdvm hat assembly on Raspberry Pi: http://m0taz.co.uk/tag/mmdvm_hs-pi-hat/

ircDDB Android remote control app: https://www.youtube.com/watch?v=5Qghl-wMikQ

Setting up a Raspberry Pi SD card with some Amateur Radio related apps

Gert KK6ZGA asked if I could set up an SD Card for her Raspberry Pi with including a few Amateur Radio apps. Rather than just install a bunch of random apps and hand it back, I thought it may be useful to document the setup steps for others as a reference in case anyone else is interested in doing something similar.

First steps, installing an OS – the SD card was blank, so first step I installed Raspbian from here: https://www.raspberrypi.org/downloads/raspbian/

… and then wrote the .img to the sd card with the dd util (notes on how to do this here , If on Windows there are utilities you can download to help you burn an image to an sd card, Google for help with these).

With my LG monitor it doesn’t recognize the HDMI output from the Pi unless you tweak the settings in config.txt to boost the output signal. I’ve covered this before here.

Booting up for the first time, the keyboard is configured by default for GB_en locale and UK keyboard layout (which makes it difficult to find some symbols on a US keyboard like ‘$’, so I have notes on how to switch this to US_en using raspi-config here.

For future reference, I have a number of other Raspberry Pi related getting started posts here.

Raspbian by default is configured to boot to a graphical desktop and to logon automatically with the default userid/password (pi / raspberry) – you should change your password on first boot. You can change this option in raspi-config too if you’d like to boot to a shell, or require logon at boot.

After first boot and the initial setup above, the list of apps I thought would be useful to install is most of what I covered in my July 2016 presentation at one of our RCARS club meetings on using a Raspberry Pi with  amateur radio. Here’s each of the apps I installed and how to start/use them:

  • Installed xlog:
    • sudo apt-get install xlog
    • To start, double-click the icon on the desktop
  • Installed cqrlog
    • sudo apt-get install cqrlog
    • To start, double-click the icon on the descktop

There’s many things you can do with with RTL-SDR (you’ll need a RTL-SDR dongle to take advantage of these), so here’s a couple of examples. Most of these are command line only, from the Terminal, which you can open from the desktop here:

  • dump1090 receives and decodes ADS-B transponder signals from airplanes flying overhead (depending on your antenna, within about a 100 mile radius) on 1.090Ghz. To run, there’s a couple of different modes.

‘Interactive’ mode is started like this from a terminal, first ‘cd dump1090’ then:

./dump1090 –interactive

You’ll see a display like this that updates every second, showing decoded info from received ADS-B transponder signals:

‘Net’ mode displays the received signals via a webpage. You’ll need the Pi to be on a network, either wired or wifi, and you’ll need to know your Pi’s IP address (which you can find by running ‘ifconfig’ in a Terminal). Run this with:

./dump1090 –net –quiet

And then point a browser at your Pi’s IP address on port 8080 (e.g. assuming your IP is 192.168.1.75, http://192.168.1.75:8080) and you’ll see the received signals plotted like this:

Received signals including latitude and longitude location info are plotted on the map, other signals with no location info are displayed in the table on the right.

Other things you can do with rtl-sdr utils: rtl_fm allows you to tune to a specific frequency and decode the FM modulation, and with a combination of piping the data to your audio out if you have speakers attached to the Pi’s audio output, you can receive FM signals and output the audio like this (scroll to the right for the whole command):

rtl_fm -f 96.9M -M wbfm -s 200000 -r 48000 | aplay -r 48k -f S16_LE

This tunes the RTL-SDR to 96.9Mhz, uses wideband FM, a sample rate (I think) of 200000, pipes the audio ‘|’ into aplay to play the audio stream. Take a look at the RTL-SDR docs here for more info on the options.

Hopefully this is a few things to get you started 🙂

Slides from RCARCS 7/3/18 meeting: Intro to FT8 Digital Mode

I presented an overview of the incredibly popular FT8 digital mode at the River City ARCS club meeting on 7/3/18.

Here’s a copy of my slides:

Instead of disassembling my HF station and taking it into the meeting, I tried something different and demo’d using the mode (to receive) using WebSDR, and to transmit using a remote station provided by www.remotehamradio.com . We operated the W1/Chaplain, CT station on the East coast, and worked 3 stations in Europe – HA1RB, DL2LDE and DG6YID during the meeting. From this East coast station the 40m section where FT8 is operated on 7.074Mhz was completely packed from edge to edge on the waterfall!