Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathisschmieder/MMDVM_HS_Hat
MMDVM_HS Hat for the Raspberry Pi (Zero)
https://github.com/mathisschmieder/MMDVM_HS_Hat
Last synced: 8 days ago
JSON representation
MMDVM_HS Hat for the Raspberry Pi (Zero)
- Host: GitHub
- URL: https://github.com/mathisschmieder/MMDVM_HS_Hat
- Owner: mathisschmieder
- Created: 2017-05-18T18:03:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T09:30:31.000Z (12 months ago)
- Last Synced: 2024-08-02T00:22:23.986Z (4 months ago)
- Size: 45.2 MB
- Stars: 170
- Watchers: 48
- Forks: 42
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hamradio - MMDVM_HS_HAT
README
# MMDVM_HS_Hat
MMDVM_HS Hat for the Raspberry Pi (Zero)This project provides a Raspberry Pi Hat for the [MMDVM_HS Hotspot](https://github.com/juribeparada/MMDVM_HS). 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](https://github.com/mathisschmieder/MMDVM_HS_Hat/blob/master/mmdvm_hs-hat.png)
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](https://oshpark.com/shared_projects/WaiMw5XE)!
## 3D printed Case
![Case](https://pbs.twimg.com/media/DNj-LUiXcAEf-Xt.jpg)
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](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=780b8eac44)
* All necessary parts for the Revision 1.2 board can be ordered at Mouser using the following [shopping cart](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=035e777242)
* There is also a light version of revision 1.2 without the reset switch, 2.54mm headers and SMA connector [Link](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=3f7d0256e1)
* The parts for Revision 1.3 board are in this [Mouser cart](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=250d76339b) and the light version is [here](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=2d533ac53d)
* [Mouser project](http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=5cab954f40) for MMDVM_HS_Hat revision 1.4
* There is another [Mouser cart for rev 1.5](https://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=5a3e4ae018).
* And this is the [rev1.6 cart](https://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=48302f4221) and its [light version](https://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=ac888de33a).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](https://github.com/juribeparada/MMDVM_HS#build-de-firmware-and-upload-to-zumspot-rpi) 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:
make
And finally upload the firmware to the MMDVM_HS_Hat:
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:
```
$ pistar-zumspotflash hs_hat
```on the command line.
## Accessoires
* A case for the #MMDVM_HS_Hat can be found at amazon: [Case](https://www.amazon.de/Hochwertiges-schwarzes-auml-uuml-Raspberry/dp/B01FHDXNNU)
* An OLED display also to be found at amazon: [Display](https://www.amazon.de/dp/B01M9JVYIS/ref=cm_sw_r_wa_api_RmZ9zb01APZTV)
## 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!**