Remote Control Step by Step - Kotisivukone · Remote Control Step by Step ... Several options, I...
-
Upload
nguyenliem -
Category
Documents
-
view
216 -
download
1
Transcript of Remote Control Step by Step - Kotisivukone · Remote Control Step by Step ... Several options, I...
Remote Control Step by StepOH7KD
2/2017
KISS – Logging SW and Remote Desktop only- If you can use your station from PC, you can use it remotely- TeamViewer, Chrome Remote Desktop, VNC… e.g. TeamViewer does not require port forwarding- Audio through Skype or RemAud (http://www.df3cb.com/remaud/)- Using local applications with Remote
Desktop may be difficult- Possible problems with key combinations
(e.g. CTRL + something)
TRX-Manager Server+Client only - Only needs TRX-Manager configuration and router port forwarding, Skype or RemAud for audio- No integration with other log/contest software (TRX-Manager has logging, though)
TRX-Manager Server+Client and N1MM- N1MM syncs with TRX-M Client, Skype or RemAud for audio- You can use two or more PC's at remote location, e.g. N1MM/TRX-M & TeamViewer
PC1: N1MM & TRX-Mgr Client
PC2/Tablet: Remote Destktop (TeamViewer)
Hardware components at OH7KD
Rotator ControlRasPi + GY26
K1EL Winkeyer
Ant SwitchingAmeritron RCS-4 +USB Relay Board
Elecraft KX3
ACOM 600S
USB (CAT)
ON/OFF
Audio
I/Q Audio
CAT & ON/OFF
USB to Serial(8-ch)
Mic
CAT
Spkr/Mic
I/Q
USBUSB
USB
LANEthernet Router
LAN
Internet
PC (Windows 10)
TRX-MangerTeamViewer
Skype
Rig on/off
ACOM on/off
Serial to IP
Port Forwarding
Rotator ControlRasPi + GY26
N1MM Setup – Communication
Winkeyer in N1MM
Rig Cntrl in N1MMTRX-
ManagerClient
TRX-Manager
Server
Internet
SDR-RX Control
Rig Control
Antenna Select
Amplifier Control
Rotator Ctrl in N1MM
Winkeyer
Raspberry Pi
com2tcpcom2tcp
com2tcp
Skype Audio Skype Audio
TeamViewer (SDR, Remote Desktop)
TeamViewer (SDR, Remote Desktiop)
VSP VSP
VSP
VSP = Virtual Serial Port
Virtual Serial Ports – VSP-ManagerVSP Manager – free for hams:http://k5fr.com/DDUtilV3wiki/index.php?title=VSP_Manager
- Very easy to use- Reliable- Rig Control (N1MM <-> TRX-Manager)- Winkeyer (N1MM <-> Winkeyer)- Tower (N1MM <-> Raspberry Pi)
Serial Port (Virtual or Physical) to TCP –com2tcpSeveral options, I chose com2tcp (command line) because it is easy to add to the N1MM startup script.
com2tcp is part of com0com project:https://sourceforge.net/projects/com0com/
- Example: call "cmd /c start C:\Users\marko.markkanen\com2tcp.exe --baud 1200 --telnet --ignore-dsr \\.\COM8 192.168.8.223 9980“
- Requires also com to com application. I use VSP Manager.
- com2tcp is unsigned application, so you may have to disable ’Driver Signature Enforcement’ (small security risk):
- Press Start->Search->cmd then right-click on it and click Run as administrator. In the CMD window type bcdedit /set testsigning off and press enter. Restart PC.
- After this you will see ‘Test Mode’ watermark on desktop. Instructions to remove watermark and more information about Test Mode, including risks: http://maxedtech.com/about-testmode/
TCP to Serialcom2tcp.exe
COM8 <-> RasPi:9980
N1MMCOM9 - Rotator
Virtual COM-portVSP Manager
COM9 <-> COM8
Internet/LAN
Raspberry PiRotator Control
Port 9980
Example:
Rotator Control – Hardware at OH7KD
Power Supply
Tower Unit Outside of the House Inside
WiFi Router
Serial & Power
LAN & Power
230VAC only when necessaryTelldus Net
Wireless WallSocket Switch
5V Relay Board PoE PoE WiFi Dongle
Compass ModuleGY-26
CW & CCW Relays
Rotator Control
CW / CCW 230VACRelays
5V Relay Board
Raspberry Pi
- Python software by OH7KD- Connects to Compass by
serial port- Control through web page
or socket connection (telnet)
- Emulates AlfaSpid, logging software can connect using virtual serial port
Compass Module
LAN & PowerSerial & Power
Control & Power
Web Page – port 80
Telnet – port 9980 – additional clients,e.g. N1MM
TCP to Serialcom2tcp.exe
(COM8)
N1MMRemote User
(COM9)
Virtual COM-portVSP Manager
(COM8 →
Telnet – oh7kd.dyn.org:9980
Tower UnitTCP to Serialcom2tcp.exe
(COM31)
TRX-ManagerHam Shack(COM21)
Virtual COM-portVSP Manager
(COM31 ->
Telnet – 192.168.5.5:9980
Router port forwarding: 9980 -> RasPi:9980 (Telnet/Virtual Serial Ports) and 7373 -> RasPi:80 (Web Pages)
Remote PC Ham Shack PC
Antenna Switching VB.Net app to setup correct mode after power on
Module Module1Sub Main()
Dim strArg() As StringstrArg = Command().Split(" ")Dim port As String = strArg(0)
Using com1 As IO.Ports.SerialPort =My.Computer.Ports.OpenSerialPort(port)
System.Threading.Thread.Sleep(500)com1.Write("P")System.Threading.Thread.Sleep(500)com1.Write("Q")
End UsingEnd Sub
End Module ’ useage ’AntSelectInit.exe COM23’MAN
USBRelay Unit
AC+12 V-12 VGND
USB
Coax to RemoteRelay Unit
Ameritron RCS-4 Control Unit
IC Station USB Relay Module- No programming
- Control by virtual serial port (binary)- After power up requires 2
commands to setup correct mode
Auto / Man switch on front
panel
AUTO
Handled by TRX-Manager in Ham Shack
RF
Winkeyer over Internet
WinkeyerUSB
TCP to Serialcom2tcp.exe (Server mode)COM13 -> TCP/IP Port 5999
call "cmd /c start C:\Users\kd\com2tcp --baud 1200 --telnet --ignore-dsr \\.\COM13 5999"
N1MM(COM12 – Winkeyer)
Virtual COM-portVSP Manager(COM13 -> COM12)
Ham Shack PC
Router port forwarding: 5999 -> PC:5999
COM13
TCP to Serialcom2tcp.exe(COM13)
LAN port 5999
call "cmd /c start C:\Users\kd\com2tcp.exe--baud 1200 --telnet --ignore-dsr\\.\COM13 oh7kd.dyndns.org 5999"
Remote User
- I did not get CW working over N1MM + TRX-Manager Server/Client.- Using Winkeyer over Internet instead.
TRX-Manager Client Settings (Remote User)
TRX-Manager: TRX 1 = Remote- Connects to TRX-Manager Server
TRX-Manager: Synchro A = Kenwood / COM2
VSP Manager: COM2 <-> COM1
N1MM: COM1 = Kenwood Radio
TRX-Manager Server Settings (Ham Shack)
TRX-Manager: TRX 1 = Elecraft KX3 / COM3:
TRX-Manager: Synchro A = ACOM600S / COM4:
TRX-Manager: BandDCD = COM14:
TRX-Manager: Rotator 1 = AlfaSpid (COM21):
+ VSP-Mgr (Com21->Com31) & com2tcp (Com31->RasPi)
TRX-Manager: Enable Remote TRX Server (+routing):
Startup scripts
REM Tower Controlcall "cmd /c start C:\Users\marko.markkanen\com2tcp.exe --baud 1200 --telnet --ignore-dsr \\.\COM8 oh7kd.dyndsn.org 9980"
REM K1EL Wineyercall "cmd /c start C:\Users\marko.markkanen\com2tcp.exe --baud 1200 --telnet --ignore-dsr \\.\COM13 oh7kd.dyndns.org 5999"
"C:\Program Files (x86)\N1MM Logger+\N1MMLogger.net.exe"
N1MM_Client_Side.bat
REM Start com2tcp server for Winkeyercall "cmd /c start C:\Users\kd\com2tcp --baud 1200 --telnet --ignore-dsr \\.\COM13 5999"
REM Tower control from TRX-Manager (Tower can be controlled also from TRX-Manager)call "cmd /c start C:\Users\kd\com2tcp --baud 1200 --telnet --ignore-dsr \\.\COM31 192.168.8.223 9980"
"C:\Program Files (x86)\TRX-Manager\TRX-Manager.exe"
TRX-Manager_Server.bat
TRX-Manager Web Client- Control your station from Web Browser
over Internet- Password protected- Useable from smartphone- Use Skype for audio- 3 CW memories- 3 Macro buttons- Click DX-spot or tune manually- Rotator control- Log Spot button -> add QSO to TRX-
Manger logbook- Good enough for working CW DX pileup
(Call + 599)
TRX-Manager - Only available at Server, use TeamViewer
The End
For questions, comments or Tower Control SW/HW requests email [email protected]