Difference between revisions of "Main Page"
Line 73: | Line 73: | ||
http://pi-star/admin/download_modem_log.php | http://pi-star/admin/download_modem_log.php | ||
− | + | Make a DMR channel programming screenshot | |
+ | |||
+ | EMail to: bi7jta@gmail.com | ||
=== Repeater Board === | === Repeater Board === |
Revision as of 09:02, 7 February 2021
Contents
- 1 Contact me
- 2 MMDVM Setting guide
- 2.1 Dashboard Login
- 2.2 Config WiFi (to Network)
- 2.3 Simplex HOTSPOT
- 2.4 Duplex HOTSPOT
- 2.5 Repeater Board
- 2.5.1 Importance Process: Calibration Frequency Offset
- 2.5.2 V3F4 Pinout define
- 2.5.3 COS LED bright means RX and TX work (in Duplex/repeater mode)
- 2.5.4 FT-7900/7800/8900 YAESU
- 2.5.5 FT-817/991/857D
- 2.5.6 FTM-100D/FTM-350
- 2.5.7 DR-1X YAESU
- 2.5.8 GM3188/GM3688/CM140/CM340
- 2.5.9 GM338-CDM1250-CDM1550-CDM750-MCX760
- 2.5.10 ICOM IC-208H
- 2.5.11 GM300/M120 Motorola
- 2.5.12 SM50/SM120
- 2.5.13 GM340/GM350/GM360
- 2.5.14 GM950i Motorola
- 2.5.15 Kenwood TK8180
- 2.5.16 Kenwood TM-451E
- 2.5.17 Kenwood TKR750/850
- 2.5.18 XPR4550/M8268/XPR5550e DMR serial radio
- 2.5.19 XiR M3188/XiR M3688 DMR radio
- 2.5.20 Data radio FC302
- 2.5.21 MTR2000 Motorola
- 2.5.22 MCS2000
- 2.5.23 RadioCPS DMR radio templates
- 2.5.24 FM Analog mode
- 2.5.25 Upgrade firmware
- 2.5.26 Troubleshooting Possible Error
- 2.5.27 Compile firmware
- 2.5.28 Adjust TX Level with SDR
- 2.5.29 Adjust RX Level with MMDVMCal
- 2.5.30 Adjust RSSI Potentiometer
- 2.5.31 Config TalkGroup WhiteList
- 2.6 RadioCPS (Programming software), templates
- 2.7 MMDVM_BAT(Battery inside)
- 3 Advanced Settings
- 4 Nextion and OLED display
- 5 Radio for MMDVM
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 opensource project.
Purchase your devices https://www.bi7jta.org/cart
Youtube https://www.youtube.com/winters_huang
Contact me
E-Mail: bi7jta@gail.com
https://facebook.com/winters.cn,
https://twitter.com/winters_cn,
Telegram, WhatsApp +86-13927458201
73 DE BI7JTA
MMDVM Setting guide
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
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
- Config radio
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
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,
Importance 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.
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
(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
FTM-100D/FTM-350
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
GM300/M120 Motorola
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
GM950i Motorola
This guide also suit GM950 and GM950e, notice that GM950e Pinout RX(Pin11) NOT available, you need a little change Inner-Circuit.
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
Facebook https://www.facebook.com/winters.cn/posts/3434636793300250
Facebook Group https://www.facebook.com/groups/v3f446
Kenwood TM-451E
Kenwood TKR750/850
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 blog sharing.
Facebook thread: https://www.facebook.com/groups/v3f446/permalink/461736281512778
XPR4550/M8268/XPR5550e DMR serial radio
RX/TX/PTT define/Timeout:
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=70
TXLevel=55
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/winters.cn/posts/3437978132966116
RadioCPS DMR radio templates
https://www.bi7jta.org/files/radioCPS/
https://www.bi7jta.org/files/radioCPS_MMDVM/
FM Analog mode
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;
How to install patch https://www.bi7jta.org/files/fm-patch/Readme_FM.txt
The files list https://www.bi7jta.org/files/fm-patch/
Example:
Download Pi-Star Config with FM mode https://www.bi7jta.org/files/UserManuals/ConfigTemplate/Pi-Star_Config_4.1.2_FM_NoWiFiConf.zip
Import FM Configuration (No need to edit mmdvmhost.ini)
Discussion and Known Issue
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/
Adjust TX Level with 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.
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
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
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 brandmeister.network
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
https://www.bi7jta.org/files/MMDVM_Nextion/Driver/install_NextionDriverScript.txt
Detail
# Suit Nextion Model 8/Model 10
# Pi-Star Settings
# -->> MMDVM Display Type :Modem
# -->> Port /dev/ttyNextionDriver
# -->> Nextion Layout: ON7LDS L3 HS
# Enter your ssh mode
# 1, http://pi-star/admin/expert/ssh_access.php
# [More than one hotspot, use the IP address]
# 2, Login,
# userName: pi-star
# Password: raspberry
# 3, Copy and paste all of the follow scripts, suggest run one by one.
rpi-rw;
#uninstall history NextionDriver
sudo rm -rf /usr/local/bin/NextionDriver;
cd /home/pi-star;
# clone github code
sudo rm -rf NextionDriverInstaller;
git clone https://github.com/on7lds/NextionDriverInstaller.git;
# install Driver
sudo chmod +x NextionDriverInstaller/install.sh;
sudo NextionDriverInstaller/install.sh;
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
Enter expert mode http://pi-star/admin/expert/edit_mmdvmhost.php