Setting up a MMDVM Hotspot with Raspberry Pi4

Purchases and notes

  • Power supply – Of importance that it is 3.5A.  I chose the Argon though I also saw the CanaKit 3.5A Raspberry Pi 4 Power Supply recommended.  I liked the Argon on/off switch.
  • Raspberry Pi4b
  • MMDVM Dual Hat – From research, most of the Chinese ones will be the same modem selection/firmware.
  • MicroSD Card – I read as little as 4gb can be used but 16gb is about the same price.
  • Case
  • Wi-Fi Adapter
Read more: Setting up a MMDVM Hotspot with Raspberry Pi4

Prep SD Card

You can chose to prep the card with either Pi-Star or WPSD, but Pi-Star no longer pushes out updates.  The commands, passwords, interface between the two are similar enough that if you need help from Pi-Start tutorials, most easily passes over to WPSD.  The major advantage with WPSD is it was really easy to upgrade/flash the modem firmware from dashboard and access SSH.

  1. Download WPSD – https://w0chp.radio/wpsd/#download-wpsd – specifically: WPSD_RPi-Bookworm.img.xz
  2. To install image on SD card, download and install Balena Etcher.  
    1. Open Balena, select image, card, and flash. 
    1. When complete, remove card and insert it again so it appears on computer drives.
  3. Create wi-fi config. This makes it so that the WPSD automatically knows your Wi-Fi network and password and connects.  Then to configure your hotspot, all you have to do is access it via browser.
    1. Use generator to create a config file and save. 
    1. Copy file to SD card

Assemble

  1. I did a quick view of Smoking Ape’s video, but it basically amounts to linking up the pins and carefully mounting your MMDVM on top.
  2. Insert SD card on underside, near edge you should see a slot.
  3. Add power supply and plug in.

Configure

Allow the hotspot a few minutes to boot and then go to: http://wpsd.local

Usernamepi-starPasswordraspberry

Pre-requisites:

  1. DMR Radio Id.  Free, just register: https://www.radioid.net/
  2. Your callsign
  3. Brandmeister password. Free, just register: https://brandmeister.network/. Password set under SelfCare / Hotspot Security.

Configurations:

The ones I changed:

General Configuration 
Hostnamewpsd (can be changed)
Node Callsign(your ham callsign)
DMR/CCS7 ID(id received via radioID.net)
 
Radio ModeSimplex (for now)
Radio FrequencyIf you are using a codeplug, cross check by going to a channel, checking its frequency and using that here.  That way it’ll point to your hotspot.
Radio/Modem TypeMMDVM_HS_Dual_Hat (DB9MAT, DF2ET & D07EN) for Pi (GPIO). 
 
Modem Baud Rate115200 (This was incorrectly guessed at first by out of box setup to 460800.  If this is incorrect, DMR will not light up)
System Time Zone(your info)
Dashboard Language(your info)
  
Node Location & Info Settings 
Latitude(your info)
Longitutde(your info)
.. 
Town(your info)
Country(your info)
  
Main Radio Modes 
DMRSwitch ON
  
MMDVMHost/Modem Display Configuration 
MMDVM Display TypeOLED Type 3 (0.96” screen) Port: /dev/ttyAMA0
Layout TypeG4KLX
  
BrandMeister Network Settings 
BrandMeister MasterBM_3103_United_States
BM Hotspot Security(password you created on BM site)
 
Edit Hotspot/RepeaterClicking this should take you to the BM website and show you your device.  If your device is not found, you’ll need to do some upgrades on the modem via this same dashboard.
  
General DMR Settings 
Color CodeMake sure this matches the channel info as well like frequency above.

How do you know the upgrade worked?

  1. The display will appear with WPSD
  2. On dashboard both DMR and DMR Net are green.
  3. TXCO Freq and Modem on dashboard have values.  On a previous upgrade, the flash was successful but no TXCO Freq would show.  It’d just say:  “Updating, please wait…”
  4. In Configuration, click on Edit HotSpot/Repeat under BrandMeister settings.  The site should now recognize your device.

Upgrading Your Modem Firmware:

You can double check your MMDVM board for hints at what modem you have if you did not purchase the same as mine.  My particular manual/paperwork with this modem was not correct.  From what I’ve read the majority of the Chinese models use the same one I use below.  If you need to test more, you can simply return to the dashboard and try again.  When I tried an incorrect one it simply said flashing.. then FAILED: ERROR and I was able to try again.

  1. On menu, go to Advanced > (submenu) Tools > Modem Firmware Upgrade
  2. MMDVM_HS_Dual_Hat (14.7456MHz TCXO) GPIO
  3. Upgrade Modem
  4. Allow about 5-10 minutes for it to flash.  Once or twice while testing it was very excessive (15?+ minutes and I had to power off and power on and try a different modem).

Assembling the Case

This all went according to plan but two notes:

  1. Don’t forget to screw in step 1 into the rubber feet
  2. Remove the MMDVM Hat for placement into the case.  The Raspberry Pi board should snuggle in cozy between steps 4-5.
  3. Your provided with two port cut outs, choose the one that’s appropriate for your Raspberry pi version.
  4. Steps 8-9 look identical, but I noticed a difference in thickness.
    1. Step 8, I used the thinnest layer and then mounted the MMDVM.  This allowed for little to no gap between the pins.
    1. I laid down the hat then continued with 9 and 10, from thinnest to thickest, 10 being the thickest.
  5. There was a bit of a gap but just lightly holding the screws flat on step 12 and screwing the long screws in gently, the parts settled and left no gap.

Leave a Reply