Ultra portable remote TS-480

Difference between revisions from 2017/01/25 16:36 and 2014/08/05 20:21.
[http://remoteqth.com/img/wiki-remoteqth-blok.png|noborder][https://remoteqth.com/img/wiki-remoteqth-blok.png|noborder]



! Setting server
* install [RemoteQTH server|RemoteQTH-server] on SD card for Raspberry PI
** login (yourcall/1234)to web interface and update server from status page
** change login and password in menu SETTINGS/LOGIN
* in menu SETTINGS/SER2NET enable Two com
** com1
*** name: TS-480 panel
*** port: 11001
*** baud: 57600
*** databit: 8
*** stopbit: 2
*** parity: none
*** Detect device:exactly by IDs
*** vendor: 0403
*** product: 6001
*** sn: find in pop-up window
**com2
*** name: CW-keyer CLI
*** port: 11002
*** baud: 115200
*** databit: 8
*** stopbit: 2
*** parity: none
*** Detect device:exactly by IDs
*** vendor: 0403
*** product: 6001
*** sn: find in pop-up window
* in menu SETTINGS/CW
** Select: Arduino K3NG CLI
** TCP port: 11002
** Number of memories: as needed
** test send CW from menu CONTROL/CW
*

!Transceiver
!!RemoteQTH server
* Connect TS-480 RJ6 female to USB/UART interface{{
   --------- 
  |      ---|
  |      ---|
|        ---|  GND        USB/UART GND
|        ---|  TX TRX --> USB/UART RX
  |      ---|  RX TRX <-- USB/UART TX
  |      ---|
   ---------}}

* Configure serial communications [ser2net|http://remoteqth.com/img/wiki-ts480-ser2net.png][ser2net|https://remoteqth.com/img/wiki-ts480-ser2net.png]
* [CW keying|http://remoteqth.com/wiki/index.php?page=CW]keying|https://remoteqth.com/wiki/index.php?page=CW]




!!VOIP
Transferring audio is implemented with the IP phone Cisco SPA301. For better latency can use the same IP phone on the operator side.
* [Auto picks up call hack - Cisco SPA301] IP Phone
* [Cisco SPA301 connected TRX audio]
* Cisco SPA301 [TRX side settings|http://remoteqth.com/cisco/SPA301_configuration_utility.html]settings|https://remoteqth.com/wiki/cisco/SPA301_configuration_utility.html] (our configuration)
* Cisco SPA301 [Front panel settings|http://remoteqth.com/cisco2/SPA301%20Configuration%20Utility.htm]settings|https://remoteqth.com/wiki/cisco2/SPA301%20Configuration%20Utility.htm] (hardware variant - if do not use android phone)
* Configure NAT{br}SIP/RTP set without proxy, therefore must have a public IP address. On your router, then set redirection port 5060(sip) and 16000(rtp) to internal IP addresses phone.
If you want to listen to the speaker front panel, connect the phone with bluetooth module with 3,5 jack cable. Or use the headphone directly with your phone.



!Operator
!!GetBlue settings
* Datasource (Input) - '''Bluetooth'''
** Operation mode - '''Client'''
* Datasink (Output) - '''TCP''' (plain data)
** Operation mode - '''Client'''
** Host - server public '''IP'''
** Port - server public '''port'''
** Hexadecimal format - '''OFF'''
* Bi-Directional Mode - '''ON'''
* Launch by Default - '''No'''
* Retry Timeout (ms) - '''1'''
* Open Retries - '''10'''
* Raw Mode - '''OFF'''
* Timeout (ms) - '''10'''
* Size (Bytes) - '''32'''
* Separator - (none)
* Include Separator - '''OFF'''
* Hexadecimal/ASCII - '''OFF'''
* Data Rows - '''0'''
* Data Font Size - '''14'''
* Log Font Size - '''14'''
* Show Detailed Logs - '''ON'''
* Show response - '''OFF'''




!!CSipSimple
# Add Local account
# Configure (only important parts)
* UDP - '''ON'''
* UDP port - '''5060'''
* TCP - '''OFF'''
* RTP port - '''16000'''
* Suppress echo - '''OFF'''
* Codec - '''PCMA 8kHz'''
# Dial '''333@ROUTER-PUBLIC-IP:5060'''
!Appendix
'''Theory of operation'''{{
[ts480 front panel]
      |
[BT module] . . . . . . [BT smartphone--GetBlue--WiFi] <--- tcp-ip ---> [ethernet RemoteQTHserver--ser2net-USB]
                                                                                                       |
                                                                                           [USB/UART interface]
                                                                                                       |
                                                                                                  [Transceiver]
---------------------------------------------------------------------------------------------------------------
                [Smartphone speaker--CSipSimple--WiFi] <--- tcp-ip ----------> [ethernet Cisco SPA301 IP phone]
                                                                                                       |
                                                                  [Isolation transformer and resistive divider]
                                                                                                       |
                                                                                                  [Transceiver]
}}

'''Configure bluetooth module'''
* connect USB/UART cp2102{{
           |
           |   BT module
--------   |
    RST |   -----
U   3V3 |        |
S    5V |-      -| TXD
B   TXD |-      -| RXD
    RXD |-      -| 5V
    GND |--------| GND
--------          --------
}}'''AT commands''' ([realterm|http://realterm.sourceforge.net/]){{
AT
AT+BAUD7
AT+NAMETS-480-2
AT+PIN1234
}}this commands is
** test module answer
** set baud to 57600 baud
** set name to TS-480-x
** set pin to 1234