Difference between revisions of "Main Page"
Line 1,393: | Line 1,393: | ||
=== Install Desktop for Pi-Star and use HDMI output === | === Install Desktop for Pi-Star and use HDMI output === | ||
− | + | Preview: | |
[[File:RPi-Desktop-View.jpeg|800px]] | [[File:RPi-Desktop-View.jpeg|800px]] | ||
Line 1,422: | Line 1,422: | ||
#Here is for BPi-M2 | #Here is for BPi-M2 | ||
#sudo apt install -y kde-standard #for BPi installed Raspbian OS , auto login not need Run sudo raspi-config | #sudo apt install -y kde-standard #for BPi installed Raspbian OS , auto login not need Run sudo raspi-config | ||
+ | |||
+ | Reference: https://www.makeuseof.com/how-to-install-a-desktop-on-raspberry-pi-os-lite/ | ||
== Software download == | == Software download == |
Revision as of 05:46, 3 May 2023
Contents
- 1 Contact me Now
- 2 MMDVM'S Project information
- 3 MMDVM Setting guide
- 3.1 GPIO Definition
- 3.2 Raspberry Pi All Edition GIPO
- 3.3 Flash Pi-Star OS
- 3.4 Import config file
- 3.5 Dashboard Login
- 3.6 Config WiFi (to Network)
- 3.7 Config Static Talkgroup (to DMR BM Server)
- 3.8 Analysis and download running logs
- 3.9 Programming DMR Radios
- 3.10 Programming P25 Radios
- 3.11 Programming D-Star Radios
- 3.12 Programming YSF/C4FM Radios
- 3.13 Programming NXDN Radios
- 3.14 Programming POCSAG/Pager
- 3.15 Analysis Pi-Star OS Boot logs
- 3.16 How-to-enter-ssh
- 3.17 Simplex HOTSPOT
- 3.18 Duplex HOTSPOT
- 3.19 Repeater Board
- 3.19.1 Pi-Star Settings
- 3.19.2 Very Important Process: Calibration Frequency Offset
- 3.19.3 Simplex and Repeater diagram (Motorola 16 Pins and 20 Pins)
- 3.19.4 V3F4 Pinout define
- 3.19.5 COS LED bright means RX and TX work (in Duplex/repeater mode)
- 3.19.6 FT-7900/7800/8900 YAESU
- 3.19.7 FT-817/991/857D
- 3.19.8 FTM-100D/FTM-350/FTM-400D
- 3.19.9 DR-1X YAESU
- 3.19.10 GM3188/GM3688/CM140/CM340
- 3.19.11 GM338-CDM1250-CDM1550-CDM750-MCX760
- 3.19.12 ICOM IC-208H
- 3.19.13 ICOM IC-2720/IC-2820
- 3.19.14 GM300/M120 Motorola
- 3.19.15 SM50/SM120
- 3.19.16 GM340/GM350/GM360
- 3.19.17 GM950i Motorola
- 3.19.18 Kenwood TK8180 TK8185
- 3.19.19 Kenwood TM-451E
- 3.19.20 Kenwood TM-D700
- 3.19.21 Kenwood TM-271
- 3.19.22 Kenwood TM-V71A
- 3.19.23 Kenwood TKR-820 TKR-720
- 3.19.24 Kenwood TKR-850 TKR-750
- 3.19.25 Kenwood Other
- 3.19.26 XPR4550/M8268/XPR5550e DMR serial radio
- 3.19.27 XiR M3188/XiR M3688 DMR radio
- 3.19.28 Data radio FC302
- 3.19.29 MTR2000 Motorola
- 3.19.30 MCS2000
- 3.19.31 Tait TM8100
- 3.19.32 Tait TM8200
- 3.19.33 Tait T855-T857-T858
- 3.19.34 Huawei E403 SU450C
- 3.19.35 TYT-TH9000
- 3.19.36 Hytera RD982/RD980
- 3.19.37 Other Radio not test
- 3.19.38 Recommend Radio for MMDVM G4KLX
- 3.19.39 RadioCPS DMR radio templates
- 3.19.40 FM Analog mode
- 3.19.41 M17 Mode
- 3.19.42 Upgrade firmware
- 3.19.43 Troubleshooting Possible Error
- 3.19.44 Compile firmware
- 3.19.45 How to Debug RX and TX
- 3.19.46 Adjust TX Level with SDR
- 3.19.47 Adjust RX Level with MMDVMCal
- 3.19.48 Adjust RSSI Potentiometer
- 3.19.49 TX/RX/RV2/RSSI Potentiometer Reference
- 3.19.50 Config TalkGroup WhiteList
- 3.20 RadioCPS (Programming software), templates
- 3.21 MMDVM_BAT(Battery inside)
- 4 Advanced Settings
- 5 Nextion and OLED display
- 6 Radio for MMDVM
- 7 Pager 439.9875MHz
- 8 MMDVDM Server/Reflector build
- 9 DVSwitch + USRP + FM
- 10 DVSwitch + Mumble FM
- 11 MMDVM + OpenWrt
- 12 AllStarLink
- 13 Raspberry Pi for MMDVM
- 14 Software download
Welcome to BI7JTA'Wiki for MMDVM.
Begin December 1, 2019, I will continue update this WIKI page instead of Google blog, I am working on MMDVM just for my hobby, I am happy to share my knowledge and resources about MMDVM open source project.
What I provide? https://www.bi7jta.org/shop
Youtube https://www.youtube.com/winters_huang
Contact me Now
【E-Mail】 bi7jta@gail.com Facebook Message https://facebook.com/winters.cn
【Twitter】https://twitter.com/winters_cn
【YouTube】 https://www.youtube.com/c/WintersHuang
【Telegram】 https://t.me/bi7jta
【WhatsApp】 https://wasap.my/+8613927458201
MMDVM'S Project information
What I Sale
List: https://www.bi7jta.org/shop
Pi-Star for BPi-M2/M5
Project https://github.com/bi7jta/W0CHP-PiStar-ALL-BPiM2
Difference in Duplex Simplex
Blank ...
MMDVM Setting guide
GPIO Definition
Raspberry Pi/Banana Pi:
Nano NEO/AIR Pi:
Orange Pi:
More detail: http://mmdvm.bi7jta.org/search/label/GPIO
Raspberry Pi All Edition GIPO
Flash Pi-Star OS
Prepare your flash SD card(TF card)tools
SDFormatter: https://www.bi7jta.org/files/PiStarTools/SDFormatterv4.zip
Win32 disk image Writer: https://www.bi7jta.org/files/PiStarTools/win32diskimager-1.0.0-install.zip
For Raspberry Pi 2/3/4 http://www.pistar.uk/downloads/
For NanoPi NEO/AIR ,Orange Pi http://www.pistar.uk/beta/
- Need help? contact me any time https://www.bi7jta.org/contactus
- If you buy with TF card from BI7JTA, please ignore this step
Import config file
https://www.bi7jta.org/files/UserManuals/ConfigTemplate/
- This config with BI7JTA callsign and DMRID , you have to register your ID and change your BM Password. See also https://www.bi7jta.org/wiki/index.php?title=Main_Page#Advanced_Settings
- This config will replace your WIFI SSID with my WIFI , you must change your WIFI config , before reboot .
Dashboard Login
http://pi-str or http://your_DHCP-IP-address
User: pi-star Pass: raspberry
Config WiFi (to Network)
Youtube https://www.youtube.com/wintershuang
Config Static Talkgroup (to DMR BM Server)
Quickly steps:
Reference:
https://www.bi7jta.org/wiki/index.php?title=Main_Page#Set_Static_Talkgroups
See also Register RadioId
https://www.bi7jta.org/wiki/index.php?title=Main_Page#Register_DMRID
Analysis and download running logs
http://pi-star/admin/download_modem_log.php (Change the "pi-star" to your DHCP IP Address, such as 192.168.x.x)
- (Change the domain "pi-star" to your DHCP IP Address, such as 192.168.1.100, if pi-star can't visit)
Download in the Menu page.
EMAIL logs file to bi7jta@gmail.com , or Facebook IM: https://www.facebook.com/winters.cn
Programming DMR Radios
AnyTone878UV
PDF: https://www.bi7jta.org/files/UserManuals/Duplex%20hotspot%20User%27s%20Manual_v2020_12_23.pdf
Motorola XPR4550
P8668-M8268-XPR4550_cps software:
Hytera
TYT MD380
Baofeng DM5R
Programming P25 Radios
https://www.bi7jta.org/files/radioCPS_MMDVM/xts3000/
Programming D-Star Radios
Programming YSF/C4FM Radios
Programming NXDN Radios
https://www.bi7jta.org/files/radioCPS_MMDVM/NXDN/
Programming POCSAG/Pager
Analysis Pi-Star OS Boot logs
Use HDMI display (Recommend 1920x1080p), suit Raspberry Pi All Model
Upload a video to Youtube and EMAIL to bi7jta@gmail.com
Reference:
RaspberryPiZW Normal running Status https://www.youtube.com/shorts/lnc6mvMI3zw
The Normal Status of MMDVM boot up https://www.youtube.com/shorts/8y6x1uYFovY
How-to-enter-ssh
YouTube demo View from 1:16s https://www.youtube.com/watch?v=8cWUE_0eywQ&t=213s
Simplex HOTSPOT
PDF Download https://www.bi7jta.org/files/UserManuals/
Youtube Page https://www.youtube.com/wintershuang
Duplex HOTSPOT
PDF Download https://www.bi7jta.org/files/UserManuals/
Youtube Page https://www.youtube.com/wintershuang
Configure Static Talkgroup for DMR
See also:
https://www.bi7jta.org/wiki/index.php?title=Main_Page#Advanced_Settings
BER(Bit Error Rate) adjust
Enter expert mode:
http://pi-star/admin/expert/edit_mmdvmhost.php
- Config radio
Motorola Hytera big offset adjustment
Attention: Motorola ,Hytera DMR radios, as my experiences, there's always a big offset, And decoding is sensitive to frequency offset requirements (If you use AnyTone878UV, TYT MD380, or other China DMR radio, will better to decode DMR signal, and not big offset.
But no problem, you can adjust it easy, it is not he MMDVM problem, remember!
How to use MMDVMCal test frequency?
Troubleshooting
Download full logs file: http://pi-star/admin/download_modem_log.php
Make a DMR channel programming screenshot
EMail to: bi7jta@gmail.com
Repeater Board
What is successful work status? The COS LED light.
Where I can find the demo video? YouTube: https://youtube.com/winters_huang
Pi-Star Settings
http://pi-star/admin/configure.php
Pi-Star Expert mode http://pi-star/admin/expert/edit_mmdvmhost.php
Key words: Accessory connector Pinouts ,connection diagram, Data Jack,
Very Important Process: Calibration Frequency Offset
Repeater board Sampling frequency bandwidth (MMDVM RX) :25KHz,
Your DMR/C4FM/P25/DSTAR/NXDN radio decode bandwidth (MMDVM TX):12.5KHz,
You will find it will easy to decode your radio RF signal in low BER%, but if your radio have big frequency offset, it will hard to decode voice and data in your Digital radio.
So Calibration Frequency Offset is very necessary , especially in old GM300 and Motorola digital radio.
In particular: For Motorola, Hytera DMR devices, frequency offset causes Repeater, Broken QSO to fail to open.
How to adjust Frequency offset? 1, Programming your DMR radio, 2, Programming your Repeater radio.
eg.
Adjust Motorola XPR4550 DMR radio, possible offset -500Hz, -400Hz, ....400Hz, 500Hz .... , till the BER% become low and perfect to QSO , listening
Simplex and Repeater diagram (Motorola 16 Pins and 20 Pins)
Duplex/Repeater Mode Connection
Simplex Mode(Hotspot) Connection
Accessory Diagram, use GM340 for example, also reference for all Motorola 16 Pins and 20 Pins radio
All I have adjust TXLevel before sent follow your order requirement, if you change your repeater , you can adjust yourself , see also the follow guide.
V3F4 Pinout define
COS LED bright means RX and TX work (in Duplex/repeater mode)
FT-7900/7800/8900 YAESU
(1) Connection definition
(2) Radio settings
The forwarding station (eg. ft-7900) is set to Rx 9600bps. Please refer to the manual for the operation process
FT-7800 User manual https://www.bi7jta.org/files/radioCPS/ft7800/FT7800R-User-Manual.pdf
(3) Pi-Star setting
Keep the TXInvert = 1, RXInvert = 0, if RX(the repeater side) can not decode any data , try RXInvert = 1
(4) Cases demo
FT-817/991/857D
HF Serial :FT-817/FT-991/FT-857D/FT-897
Reference FT-7800 FT-7900 DIN 6pins connector, SET PKT.SPD = 9600bps, default is 1200bps.
User'S Guide Reference https://www.bi7jta.org/wiki/index.php?title=Main_Page#FT-7900.2F7800.2F8900_YAESU
FTM-100D/FTM-350/FTM-400D
Suit to FTM-100D FTM-350 FTM-400D, Connector MINI-PIN 10PIN
Set 9600bps
All Settings Sample
DR-1X YAESU
Note: As testedd, NOT SUPPORT DR-2X,DR-1XFR, because Yaesu have locka and can not set RX 9600bps!
Main settings:Data jack,RX bps,Pi-Star RX/TXInvert
Spectrum test video https://www.youtube.com/watch?v=xtx1nRY0LbU
Data jack
Radio RX Setting bps: Packet Speed 9600bps
The cable made by me
GM3188/GM3688/CM140/CM340
GM338-CDM1250-CDM1550-CDM750-MCX760
Youtube Tutorials https://www.youtube.com/wintershuang
ICOM IC-208H
DATA Define
ICOM IC-2720/IC-2820
GM300/M120 Motorola
GM300|M120 must fix frequency offset, and keep cool with fan!!!
Get Device Now: https://www.bi7jta.org/shop/mmdvm-repeater-board-v3f4-dmr-ysf-d-star-nxdn-pocsag-fm-3#attr=63,27
SM50/SM120
NOTE:
1, SM50/SM120 TXLevel not same as GM300/GM340,
2, SM50/SM120 Data pinout order not same as GM300/GM340,
3, SM50/SM120 not have flat RX pin define in default,
GM340/GM350/GM360
Radio CPS software and template
https://www.bi7jta.org/files/radioCPS/
GM950i Motorola
This guide also suit GM950 and GM950e, notice that GM950e Pinout RX(Pin11) NOT available, you need a little change Inner-Circuit.
Some GM950E:@BG7RLY TXInvert=0, RXInvert=0 , use sudo pistar-mmdvmcal test "B", A/M, you can find the true value. Most use RXInvert=1
Warning!!! The GM950i TXLevel decode point not same as GM300 or GM3188/GM338, need adjust , reference the SDR# RTL-SDR, here is the Wrong Spectrum in 2.75KHz deviation.
Kenwood TK8180 TK8185
Also suit to TK8185, more help please visit bi7jta.org
Programming template: https://www.bi7jta.org/files/radioCPS/tk8180-tk8185/
Facebook https://www.facebook.com/winters.cn/posts/3434636793300250
Facebook Group https://www.facebook.com/groups/v3f446
Kenwood TM-451E
Kenwood TM-D700
Kenwood TM-271
The data pinout same as FT-7800/ICOM-2720
Kenwood TM-V71A
Thank you @K0TX photo, from Google.
The data pinout same as FT-7800/ICOM-2720
Kenwood TKR-820 TKR-720
TKR-820's accessory connector pin assignment.also work for the TKR-720
Buy the cable with MMDVM Kit from BI7JTA'S HAM RADIO https://www.bi7jta.org/shop/mmdvm-repeater-board-v3f4-dmr-ysf-d-star-nxdn-pocsag-fm-3#attr=63,168,117
Pi-Star settings:
TXInvert=1,
RXInvert=1(UHF), 0:VHF
TXDelay=0
DMRDelay=300
TXLevel settings:
TXLevel=50 (follow BI7JTA product value)
Hardware modify:
CN2, PCB, R70, change the 47K to 1K
Source from http://www.repeater-builder.com/kenwood/tkr-820-to-scom-5k/tkr820-to-scom-5k.html
TKR820 Shared by @K7VE
PDF @K7VE : https://www.bi7jta.org/files/Repeater-Build-Ref/TKR850-TKR820-TKR720/tkr-820-dstar-MMDVM-repeaterBuilder.pdf
This experience Shared by @W5ZIT
I have not test and verify, information form internet and Google , please try yourself. If you have try , please discuss in my Facebook group.
many thanks!
Thanks @W5ZIT @K7VE blog sharing.
More join and discuss in MMDVM Facebook Group: https://www.facebook.com/groups/v3f446/permalink/461736281512778
Kenwood TKR-850 TKR-750
I have got a TKR-850 repeater , I will test and share settings guide detail , please contact me directly.
Reference: https://www.vk4jlm.com/index.php/projects/kenwood-tkr-850-multimode-repeater/
tkr-850-svc-man-revisedhttps://www.repeater-builder.com/kenwood/pdfs/tkr-850-svc-man-revised.pdf
Kenwood Other
TARPN -- Wiring Kenwood TK760, TK805D, TK862G etc. to NinoTNC
TK880 @SP8NTH share https://www.qsl.net/yo4tnv/Transceivers/Kenwood%20TK880/MMDVM%20cu%20TK880.pdf
Model | RX |TX Notes (Thanks for G4KLX Recommend http://mmdvm.bi7jta.org/search/label/MMDVM_repeater_radios)
TM-V71A/E WORK TX Has a timeout of Max 10 min and its impossible to change this.
TH-F7E WORK Cross (CT1HDC) (IW9GRL - Good reception but unstable BER 0.3~5% )
TKR-750 WORK WORK VK4JLM Tested DSTAR and DMR, interfaced via rear DB25
TKR-830 WORK WORK N4IRS Good receive and transmit Tested DMR only Needs internal jumper Doc to follow
TKR-850 WORK WORK VK4JLM Tested DSTAR and DMR, interfaced via rear DB25
TK-8180 WORK WORK KC9FQT Works great, used for the WF1RES repeater, used with rear DB25 port
TM-D710 Cross Cross Does not work for DMR! PTT works but the handheld does not decode. RX does not work at all. DSTAR not yet tested.(5B4AMD)
TM-D710G WORK WORK W4DHW - Currently being used on D-Star, DMR and P25 as higher power hotspot with STM32_DVM board. Works great! Set A-band or B-band to 9600 baud (external)
MMDVM Kit board https://www.bi7jta.org/shop/mmdvm-repeater-board-v3f4-dmr-ysf-d-star-nxdn-pocsag-fm-3#attr=63,27
XPR4550/M8268/XPR5550e DMR serial radio
RX/TX/PTT define/Timeout/Settings:
2.75KHz Deviation spectrum for Motorola XPR5550e
XiR M3188/XiR M3688 DMR radio
The pinout and data define same as GM338/CDM1250/1550
Data radio FC302
MTR2000 Motorola
Share by @IW6BFE Arrio , verified by @BI7JTA
Pi-Star settings:
[Modem]
Port=/dev/ttyAMA0
TXInvert=0
RXInvert=0
PTTInvert=0
TXDelay=100
RXOffset=0
TXOffset=0
DMRDelay=165
RXLevel=50
TXLevel=50
RXDCOffset=0
TXDCOffset=0
RFLevel=100
CWIdTXLevel=50
D-StarTXLevel=50
DMRTXLevel=50
YSFTXLevel=50
P25TXLevel=50
NXDNTXLevel=50
POCSAGTXLevel=50
RSSIMappingFile=/usr/local/etc/RSSI.dat
Trace=0
Debug=0
#/usr/local/etc/RSSI.dat
# RSSI Default Values for MMDVM_HS
#
3545 -50
3295 -55
3059 -60
2834 -65
2598 -70
2362 -75
2132 -80
1896 -85
1707 -90
1470 -95
1239 -100
1003 -105
770 -110
483 -115
171 -120
24 -125
15 -130
Radio settings:
Reference "Programming an MTR2000 for the STM32-DVM-MTR2K"
http://ks-dmr.net/2019/04/30/programming-an-mtr2000-for-the-stm32-dvm-mtr2k/
Additional explanation
- Fix the automatic reboot issue when press DMR radio PTT ,sharing by @BG2FX
I have made a cable for MMDVM repeater board , you can checkout in my shop https://www.bi7jta.org/cart/
The programming cable work with Windows XP,
Resource:
https://www.bi7jta.org/files/radioCPS/mtr2000/
MCS2000
I have made the TX work(MCS20000 MMDVM board Transmit), RX work,
Follow my Facebook update https://www.facebook.com/hashtag/MCS2000/?__gid__=443231163363290
Tait TM8100
Full with DB15 connector to BI7JTA‘S MMDVM V3F4 pinout, thanks @F5UII
Shared by F5UII https://www.f5uii.net/en/tuning-mmdvm-dmr-tait-tm8100-tm8115/
Tait TM8200
Reference Tait TM8100
Tait T855-T857-T858
Huawei E403 SU450C
YouTube https://www.youtube.com/watch?v=YUmVefhvk3I
TYT-TH9000
Facebook https://www.facebook.com/groups/443231163363290/search/?q=TH9000
Hytera RD982/RD980
Facebook : https://www.facebook.com/groups/443231163363290/search/?q=RD982
Youtube https://www.youtube.com/watch?v=Fg1CkeIteBc&t=61s
Other Radio not test
Hytera TR960
Thank you @BD4TLH provide the information, not ensure you can make it work.
GM660
Recommend Radio for MMDVM G4KLX
https://mmdvm.bi7jta.org/search/label/MMDVM_repeater_radios
RadioCPS DMR radio templates
https://www.bi7jta.org/files/radioCPS/
https://www.bi7jta.org/files/radioCPS_MMDVM/
FM Analog mode
From Pi-Star V4.1x and update to the new, the FM configuration and MMDVMHost have FM feature.
Modify your config in expert mode , such as:
Thanks for @BD4TGF provided test result.
More settings about FM mode and Discussion and Known Issue
If you Hardware is very old version ,maybe necessary flash the new firmware. See:
See also the next segment "Upgrade firmware"
Flash FM firmware, Copy the follow commands to ssh dialog:
rpi-rw;
curl -OL https://www.bi7jta.org/files/fm-patch/firmware/upgrade_repeater_FW_V3F4_12MHz.sh;
chmod +x upgrade_repeater_FW_V3F4_12MHz.sh;
./upgrade_repeater_FW_V3F4_12MHz.sh;
M17 Mode
Firmware download: https://www.bi7jta.org/files/MMDVM_Firmware/repeater_HAT/ Pi-Star Support W0CHP version: https://www.facebook.com/groups/371652781811739
Facebook group get the firmware https://www.facebook.com/groups/443231163363290/search/?q=M17 You can also build the V3F4 firmware yourself, follow this WIKI: Repeater/Firmware
Upgrade firmware
The new firmware will synchronous with FM mode firmware , just support V3F4, Clip STM32F446
Flash FM firmware, Copy the follow commands to ssh dialog:
rpi-rw;
curl -OL https://www.bi7jta.org/files/fm-patch/firmware/upgrade_repeater_FW_V3F4_12MHz.sh;
chmod +x upgrade_repeater_FW_V3F4_12MHz.sh;
./upgrade_repeater_FW_V3F4_12MHz.sh;
Youtebe demo: https://www.youtube.com/watch?v=VA8hKPlQOZQ&t=26s
Troubleshooting Possible Error
If still can not flash successful, you can try the follow methods:
(1) Forced it into Recovery Mode
Step_1, Plug out 5V2A Power supply,
Step_2, Short BOOTO and 3.3V Pins, then Power ON, let Repeater enter Recovery Mode, PWR, ACT, COS, DMR, POC light.
Step_3, execute ./v3f4_12MHz_flash.sh
(2)
Use USB port flash instead of GPIO,
Step by step,
1 Plug out Repeater Hat from Raspberry Pi ,
2 Short the BOOTO/3.3V (the upgrade control pin),
3 Connect MicroUSB port to Raspberry Pi, you will enter the RECOVER MODE(Flash Mode),
Note: the follow LED long light: PWR, ACT, COS, DMR, POC
4 Run the flash command:
sudo ~/stm32flashV5 -v -w ~/mmdvm_f4.hex -v /dev/ttyUSB0;
5 Done
(3) ST-Link tools
I will add it in future.
Compile firmware
The last version 20201214,
1, FM feature ,just support most of Motorola GMxx serial,
2, Fix the D-STAR mode data lost issue.
#Pull code from G4KLX github
rpi-rw
sudo git clone https://github.com/g4klx/MMDVM.git
cd MMDVM
sudo nano Config.h
#See also https://www.bi7jta.org/files/fm-patch/firmware/Config.h
----------- Config.h start ------------
#define EXTERNAL_OSC 12000000
#define STM32F4_NUCLEO_MORPHO_HEADER
----------- Config.h end --------------
#Add STM32F4XX_Lib directory
git clone https://github.com/juribeparada/STM32F4XX_Lib.git
#Compile for STM32F446
sudo make clean
sudo make dvm
#Flash use Raspberry Pi GIPO
#Download stm32flashV5
sudo curl -OL https://www.bi7jta.org/files/fm-patch/firmware/stm32flashV5;
sudo killall MMDVMHost >/dev/null 2>&1 ;
sudo ~/stm32flashV5 -v -w ~/mmdvm_f4.hex -R -i 20,-21,21:-20,-21,21 /dev/ttyAMA0;
Other reference provide by HAM https://republicaradio.com/mmdvm-version-repetidor-bi7jta/
How to Debug RX and TX
Debug TX and RX standalone, take DMR for example, first write 9 group contact to your DMR receive Talk group list , decode debug data.
Adjust TX Level with SDR
SDR# lite (Old version just for view the spectrum) https://www.bi7jta.org/files/RTL-SDR/
NOTE: FIRST YOU GOT THE BOARD ,KEEP THIS POT DEFAULT!
The purpose is make repeater radio side generate a best digital spectrum. If you not have RTL-SDR,SDR#,Spectrum Analysis meter(such as CMU200), I not suggest to turn TX Potentiometer.
Step 1 : http://pi-star:2222 , User: pi-star , Pass: raspberry
Step 2 : sudo pistar-mmdvmcal
Other spectrum testers, eg. CMU200
Click to view large image
SDRPlay + SDRuno adjust TXLevel
Adjust RX Level with MMDVMCal
NOTE: FIRST WHEN YOU GOT THE BOARD ,KEEP THIS POT DEFAULT! DO NOT ADJUST THE RV2 POT ON THE BOARD, UNLESS YOU HAVE RESEARCH ENOUGH KNOWNAGE ABOUT MMDVM PROJECT.
The purpose is make repeater radio generate side receive a best digital spectrum. If your BER% verylow ( less than 0.5), I not suggest to trun RX Potentiometer.
Hight BER% also cause by the BIG OFFSET of your REPEATER RADIO , or your Digital RADIO, consider this reason first.
To get the best value for the RXLevel, enter SSH mode
Step 1 : http://pi-star:2222 , User: pi-star , Pass: raspberry
Step 2 : sudo pistar-mmdvmcal
RX side required value, I hope you can understand it1 ,Yes otherwise keep Default value
The test point:
10x Oscilloscope signal probe
1x Oscilloscope signal probe
Adjust RSSI Potentiometer
KEEP DEFAULT, UNLESS YOU HAVE RESEARCH ENOUGH KNOWNAGE ABOUT MMDVM PROJECT.
Youtube OH1E post a demo about RSSI adjustment.https://www.youtube.com/watch?v=DSWPLDOZk8s
TX/RX/RV2/RSSI Potentiometer Reference
The RV2 Default value,
Sch
Config TalkGroup WhiteList
1, Add attribute "Slot1TGWhiteList", "Slot2TGWhiteList" to file /etc/mmdvmhost ,
Enter ssh mode http://pi-star:2222 or use PuTTY.exe
rpi-rw
sudo nano /etc/mmdvmhost
[DMR]
Enable=1
Beacons=0
BeaconInterval=60
BeaconDuration=3
ColorCode=1
SelfOnly=0
EmbeddedLCOnly=0
DumpTAData=1
# Prefixes=234,235
Slot1TGWhiteList=
Slot2TGWhiteList=
2, Edit TalkGroup WhiteList in Pi-Star dashboard
http://pi-star/admin/expert/edit_mmdvmhost.php
RadioCPS (Programming software), templates
https://www.bi7jta.org/files/radioCPS/
https://www.bi7jta.org/files/radioCPS_MMDVM/
MMDVM_BAT(Battery inside)
Config WiFi demo:
https://www.youtube.com/channel/UC6Us7z_gkxNKc0PcCuS7fYQ
Config Radio demo:
Advanced Settings
Register DMRID
https://www.radioid.net/register#! DMRID/NXDNID/RADIOID
Set Static Talkgroups
First, you must Register BM network https://brandmeister.network/?page=register ,then wait the BM WebMaster review, about 1 day.
Change hotspot default password(Must do). https://brandmeister.network/?page=profile
Second, set static talkgroup for your DMRID , support ESSID (the two number tail of your DMRID)
NOTE: The static talkgroup is closely related to your hotspot ESSID and BM Server!
Method 1: Config online
Duplex mode, demo link https://brandmeister.network/?page=rep-edit&id=460072322 ,
Simplex mode, demo link https://brandmeister.network/?page=hotspot-edit&id=4600724 ,
Explain:
rep-edit: Duplex repeater mode , can use TS1,TS2 the same time.
hotspot-edit: Simplex mode, just can use TS2,
460072322: 4600723 is my DMRID, 22 is my duplex hotspot ESSID, corresponding to my hotspot DMR ESSID item
Method 2: Config in your Pi-Star
Nextion and OLED display
Install NextionDriver for Model 8/Model 10
Youtube Video demo https://www.youtube.com/watch?v=8cWUE_0eywQ&t=195s
Just for Nextion Model 8/Model 10
Detail command (Ctrl +C, Ctrl +C )
#Make SD card writable
rpi-rw;
#uninstall history NextionDriver
sudo rm -rf /usr/local/bin/NextionDriver;
cd /home/pi-star;
# clone github code, some unknow issue will cause NextionDriver service not communitication with MMDVMhost service,when use OD7LDS github new code, so this use offline zip code, the old version.
# sudo rm -rf NextionDriverInstaller;
# git clone https://github.com/on7lds/NextionDriverInstaller.git;
sudo rm -f on7lds-NextionDriverInstaller-Offline.zip*;
sudo rm -rf NextionDriver;
sudo rm -rf NextionDriverInstaller;
sudo wget https://www.bi7jta.org/files/MMDVM_Nextion/Driver/on7lds-NextionDriverInstaller-Offline.zip;
sudo unzip on7lds-NextionDriverInstaller-Offline.zip;
# install Driver
sudo chmod +x NextionDriverInstaller/install.sh;
sudo NextionDriverInstaller/install.sh;
echo "Done"
Confirm the Display Type:
More: https://www.bi7jta.org/files/MMDVM_Nextion/Driver/install_NextionDriverScript.txt
Known problem
Update Pi-Star or Factory Reset will make Modem connect failed(Sometime, not always), I am not sure what have happened ,have submit issue in NextionDriver github page.
The temporary solution is remove the NextionDriver bin,
"rpi-rw; sudo rm /usr/local/bin/NextionDriver"
then re-install nextionDriver again.
Download Nextion file
Download directly: https://www.bi7jta.org/files/MMDVM_Nextion/
More information: https://mmdvm.bi7jta.org/search/label/Nextion_firmware
T043: T Serial 4.3",
tft: bin file for flash,
hmi: source file for edit,
eg.
NX4827T043_Model 10-4.3inch_DPLX_Basic_v1.05.HMI
NX4827T043_Model 10-4.3inch_DPLX_Basic_v1.05.tft
Nextion to Duplex Hotspot
Nextion RX <---> TX HAT /USBtoTTL
Nextion TX <---> RX HAT /USBtoTTL
Nextion GND <---> GND HAT /USBtoTTL
Nextion 5V <---> 5V HAT /USBtoTTL
Nextion to Repeater V3F4
Nextion to Bluetooth Model
OLED Setting
New Version:
OLD Version: Enter expert mode http://pi-star/admin/expert/edit_mmdvmhost.php
Radio for MMDVM
AnyTone-878
OpenGD77
TYT-MD380-tools
TYT-MD760/GD77-MMDVM-HOTSPOT
Pager 439.9875MHz
Software download
Pager ID programming software, the newest is V3.0.9,
Support Windows XP, Windows 7, Windows 10 ,Windows 11
Programming adapter use CH340 Chip
https://www.bi7jta.org/files/POCSAG/ProgrammerV3.0.9_2020_CH340.zip
Driver for Windows 11: https://www.bi7jta.org/files/POCSAG/Driver-for-Win11-CH341SER.zip
Programming adapter use Pagerid Chip (Old USB adapter)
https://www.bi7jta.org/files/POCSAG/Programmer_x64x32.zip
Multi-language
Software for Multi-language character database: Chinese, Korean, Japanese,
Settings:
Write your RIC and S/N ,frequency
See also my Google blogger: https://mmdvm.bi7jta.org/search/label/Pager
MMDVDM Server/Reflector build
freeDMR
FreeDMR https://gitlab.hacknix.net/hacknix/FreeDMR/-/wikis/Installing-using-Docker-(recommended!)
- Make sure this script will delete your exists Docker service!!!!
Why use freeDMR https://www.freedmr.uk/index.php/why-use-freedmr/
Install without Docker https://github.com/hp3icc/Easy-FreeDMR-SERVER-Install
Xlxd for DMR/D-Star
DMR reflector/D-Star reflector in one https://github.com/bi7jta/XLX_CN
How to create an XLX_XRF D-Star Reflector https://n5amd.com/digital-radio-how-tos/create-xlx-xrf-d-star-reflector/
YSF/C4FM reflector
How to Creating a YSFReflector http://ks0lnk.net/?page_id=2968
P25 NXDN Ref Dashboard
P25 NXDN Ref Dashboard https://github.com/bi7jta/MMDVM-Install_RPT_N4IRS/tree/master/P25/P25Reflector-Dashboard
HBLink Link build DMR server
Video https://www.chrishoodblog.com/make-your-own-dmr-server/
DMR Master Server Pt1 Deploy new server https://www.youtube.com/watch?v=A6-a8DaKPCQ
DMR Master Server Pt2 Install packages HBlink https://www.youtube.com/watch?v=LsqdO0xRjoQ
DMR Master Server Pt3 Configure HBlink https://www.youtube.com/watch?v=oXRCW-5JMws
Docker CE https://yeasy.gitbooks.io/docker_practice/install/raspberry-pi.html
Github Project https://github.com/n0mjs710/hblink3
DVSwitch + USRP
DVSwitch_install http://dvswitch.org/DVSwitch_install.pdf
USRP_Tetra_Bridge
https://github.com/dg1yiq/USRP_Tetra_Bridge
AMBE Digital Voice Transcoding Server
How to build a Digital Voice Transcoding Server with AMBE https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/?fbclid=IwAR2KoV7n7jHE8olO1c0Jv6xKRCS4UXOZSF3kH7tks8vfiKUjRRL1NtQuQc4
mmdvm svxlink
mmdvm_svxlink-1.pdf https://www.do0tpb.de/app/download/20307140/mmdvm_svxlink-1.pdf
DVSwitch + USRP + FM
DS5QDR Raspberry Pi
https://ds5qdr-dv.tistory.com/417
https://github.com/bi7jta/USRP-for-Raspberrypi
USRP_Client Python open source
https://github.com/bi7jta/USRP_Client
DVSwitch + Mumble FM
rpi-murmur https://github.com/ckulka/rpi-murmur
MMDVM + OpenWrt
BD7MQB https://github.com/lazywalker/ostar MiWifi BG4TGO https://github.com/BG4TGO/Ostar OLED not in Master
AllStarLink
Raspberry Pi for MMDVM
Install Desktop for Pi-Star and use HDMI output
Preview:
Setp by setp:
Support RPi 3B/4B, BPi-M2u,M5, 1G RAM, 16G SDcard
login ssh mode, http://pi-star:2222 ,or Putty.exe | OSX/Win10 PowerShell :ssh pi-star@pi-star (change @pi-star to your IP address) Login :pi-star, pass: raspberry run:
rpi-rw; sudo apt-get update && sudo apt-get -y dist-upgrade # sudo apt-get install --no-install-recommends xserver-xorg -y # sudo apt-get install --no-install-recommends xinit -y # sudo apt-get install raspberrypi-ui-mods rpi-chromium-mods #for RPi not for BPi
#to boot into the desktop UI. If you prefer to boot into the desktop permanently: Run sudo raspi-config
#Select System Options #Choose Boot/Auto Login #Select Desktop or Desktop Autologin depending on preference #Select Finish, then Reboot when prompted
#Here is for BPi-M2 #sudo apt install -y kde-standard #for BPi installed Raspbian OS , auto login not need Run sudo raspi-config
Reference: https://www.makeuseof.com/how-to-install-a-desktop-on-raspberry-pi-os-lite/
Software download
RTL-SDR Lite for MMDVM
Purpose: Adjust TX Level with SDR Lite version run directly. SDR# lite (Old version just for view the spectrum)
https://www.bi7jta.org/files/RTL-SDR/
How to install? Copy to C:\tools ---> Install Driver ---> Run SDRSharp.exe
rpi-rw; sudo rm -rf STM32F10X_Lib.zip; sudo rm -rf STM32F10X_Lib; sudo rm -rf nano_hotspot_fw_1.5.2.bin sudo rm -rf onekeyflash_fw_nano_withGPIO_fix.sh curl -OL https://www.bi7jta.org/files/MMDVM_Firmware/BNWPI_Duplex/onekeyflash_fw_nano_BNWPI_Duplex.sh; curl -OL https://www.bi7jta.org/files/MMDVM_Firmware/BNWPI_Duplex/mmdvm_hs_dual_hat_fw_v1.5.2.bin; curl -OL https://www.bi7jta.org/files/MMDVM_Firmware/BNWPI_Duplex/STM32F10X_Lib.zip; sudo unzip STM32F10X_Lib.zip; sudo chmod +x ./STM32F10X_Lib/utils/rpi32/stm32flash; sudo chmod +x onekeyflash_fw_nano_BNWPI_Duplex.sh; sudo ./onekeyflash_fw_nano_BNWPI_Duplex.sh; echo "done"