

Mmdvm hs hat
MMDVM_HS Hat for the Raspberry Pi (Zero)
- Size
- 65.1 × 30.2 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 144
- Nets
- 68
- Pads
- 377
- Tracks, vias
- 574, 34
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 18 May 2017
- Updated
- 27 Nov 2023
Overview
Mmdvm hs hat is an open-source printed circuit board by mathisschmieder, from the mathisschmieder/MMDVM_HS_Hat repository on GitHub. It is a 2-layer board of 65.1 × 30.2 mm with 144 parts on 68 nets, routed with 574 tracks and 34 vias.
It is built around the STM32F103C8T6. Its parts include 31 capacitors, 19 resistors, 9 diodes, 6 inductors and 4 connectors. It belongs with the STM32 and Raspberry Pi (Linux) boards of this library.
Main components
1README
README.mdMMDVM_HS_Hat
MMDVM_HS Hat for the Raspberry Pi (Zero)
This project provides a Raspberry Pi Hat for the MMDVM_HS Hotspot. It was designed for the Raspberry Pi Zero, but should work on any other Pi with the Hat interface.
First revisions of the board have been built successfully!

The PCB is designed in KiCad and the necessary libraries are included. The supplied Gerber files can be used to order PCBs, for example at Elecrow or DirtyPCBs. The board's dimensions are 65x30mm.
You can order 3 beautiful, purple Revision 1.2 PCBs for $15 at OSHPark!
3D printed Case

Thanks to Toufik, F0DEI we added the sources for a shiny case that you can print with your 3D printer. It may require a little upscaling depending on your printer model. It can carry a Raspberry Pi Zero (W) with MMDVM_HS_Hat (SMA) on top.
Revisions
Revision 0
This was the first released version that still contains a couple of errors. There is a trace missing between L1 and C1 that needs to be fixed with a small blob of solder or magnet wire. Otherwise the RF connector is not connected to the ADF7021. The GND side of C20 and C22 is not connected to the rest of the board's GND, this needs to be fixed with a little wire to any other GND. CE is connected directly to +3.3V which disallows mode scanning to work. If you just use one mode this is fine, otherwise the connection to the CE pin has to be cut and connected to PC14 on the STM32.
Earlier schematics showed C14 as 1uF. This is wrong and needs to be replaced with 1nF, otherwise the ADF7021 will neither receive nor transmit properly.
With these changes, you can build a fully working MMDVM_HS with the old revision 0 boards
Revision 1
These boards have "Revision 1" written on them. All bugs found in revision 0 are fixed in this version. Apart from that, the STM32's BOOT0 and RESET pins are connected to GPIOs of the Raspberry Pi. This way, flashing should be possible without manually jumpering BOOT0 and triggering a reset.
Component placement did not change between revisions 0 and 1, therefore any stencils for revision 0 should work for revision 1 boards, too.
Revision 1.1
Rewired 3v3 line for Nextion display connector to 5v0. Added SERVICE LED for visual heartbeat. Fixed improper labelling on P25 and YSF LEDs. Due to added LEDs this revision requires a new stencil.
Revision 1.2
This Revision adds support for an optional AN1603-443 ceramic antenna. Insert C27 or C28, depending on what kind of antenna you want to use.
Revision 1.3
The boot jumper was removed and the STlink header moved to its position. This gave space for another 4-pin header allowing to connect I²C OLED displays. No new stencil needed
Revision 1.4
The SVC LED has been rotated and thus aligned to the layout of all other LEDs. The RainSun ceramic antenna has been replaced by a model that can be ordered at Mouser. DC line filtering has been added to 3v3 line.
Revision 1.5
A fith mode LED has been added to the board to show NXDN activity. The two pin headers moved downwards a little. The rev1.4 stencil can be re-used if you manually add solder paste to R19 and D9 afterwards.
Revision 1.6
Inner RX/TX pins of Nextion connector have been swapped. External VCO inductor L6 was added. This is optional for VHF use. D-Star and DMR LEDs were swapped to flash LEDs in proper scan order :).
BOM
- All necessary parts for the Revision 1.1 board can be ordered at Mouser using the following shopping cart
- All necessary parts for the Revision 1.2 board can be ordered at Mouser using the following shopping cart
- There is also a light version of revision 1.2 without the reset switch, 2.54mm headers and SMA connector Link
- The parts for Revision 1.3 board are in this Mouser cart and the light version is here
- Mouser project for MMDVM_HS_Hat revision 1.4
- There is another Mouser cart for rev 1.5.
- And this is the rev1.6 cart and its light version.
Please note that the onboard ceramic antenna is not supplied by Mouser and therefore missing in the carts for revisions up to 1.3.
Either the ADF7021 or the ADF7021-N can be used. Define the proper version in the firmware!
Firmware Installation
Compile and upload manually
For specific details about the firmware installation, check these instructions. The process is similar to the installation on the ZumSpot Pi.
Enable the following settings in Config.h:
#define MMDVM_HS_HAT_REV12
#define ENABLE_ADF7021
#define ADF7021_14_7456
#define STM32_USART1_HOST
#define ENABLE_SCAN_MODEBuild the firmware:
makeAnd finally upload the firmware to the MMDVM_HS_Hat:
sudo make mmdvm_hs_hatUpdate within Pi-Star
Andy, MW0MWZ was so kind as to add a script which allows for updating the firmware of the MMDVM_HS_Hat within the running Pi-Star system. It uses the pre-compiled binaries from Andy's (CA6JAU) github repository. The update can be done with:
$ pistar-zumspotflash hs_haton the command line.
Accessoires
-
A case for the #MMDVM_HS_Hat can be found at amazon: Case
-
An OLED display also to be found at amazon: Display
License
This project is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 (CC-BY-NC-SA 3.0, https://creativecommons.org/licenses/by-nc-sa/3.0/) license. You may edit and share it as you like, as long as credit is given and the license is not changed. You can build as many boards for you and your friends as you like and you can even sell it to them to cover your costs, however it is strictly forbidden to turn this into a commercial product! You are not allowed to build and sell these boards for profit!
Parts
144| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 1k | Resistors_SMD:R_0402 | R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19 |
| 11 | 100n | Capacitors_SMD:C_0402 | C8, C10, C15, C16, C20, C24, C25, C26, C27, C28, C29 |
| 6 | 10n | Capacitors_SMD:C_0402 | C2, C7, C9, C17, C19, C22 |
| 3 | red | LEDs:LED_0402 | D1, D4, D8 |
| 2 | 10k | Resistors_SMD:R_0402 | R1, R7 |
| 2 | 20p | Capacitors_SMD:C_0402 | C21, C23 |
| 2 | 6p8 | Capacitors_SMD:C_0402 | C1, C6 |
| 2 | Fiducial_1mm_Dia_2.54mm_Outer_CopperTop | Fiducial:Fiducial_1mm_Dia_2.54mm_Outer_CopperTop | , |
| 2 | green | LEDs:LED_0402 | D2, D5 |
| 2 | yellow | LEDs:LED_0402 | D3, D6 |
| 1 | 10p | Capacitors_SMD:C_0402 | C4 |
| 1 | 10u | Inductors_SMD:L_0402 | L5 |
| 1 | 10u | Capacitors_SMD:C_0402 | C31 |
| 1 | 10u/10V | Capacitors_Tantalum_SMD:CP_Tantalum_Case-A_EIA-3216-18_Reflow | C30 |
| 1 | 13n | Inductors_SMD:L_0402 | L3 |
| 1 | 15n | Capacitors_SMD:C_0402 | C13 |
| 1 | 18n | Inductors_SMD:L_0402 | L6 |
| 1 | 1k1 | Resistors_SMD:R_0402 | R2 |
| 1 | 1n | Capacitors_SMD:C_0402 | C14 |
| 1 | 20n | Inductors_SMD:L_0402 | L2 |
| 1 | 220p | Capacitors_SMD:C_0402 | C3 |
| 1 | 22n | Capacitors_SMD:C_0402 | C11 |
| 1 | 22n | Inductors_SMD:L_0402 | L1 |
| 1 | 22p | Capacitors_SMD:C_0402 | C18 |
| 1 | 270 | Resistors_SMD:R_0402 | R6 |
| 1 | 27n | Inductors_SMD:L_0402 | L4 |
| 1 | 3k8 | Resistors_SMD:R_0402 | R3 |
| 1 | 3r9 | Resistors_SMD:R_0402 | R4 |
| 1 | 470p | Capacitors_SMD:C_0402 | C12 |
| 1 | 4p7 | Capacitors_SMD:C_0402 | C5 |
| 1 | 560 | Resistors_SMD:R_0402 | R5 |
| 1 | 8MHz | Crystals:Crystal_SMD_Abracon_ABM3-2pin_5.0x3.2mm | Y1 |
| 1 | ADF7021 | Housings_DFN_QFN:QFN-48-1EP_7x7mm_Pitch0.5mm | U1 |
| 1 | CERAMIC_ANTENNA | MMDVM:ANT1204 | AE1 |
| 1 | DISPLAY | Pin_Headers:Pin_Header_Straight_1x04 | P2 |
| 1 | DNI | Buttons_Switches_SMD:SW_SPST_B3U-1000P | SW1 |
| 1 | I2C | Pin_Headers:Pin_Header_Straight_1x04 | P1 |
| 1 | LOGO | MMDVM:Logo_silk_CC-BY-NC-SA_5x2mm | G*** |
| 1 | LOGO | MMDVM:MMDVM_logo | G*** |
| 1 | RPI-ZERO | pizero:RPI-Zero-RASPBERRYPI_BASTELSTUBE_V13_RASPI_BOARD_B+_FULL | PI1 |
| 1 | SMA | Connectors:SMA_THT_Jack_Straight | P3 |
| 1 | STLINK | Pin_Headers:Pin_Header_Straight_1x04 | P4 |
| 1 | STM32F103C8T6 | Housings_QFP:LQFP-48_7x7mm_Pitch0.5mm | U2 |
| 1 | TCXO | Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm | X1 |
| 1 | amber | LEDs:LED_0402 | D7 |
| 1 | blue | LEDs:LED_0402 | D9 |
The 80 most common of 144 parts.
More from mathisschmieder/MMDVM_HS_Hat
1- 4 layers65.1 × 30.2 mm

Similar boards
- 4 layers42 × 42 mm

- 2 layers65 × 56 mm

- 2 layers98 × 38 mm

Bldc control ver3
pekkaroi/bldc-drive
Cheap and simple brushless DC motor driver designed for CNC applications using STM32 microcontroller
68 parts199GPL-2.0 - 2 layers68 × 40 mm

Stm32-io extend
hardenedlinux/cheap-pcb
Cheap PCB: Better understanding the current status of hardware supply chain
44 parts170CC0-1.0 - 4 layers126.6 × 37.7 mm

Gruzik2.0
NYDEREK/LineFollower_GRUZIK2.0-light
GRUZIK2.0 is simple light construction made for "line follower light" competition
50 parts101MIT - 2 layers100 × 85 mm

- 2 layers30 × 49.3 mm

USB PD monitor V1
lhm0/pd_logger
This repository contains two DIY gadgets to monitor and log USB-C Power Delivery (PD). Both devices are designed to be easy to build, hackable, and useful for makers who want to explore USB-C PD.
34 parts82 - 2 layers41 × 36 mm

Questions
How big is the Mmdvm hs hat PCB?
It measures 65.1 × 30.2 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Mmdvm hs hat use?
144 parts, built around the STM32F103C8T6. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Mmdvm hs hat KiCad files?
From the mathisschmieder/MMDVM_HS_Hat repository on GitHub, at the commit this page was made from: the board is hardware/r1.6/mmdvm_hs-hat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Mmdvm hs hat design in my own project?
Its repository states no licence, so its author keeps all rights: ask mathisschmieder before reusing the design.