Monday, April 30, 2018

Nextion LCD for Duplex hotSPOT, RPi hotSPOT with fan, Repeater kit board

For Duplex hotSPOT

The are two ways,

1. Use modem in the hotSPOT board, 

4PIN show "LCD", pi-star Config MMDVM Display Type select Nextion -> Modem
HS RXD to Nextion TX
HS TXD to Nextion RX
HS 5V   to Nextion 5V
HS GND to Nextion GND



for Ver1.0.1( !! VCC,GND not same as Ver1.0)

Pi-Star Setting display type


2. Use USB to TTL adapter,


then in pi-star Config MMDVM Display Type select Nextion -> /dev/ttyUSB0
Note: Some USB2TTL adapt not work, had tested CP2102 / CH340 is OK, USB-STC-ISP do not work.
TTL RXD to Nextion TX
TTL TXD to Nextion RX
TTL 5V   to Nextion 5V
TTL GND to Nextion GND


For RPi hotSPOT with fan

1 Use board 4 PINs Display interface, follow the order.
Warning! Can Not Reversal 5V and GND!

2 Use USBtoTTL Adapter

For Repeater kit board


Just can use USBtoTTL Adapter, STM32F105 without serial interface

Nextion firmware download 

From bi7jta ,add show IP address
https://github.com/nano-mmdvm/Duplex_hotSPOT/tree/master/nextion

From G4KLX
https://github.com/g4klx/MMDVMHost/tree/master/Nextion_G4KLX

From facebook group
https://www.facebook.com/groups/Nextion/

About TJC clone LCD ,you can also find in facebook group

Saturday, April 21, 2018

Analysis and Download MMDVM Pi-Star logs

Analysis:

Check pi-star runtime logs,
Part logs Just show time from you open the dialog:
Open http://pi-star/admin/live_modem_log.php
Then Press PTT,

Download full logs file(All MMDVM logs): 
http://pi-star/admin/download_modem_log.php


Dynamic Viewing Full logs in SSH mode:
http://pi-star/admin/expert/ssh_access.php

The DMRGateway log, YSFGateway, DSTAR Gateway logs,
ls /var/log/pi-star , use the SCP tool such as WinSCP.exe , Filezilla.exe, MobaXtem.exe ,download it.

NOTE: IF can not visit use pi-star name, use your IP Address instead.

Feedback:
If follow UserGuide
http://mmdvm.bi7jta.org/2018/04/userguide-for-duplexhotspot-only-for.html
Still not solved your problem, not config success, then send me 3 files for analysis, as follow,
1) Pi-star config zip file, export step

2) Screenshot of pi-star ,1,2,3


3) Screenshot of DMR radio (reference to tyt md-380) 


4) More shot video can help analysis fast.

to:
1. Use facebook user discuss group. 
https://www.facebook.com/groups/nano.mmdvm/

Strongly suggest that because of the UTC difference, I hope more HAMs can help you, not only me, also need you upload some shot videos about your issue ,that will faster to discover your problem.

2. email bi7jta@gmail.com ,  https://t.me/bi7jta 

de bi7jta,73!

Wednesday, April 18, 2018

3D Print CallSign,Copyright by @BG7MQO,continue update

If you need,just send reply this blog or contact my other email bi7jta@gmail.com ,  leave your Callsign for print, and email for contact. I let my friend place a link in market, use a cheaper shipping channel .

3D print Callsign, 2 colors Yellow and White choose,  size  
Large:160mm X  29mm cost 8$
Small:120mm X  23mm cost  5$

Shipping cost about 2~3$ 

Need time to wait print.





















continue update when user share mention me
...


Tuesday, April 17, 2018

TYT-MD380 MD380g MD390 Flash Third-Party firmware and set 0.1W Power output

Flash Third-Party firmware use md380tools







 Set 0.1W Power output (Enough for MMDVM hotSPOT)


Sorry for not  all in English Language,provide soon


Openbox Video for Duplex hotSPOT

TKS N0WAR for share! I think  video is the only thing that burns your eye.


Share by Bud Talbot

Share by OH1E


Play list,
https://www.youtube.com/playlist?list=PLe3vAuVeEGj_oXs7N6ewZuQtQh_D8jBmi

Also welcome to join users discuss facebook group.
de bi7jta,73!



UserGuide for Nano hotSPOT(blueBox)

Power supply requirements: 5V2A







Quickly start guide
Plug in the power supply , require 5V2A

Quickly start
1  Plug in the power supply , require 5V2A
2  Configute network for your Pi-star,

Method 1th, LAN interface (Recommand)
> Insert RJ45 cable to NanoPi LAN port, the other end connects to your router ,
> Reboot your bluebox, wait the OLED bright, just bright when network and modem initialization complete,
> Find the IP Address use APP "Fing", the hostname "pi-star", then visit http://IP Address or http://pi-star
> Add WiFi config for Pi-Star, Modify your profile in setting page

Method 2th
Add a WiFi AP sharing on the cell phone or router, let bluebox connet to your AP,
the default WiFi profile in bluebox:

SSID:888888-2G
password: 0123456789
visit the dashboard as follows
http://pi-star.local [iOS shares]
http://pi-star [Android or other]
Login : pi-star
Pass :raspberry
Note:
Not all device support use domain name visit, use IP Address is a best choose,
Do not use IE browser!

3 Configute your digital radio (DMR mode for example)
The default setting frequency in Pi-Star is 433.550MHz, DMR mode, time slot 2, color code 1,
You can send a private call to 9990 or TG4000, get a response voice for echo test.

How to upgrade pi-star?
http://pi-star/admin/expert/ssh_access.php
login as
user: pi-star,
pass: raspberry
rpi-rw
sudo pistar-update && sudo pistar-upgrade 

How to upgrade firmware?
from pi-star ver3.4.11, use command line as
sudo pistar-nanohsflash nano_hs
sudo pistar-mmdvmhshatflash hs_dual_hat  #for duplex_hotspot make by jTA
sudo pistar-mmdvmhshatflash hs_hat #for RPi_Simplex_hotspot make by jTA 

If not successful,some old nano HAT need do more operation,connect the upgrade GPIO jumper.

https://github.com/nano-mmdvm/MMDVM_HS_firmware/blob/master/how-to-upgrade-nano-hs-fw.md

Flash Pi-Star OS
http://www.pistar.uk/downloads/ select  NanoPi image Pi-Star_NanoPi_V_XXX-May-20XX.zip

Abjust RXOffSet TXOffSet if BER large then 1%
Nano hotSPOT OffSet default is 0 or 200,abjust +-50 to low BER
http://pi-star/admin/expert/edit_mmdvmhost.php
login as
user: pi-star,
pass: raspberry


MMDVMHost with IP address And CPU temperature ,BigFont
https://github.com/nano-mmdvm/MMDVMHost_IP_TMP_BigFont

Recovery Customized Version V3.4.6 to Official Version ,then upgrade to New
rpi-rw

sudo rm /usr/local/bin/MMDVMHost
sudo pistar-update && sudo pistar-upgrade


Issue list and solution
http://mmdvm.bi7jta.org/2018/04/test-first-blogger.html

Youtube Video share about bluebox
https://www.youtube.com/playlist?list=PLe3vAuVeEGj-Jdx8ldr3dwScQis4kmHrH&disable_polymer=true

TKS OH1E the big support!

Nano hotSPOT blueBOX for MMDVM unboxing by OH1E
https://www.youtube.com/watch?v=0tMeWChjEKs&feature=youtu.be


How to configure pi-star by OH1E
https://www.youtube.com/watch?v=2vbaNA_bEB4

UserGuide for Duplex hotSPOT ,Model Duplex Model_B: Alloy_SPOT, Duplex Model_A : ALC_SPOT_NX

Important update ,from firmware v1.4.12

Frequency restrictions to avoid satellite interference. Please avoid the following ranges: 145.8-146.0 MHz and 435-438 MHz, otherwise firmware will not start.
tail -100f /var/log/pi-star/MMDVM-2018-11-21.log
Error message Received a NAK to the SET_FREQ command from the modem

NOTE: WiFi SSID and PASSWORD BE REPLACE WHEN Restore Configuration!

Apply to  follow serial products






Recently update(Continue)
for HS Ver1.0, Ver1.0.1, write by bi7jta, any question join facebook group for help or contact me email, the best way is with screenshot and short video, help me to understand.

V1.0.1 support both UHF/VHF mode
Firmware 1.4.6+ support POCSAG mode

Configuration for PI-STAR and Radio



( 1 ) Get ready for pi-star OS,
Connect SMA ANT,Connect RPi to hotSPOT use GPIO.



Download Pi-Star IMG here
http://www.pistar.uk/downloads/  for RPi 3B/ZERO Pi-Star_RPi_V*.zip 
http://www.pistar.uk/beta/  for RPi 3B+ 


Flash pi-star img to SDCard  http://wiki.pistar.uk/Main_Page



Need tools in Windows: SDFormatter,Win32DiskImager ,also need USBtoSDCard adapt.



NOTE: Ppzip the file ,write .IMG file to SDCard, not copy,not all SDCards can use for boot, Choose Sandisk or Samsung,8GB enough.



( 2 )Controller Mode:Duplex Repeater 
(also make sure expert mode Duplex flag 1 not 0)
http://pi-star/admin/configure.php 
User: pi-star
Pass: raspberry



( 3 )Set RX/TX MHz ,
Support UHF and VHF from Ver1.0.1.

Expert mode http://pi-star/admin/expert/edit_mmdvmhost.php

RX  434755000
TX  439755000

Attention:
set UHF TX - RX >= 5MHZ to Get better performance,
set VHF TX - RX >= 900MHzHZ to Get better performance,

Just work at amateur frequencies, and different countries have different amateur frequencies.



( 4 ) set RXOffset,TXOffset 
in expert mode,if BER >1%

http://pi-star/admin/expert/edit_mmdvmhost.php ,for example, set value = -300
RXOffset=-300

TXOffset=-300




NOTE:
* This value just for reference, see the TAG with the board 
* If your radio has Offset MHz, please adjust first


You can also adjust the parameters that make the Error Rate % to the lowest.

Expert mode http://pi-star/admin/expert/edit_mmdvmhost.php





( 5 ) Program your DMR Radio(Also YSF/P25/Other)

Make sure that:

Radio TX = HotSpot RX

Radio RX = HotSpot TX

Color Code = 1 (same as setting as pi-star)

Repeater Slot = 1 (TS1 as brandmeister.network)

Repeater Slot = 2 (TS1 as brandmeister.network)
Close Allow Talk round option






( 6 ) Testing 

Dial private call to 9990(Parrot),listening your voice,in TS1,TS2

Dial private call to 4000 (Disconect tip),listening system voice ,in TS1,TS2






( 7 ) Set Static Talkgroups for Timeslot 1 and Timeslot 2 ,when use DMR mode, 

eg. https://brandmeister.network/?page=rep-edit&id=4600060


NOTE:Can use 4600060XX XX is 01~99 ,flag different hotSPOT
You must to Register and Login first.






( 8 ) Install Nextion and OLED for Duplex hotSPOT 

View HS board  Silk screen,
Nextion LCD: (NOTE: Ver1.0.1 VCC,GND not same as Ver1.0, do not reverse +5V and GND, otherwise you will damage your LCD circuit)
HotSpot +5V --> Nextion +5V 
HotSpot RXD --> Nextion TX 
HotSpot TXD --> Nextion RX
HotSpot GND --> Nextion GND

OLED: suggest use 1.3 inch
HS 3.3V --> OLED 3.3V
HS GND  --> GND
HS SCL  --> SCL
HS SDA  --> SDA




MORE
Web SSH mode http://pi-star/admin/expert/ssh_access.php (Use IP Address instead)
update current OS to the last: sudo pistar-update && pistar-upgrade

Install Nextion LCD for Duplex hotSPOT 

http://mmdvm.bi7jta.org/2018/04/install-nextion-lcd-for-duplex-hotspot.html

Assembly Aluminum alloy Case for duplex_hotSPOT

http://mmdvm.bi7jta.org/2018/05/assembly-aluminum-alloy-case-for.html


Firmware upgrade (All update here)



Pi-Star OS upgrade
sudo pistar-update && sudo pistar-upgrade

Amateur radio frequency range Definition in firmware

From: https://github.com/juribeparada/MMDVM_HS/blob/d001aeecb3c6d6c2b787ce32117fcae134f6bafe/IO.h

Duplex hotSPOT V1.0 (Hz)
#define UHF1_MIN  420000000
#define UHF1_MAX  475000000

Duplex hotSPOT V1.0.1 Hz(from 20180505)
#define VHF1_MIN  144000000
#define VHF1_MAX  148000000
#define UHF1_MIN  420000000
#define UHF1_MAX  475000000

Demo live Duplex hotSPOT (Please do not modify anything,TKS!)

Config template for TYT-MD380 and Pi-Star_ver0327


Assembly Aluminum alloy Case for duplex_hotSPOT


Discuss and share


# Downgrade to official version 1.3.3,
The purpose is to test the AnyTone Radio Compatibility with Duplex HS
# From https://github.com/juribeparada/MMDVM_HS/releases  
# Step by Setp

# 1) login ssh mode:
# http://pi-star/admin/expert/ssh_access.php
# default
# user: pi-star
# pass: raspberry

# Use Ctrl+C, Ctrl+V, copy the follow CMD to Web SSH windows,then press ENTER

#2) Change system to Read and Write;
rpi-rw 

#3) Download flash script
curl -OL https://github.com/juribeparada/MMDVM_HS/releases/download/v1.3.3/install_fw_hsdualhat.sh

#4) make runable
chmod +x install_fw_hsdualhat.sh

#5) Stop MMDVMHost serice
sudo pistar-watchdog.service stop; sudo systemctl stop mmdvmhost.timer; sudo systemctl stop mmdvmhost.service

#6) Flash to lastest version
./install_fw_hsdualhat.sh

#7) Startup MMDVMHost service
sudo pistar-watchdog.service start; sudo systemctl start mmdvmhost.timer; sudo systemctl start mmdvmhost.service 
More discuss please join facebook group 
https://www.facebook.com/groups/nano.mmdvm/

About external amplifier
https://www.facebook.com/groups/nano.mmdvm/search/?query=amplifier


Youtube Video share
https://www.youtube.com/playlist?list=PLe3vAuVeEGj_oXs7N6ewZuQtQh_D8jBmi

J-STAR Users Guide : Allstarlink Setup

Preview .