* Raspberry Pi / [Pi-Star](https://www.pistar.uk/) / MMDVM Hotspot
The process will be the following:
* Modification of the MD380: In order to transmit M17 audio, the radio needs to be modified so the MCU has direct access to the mic without the audio being routed over the HR_C5000.
* Installation of OpenRTX on the MD380
* Modification of the Pi-Star installation
* Upgrading the MMDVM firmware to at least v1.6.0
## Disclaimer and Thanks
First of all: None of this is my work. It is just a documentation of how I implemented the work of others. Furthermore, I would not have come far without the help of multiple devs and users of the M17 and OpenRTX project. Some but not all of them are DL5SMB, IU2KWO, IU2KIN, IU5BON, tarxvf. Thank you!
Another thing: If you follow these instructions you might:
Furthermore, **the MD380 will only be able to transmit audio** and will not be able to transceive/decode yet. This will be added in future OpenRTX releases.
The modification of the TYT MD380 is described [here in great detail](https://openrtx.org/#/md380_mods) and would normally need no further explaination. If you compare the images on the linked website with how my modification looks like, you will notice some differences:
**Difference 1:** I don't have any SMD components, which is why I performed the "Mic -> MCU" mod (upper part in the picture) with a regular resistor. Make sure that the resistance is positioned in such a way that it does not press against the display during / after assembly.
Afterwards, use [IU5BON's patch script (Github)](https://github.com/nolith/Pi-Star_Binaries_sbin/wiki) to path your Pi-Star installation with everything needed for M17:
The following command starts the M17 Gateway service:
```
# sudo systemctl start m17gateway.service
```
Now enable M17 in your dashboard:
![image](/img/m17_pi_star_config1.jpg)
Afterwards, configure the M17 gateway service to your likings. You can find the settings under "Expert/M17 GW". The URL is: http://<HOTSPOT_IP>/admin/expert/fulledit_m17gateway.php
![image](/img/m17_pi_star_config2.jpg)
## Updating MMDVM
The following steps might vary depending on what MMDVM modem you are using. I am using the default Chinese eBay variant that can be plugged on eg. on a Raspberry Pi Zero and is often sold in combination with a metal enclosure and a OLED screen, the MMDVM_HS_HAT.
Connect to your Pi-Star via SSH and switch the filesystem to rw mode:
Since this solution has so far only made it possible to send and not to receive M17 audio with the MD380, you also need an additional software like [Droidstar](https://github.com/nostar/DroidStar). This way you can send with the MD380 and receive via Droidstar. Decoding M17 audio will be added in future releases of OpenRTX.