Skip to the content
2 layers65.1 × 30.2 mmMmdvm hs hat, the printed circuit board in 3D

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

1

README

README.md

MMDVM_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!

PCB

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

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:

text
#define MMDVM_HS_HAT_REV12
#define ENABLE_ADF7021
#define ADF7021_14_7456
#define STM32_USART1_HOST
#define ENABLE_SCAN_MODE

Build the firmware:

text
make

And finally upload the firmware to the MMDVM_HS_Hat:

text
sudo make mmdvm_hs_hat

Update 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:

text
$ pistar-zumspotflash hs_hat

on 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
QtyValueFootprintReferences
121kResistors_SMD:R_0402R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19
11100nCapacitors_SMD:C_0402C8, C10, C15, C16, C20, C24, C25, C26, C27, C28, C29
610nCapacitors_SMD:C_0402C2, C7, C9, C17, C19, C22
3redLEDs:LED_0402D1, D4, D8
210kResistors_SMD:R_0402R1, R7
220pCapacitors_SMD:C_0402C21, C23
26p8Capacitors_SMD:C_0402C1, C6
2Fiducial_1mm_Dia_2.54mm_Outer_CopperTopFiducial:Fiducial_1mm_Dia_2.54mm_Outer_CopperTop,
2greenLEDs:LED_0402D2, D5
2yellowLEDs:LED_0402D3, D6
110pCapacitors_SMD:C_0402C4
110uInductors_SMD:L_0402L5
110uCapacitors_SMD:C_0402C31
110u/10VCapacitors_Tantalum_SMD:CP_Tantalum_Case-A_EIA-3216-18_ReflowC30
113nInductors_SMD:L_0402L3
115nCapacitors_SMD:C_0402C13
118nInductors_SMD:L_0402L6
11k1Resistors_SMD:R_0402R2
11nCapacitors_SMD:C_0402C14
120nInductors_SMD:L_0402L2
1220pCapacitors_SMD:C_0402C3
122nCapacitors_SMD:C_0402C11
122nInductors_SMD:L_0402L1
122pCapacitors_SMD:C_0402C18
1270Resistors_SMD:R_0402R6
127nInductors_SMD:L_0402L4
13k8Resistors_SMD:R_0402R3
13r9Resistors_SMD:R_0402R4
1470pCapacitors_SMD:C_0402C12
14p7Capacitors_SMD:C_0402C5
1560Resistors_SMD:R_0402R5
18MHzCrystals:Crystal_SMD_Abracon_ABM3-2pin_5.0x3.2mmY1
1ADF7021Housings_DFN_QFN:QFN-48-1EP_7x7mm_Pitch0.5mmU1
1CERAMIC_ANTENNAMMDVM:ANT1204AE1
1DISPLAYPin_Headers:Pin_Header_Straight_1x04P2
1DNIButtons_Switches_SMD:SW_SPST_B3U-1000PSW1
1I2CPin_Headers:Pin_Header_Straight_1x04P1
1LOGOMMDVM:Logo_silk_CC-BY-NC-SA_5x2mmG***
1LOGOMMDVM:MMDVM_logoG***
1RPI-ZEROpizero:RPI-Zero-RASPBERRYPI_BASTELSTUBE_V13_RASPI_BOARD_B+_FULLPI1
1SMAConnectors:SMA_THT_Jack_StraightP3
1STLINKPin_Headers:Pin_Header_Straight_1x04P4
1STM32F103C8T6Housings_QFP:LQFP-48_7x7mm_Pitch0.5mmU2
1TCXOCrystals:Crystal_SMD_3225-4pin_3.2x2.5mmX1
1amberLEDs:LED_0402D7
1blueLEDs:LED_0402D9

The 80 most common of 144 parts.

More from mathisschmieder/MMDVM_HS_Hat

1
  • 4 layers65.1 × 30.2 mmMmdvm hs hat, the printed circuit board in 3D

    Mmdvm hs hat

    mathisschmieder/MMDVM_HS_Hat

    MMDVM_HS Hat for the Raspberry Pi (Zero)

    91 parts201

Similar boards

  • 4 layers42 × 42 mmHuvud, the printed circuit board in 3D

    Huvud

    bondus/KlipperToolboard

    A 3D printer tool head controller board

    126 parts373GPL-3.0
  • 2 layers65 × 56 mmMMDVM HS Dual Hat, the printed circuit board in 3D

    MMDVM HS Dual Hat

    phl0/MMDVM_HS_Dual_Hat

    Duplex variant of MMDVM_HS_Hat

    216 parts218
  • 2 layers98 × 38 mmBldc control ver3, the printed circuit board in 3D

    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 mmStm32-io extend, the printed circuit board in 3D

    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 mmGruzik2.0, the printed circuit board in 3D

    Gruzik2.0

    NYDEREK/LineFollower_GRUZIK2.0-light

    GRUZIK2.0 is simple light construction made for "line follower light" competition

    50 parts101MIT
  • 2 layers100 × 85 mmVNA, the printed circuit board in 3D

    VNA

    profdc9/VNA

    Vector Network Analyzer based on the STM32F103C8T6 bluepill

    178 parts93
  • 2 layers30 × 49.3 mmUSB PD monitor V1, the printed circuit board in 3D

    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 mmSimpleTM32, the printed circuit board in 3D

    SimpleTM32

    pms67/STM32F1-Breakout-Board

    USB-powered STM32F1-based breakout board.

    26 parts82MIT

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.