Sunday, July 02, 2023

항공교통관제 주파수

 항공교통관제 주파수 

VHF BAND 108 MHZ - 139 MHZ

UHF BAND 220 MHZ - 399 MHZ ( 밴드내 일부 )

SHF BAND 996 MHZ - 1190 MHZ

이 주파수 대는 민간 항공기의 유도를 위한 각종 첨단의 무선 응용시설이 이용되고 있습니다

=================================================

주파수 / 약 호 / 용 도 / 관 할 / 기 타 / 호 출 절 차

-------------------------------------------------------

119 RKPC APP KCAB 제주국제

121.2 RKPC APP KCAB 제주극제

124.05 RKPC APP KCAB 제주국제

121.5 RKPC EMG KCAB TWR 제주국제

118.1 RKPC TWR KCAB 제주국제

126.2 RKPC TWR KCAB 제주국제

121.65 RKPC GND KCAB 제주국제

126.8 RKPC KTIS KCAB 제주국제

----------------------------------------------------------------

134 RKTU APP ROKAF DEP 청주

121.5 RKTU APP ROKAF TWR 청주

126.2 RKTU TWR ROKAF 청주

134.1 RKTU GCA ROKAF ASRPAR 청주Call IFR중원

134 RKTI APP ROKAF 중원 Call VFR청주

-----------------------------------------------------------------

121.5 RKNN APP ROKAF 강릉

126.2 RKNN TWR ROKAF 강릉

-----------------------------------------------------------------

124.1 RKJK APP USAF 군산

121.5 RKJK APP USAF 군산

124.1 RKJK DEP USAF 군산

126.5 RKJK TWR USAF 군산

123.5 RKJK GND USAF 군산

120.255 RKJK ATIS USAF 군산

----------------------------------------------------------------

130 RKJJ APP ROKAF 광주

121.5 RKJJ APP ROKAF 광주

126.2 RKJJ TWR ROKAF 광주

128.87 RKJJ ATIS ROKAF 광주Call IFR광주APP

134.1 RKJJ GCA ROKAF ASRPAR 광주CallVFR광주TWR

----------------------------------------------------------------

130 RKJM APP ROKAF 목포Call IFR광주APP

121.5 RKJM APP ROKAF 목포

118.7 RKJM TWR KCAB ROKN 목포

121.5 RKJM TWR KCAB ROKN 목포

----------------------------------------------------------------

120.7 RKSO APP USAF 오산

127.9 RKSO APP USAF 오산

121.5 RKSO APP USAF 오산

127.9 RKSO DEP USAF 오산

122.1 RKSO TWR USAF 오산

132.45 RKSO GND USAF 오산

127.3 RKSO DLVRY USAF 오산

132.125 RKSO ATIS USIF 오산

120.7 RKSO GCA USAF ASR/PAR 오산Call IFR오산ADAR

121.5 RKSO GCA USAF ASR/PAR 오산CallVFR오산TWR

----------------------------------------------------------------

120.2 RKTH APP KORN APP/DEP 포항

121.5 RKTH APP KORN 포항

126.2 RKTH TWR KORN 포항

----------------------------------------------------------------

119.2 RKPP APP KCAB ROKAF 김해국제

125.5 RKPP APP KCAB ROKAG 김해국제

134.4 RKPP APP ROKAF 김해국제

121.5 RKPP APP KCAB ROKAF 김해국제

118.1 RKPP TWR KCAB ROKAF 김해국제

126.2 RKPP TWR ROKAF 김해국제

121.5 RKPP TWR ROKAF 김해국제

121.9 RKPP GND KCAB ROKAF 김해국제

126.6 RKPP ATIS KCAB ROKAF 김해국제

134.1 RKPP GCA ROKAF PAR김해국제CallRW36

121.5 RKPP GCA ROKAF PAR 김해국제

-----------------------------------------------------------------

120.7 RKSG APP USARMY 평택 / 오산APP

127.9 RKSG APP USARMY 평택/ 오산APP

121.5 RKSG APP USARMY 평택/ 오산APP

122.5 RKSG TWR USARMY 평택

121.5 RKSG TWR USARMY 평택

119.5 RKSG GND USARMY 평택

108.2 RKSG ATIS USARMY 평택

127 RKSG GCA USARMY ASR PAR 평택 오산APP

121.5 RKSG GCA USARMY ASR PAR 평택 오산APP

---------------------------------------------------------------

135.4 RKPS APP ROKAF 사천

121.5 RKPS TWR ROKAF 사천

134.1 RKPS GCA ROKAF ASR PAR 사천 IFR김해APP

121.5 RKPS GCA ROKAF ASR PAR 사천

---------------------------------------------------------------

119.1 RKSM APP KCAB 서울 Call서울APP

121.5 RKSM APP KCAB 서울 (신촌리)

124.8 RKSM DEP KCAB 서울

126.2 RKSM TWR ROKAF 서울

121.5 RKSM TWR ROKAF 서울

121.85 RKSM GND ROKAF 서울

134.1 RKSM GCA ASR PAR 서울 IFR 서울 APP

121.5 RKSM GCA ASR PAR 서울VFR 서울 TWR

--------------------------------------------------------------------

119.1 RKSS APP KCAB 김포국제

119.9 RKSS APP KCAB 김포국제

125.5 RKSS APP KCAB 김포국제

121.5 RKSS APP KCAB 김포국제

123.8 RKSS DEP KCAB 김포국제

124.8 RKSS DEP KCAB 김포국제

118.1 RKSS TWR KCAB 김포국제

121.9 RKSS GRD KCAB 김포국제

122.6 RKSS DLVRY KCAB 김포국제

126.4 RKSS ATIS KCAB 김포국제

127.1 RKSS A/G KCAB 김포국제 서울radio

----------------------------------------------------------------

122.2 RKND TWR KCAB 속초

130.8 RKND TWR KCAB 속초

121.5 RKND TWR KCAB 속초

124.6 RKND APP ROKAF 속초 강릉APP

----------------------------------------------------------------

135.9 RKTN APP ROKAF 대구

121.5 RKTN APP ROKAF 대구

135.9 RKTN DEP ROKAF 대구

126.2 RKTN TWR ROKAF 대구

134.1 RKTN GCA ROKAF 대구 대구APP

121.5 RKTN GCA ROKAF 대구

----------------------------------------------------------------

141.2 RKNW APP ROKAF 원주 IFR원주APP

121.5 RKNW APP ROKAF 원주 VFR원주TWR

126.2 RKNW TWR ROKAF 원주

134.1 RKNW GCA ROKAF 원주

121.5 RKNW GCA ROKAF 원주

---------------------------------------------------------------

135.4 RKJU APP KCAB 여수 사천APP

122.5 RKJU TWR KCAB 여수

121.5 RKJU TWR KCAB 여수

---------------------------------------------------------------

134.5 RKTY APP ROKAF 예천

121.5 RKTY APP ROKAF 예천

126.2 RKTY TWR ROKAF 예천

134.1 RKTY GCA ROKAF 예천

134.4 RKTY GCA ROKAF 예천

---------------------------------------------------------------

[약호 및 용도 설명]

------------------

1. TWR = 공항 관제탑용 (공항반경 약 5 마일 이내 관제)

2. APP = 공항 접근 관제용 (공항반경 약 30 - 60 마일용)

3. GCA = 정밀 접근 관제 (지상에서 관제사가 PAR를 이용한절차)

ILS(계기비행착륙지원장치)가 나오기전 지상의 관제사

가 수직,수평단방향 빔 레이다를 이용 항공기에게

무선 통신으로 유도하는 시스템으로 주로 항공모함

군용공항에서 사용

4. ATIS = (Automatic Terminal Information Service)혹은시스템

으로 공항의 기상및 공항운영상황 (약 10초에서-1분

정도로 반복) 을 30분 혹은 1 시간, 또는 정보의 변경

필요시 정보를 관련공항에 접근하는 항공기에게

당해 주파수를 이용 방송하는 시스템임.

5. GND = 공항에 항공기가 지상에서 이동하거나 주기장에

정지 L/B (탑승구) 에 접근하는등 지상에서의

행위를 할경우 사용하며 작은 공항(?)에서는

니 주파수를 별도로 두는것이 아니라 TWR 주파수

하나 정도로 복합 운용함

6. DLVRY = 국제공항급에서는 항공기의 이륙허가(승인)용으로

별도 운영함.

7. EMG = 이것은 여러분이 잘 알고있는 비상주파수임

특히 주의하셔야함

그리고 비상시 뿐만아니라 상호 주파수를 모를경우

이 주파수를 이용하여 의사소통을 함

8. DEP = 이것은 국제공항급에서 출항하는 항공기의 관제용

으로 다음의 관제구역 까지의 항공기 유도에 사용됨

9. A/G = 이 주파수는 항공교통 써비스 주파수로 항공기 교통

관제를 제외한 업무연락용으로 현재는 항공사가

자체의 통신망 혹은 공항통신써비스

(AOC=항공기 운영사를위한 공중통신)을이용하고있슴

10. VFR. IFR = 시계비행 . 계기비행

11. ASR = 공항 감시레이다 ( 공항부근을 감시하는 레이다)

보통의 레이다 보다 컴퓨터 부분이 보강된 항공기의

속도, 고도, 편명(인식)등을 자동인식하며 근래에는

SSR (2차 감시레이다)과 연계하여 그 위력을

발휘하고 있슴.

12. PAR = GCA 절차에 필요한 정밀 접근 레이다을 말하며

현재는 ILS 향후는 MLS(MicrowaveLandingSystem)

혹은 DGPS(GPS와 유사하나더 정밀함)로 교체중임

Sunday, March 05, 2023

IC-705 WLAN, VfView and WSJT-X setup

 1. IC-705 Setup

- MENU / SET

- WLAN Set (To connect home AP)

  - WLAN = ON, Connection type = Station, 

 - Remote Settings / Network control = ON

 - network user1 = ID / password / Yes, 

 - Network radio Name = IC-705

- MENU / Connectors / WLAN AF/IF Output = AF, 

- MOD INPUT / DATA OFF MOD = WLAN, DATA MOD = WLAN


* AF MONITOR FUNCTION MUST OFF to avoid unusual AF feedback at TX.



2. vfView Setup



- USE HAMLIB NET RigCtrl




3. WSJT-X Setup




Saturday, April 16, 2022

RTL-SDR OpenwebRX direct sample mode configuration

 

RTL-SDR OpenwebRX direct sample mode configuration 

Below show an example for config_webrx.py  file

just add   "direct_sampling":2,

======
sdrs = {
    "rtlsdr": {
        "name": "RTL-SDR USB Stick",
        "type": "rtl_sdr",
        "ppm": 0,
        # you can change this if you use an upconverter. formula is:
        # center_freq + lfo_offset = actual frequency on the sdr
        # "lfo_offset": 0,
        "profiles": {
            "70cm": {
                "name": "70cm upper Band",
                "center_freq": 438700000,
                "rf_gain": 29,
                "samp_rate": 2560000,
                "start_freq": 439100000,
                "start_mod": "nfm",
            },
            "2m": {
                "name": "2m Complete",
                "center_freq": 145000000,
                "rf_gain": 29,
                "samp_rate": 2048000,
                "start_freq": 145100000,
                "start_mod": "nfm",
            },
            "FM radio": {
                "name": "FM radio",
                "center_freq": 94500000,
                "rf_gain": 29,
                "samp_rate": 2560000,
                "start_freq": 94700000,
                "start_mod": "wfm",
            },
            "20m": {
                "name": "20m Complete",
                "center_freq": 14200000,
                "rf_gain": 29,
                "samp_rate": 512000,
                "start_freq": 14074000,
                "start_mod": "usb",
                "direct_sampling":2,
            },
            "30m": {
                "name": "30m Complete",
                "center_freq": 10100000,
                "rf_gain": 49,
                "samp_rate": 300000,
                "start_freq": 10136000,
                "start_mod": "usb",
                "direct_sampling":2,
            },
      }
   }
}

==== Other Example ====

sdrs = {
    "rtlsdr-hf": {
        "name": "RTL-SDR HF",
        "type": "rtl_sdr",
        "ppm": 0,
        # you can change this if you use an upconverter. formula is:
        # center_freq + lfo_offset = actual frequency on the sdr
        # "lfo_offset": 0,
        "profiles": {
            "3.5": {
                "name": "80m - 3.5",
                "center_freq": 3000000,
                "rf_gain": "auto",
                "samp_rate": 2400000,
                "start_freq": 3000000,
                "start_mod": "lsb",
"direct_sampling": 2,
            },
            "7": {
                "name": "40m - 7",
                "center_freq": 7000000,
                "rf_gain": "auto",
                "samp_rate": 2400000,
                "start_freq": 7000000,
                "start_mod": "lsb",
"direct_sampling": 2,
            },
            "10": {
                "name": "30m - 10",
                "center_freq": 10000000,
                "rf_gain": 30,
                "samp_rate": 2400000,
                "start_freq": 10000000,
                "start_mod": "usb",
            },

Buffalo LinkStation NAS LS-WVL reformatting, Emergency mode, firmware


When you change the hard drive, you need to format and install the firmware. 

The Linkstation should be in Emergency mode



1. Go to Buffalo firmware down load page at   http://buffalo.jp/support_ap/support/products/ls_wvl.html

 - Download latest firmware :

download
274 MB
15-Dec-201.75

2. Extract the zip-file "ls_series-v175"

3. Edit  "LSUpdater.ini" file

[Flags]
VersionCheck = 1     
NoFormatting = 0              ==> Change from 1 to 0

[SpecialFlags]
Debug = 1


4. Run LSUpdater.exe

 - You will see the message message.  Is is OK



5. Wait about 5 min then turn it off and turn it on

 - Run LSUpdater.exe  again 




 

If you see the message below, then try again.




 


The Amber LED flashing indicate I25 - Firmware is updating, Do NOT turn off
It will reboot itself a a few times.

Finally, You will see this.



You need to change the webserver language.
 id: admin
 pass: password





Sunday, October 10, 2021

Bluetooth external Numeric Keypad for contest F-keys


1. Get a Bluetooth Numeric key pad
2. Label keys with F1~F11 labels with label printer
3. Remap keys with "RemapKeyboard.exe" program.     
  - https://unclassified.software/en/apps/remapkeyboard 
  - https://atnsoft.com/downloads/

KEY REMAP TABLE

 Numpad: 7 => F1 
 Numpad: 8 => F2 
 Numpad: 9 => F3
 Numpad: - => F4
 .....
 ...
 Numpad: 0 => ESC
 Numpad: . => ESC


 


Wednesday, September 22, 2021

MFJ-1026 Noise canceller Modification Plan


After some research on the Internet. I concluded this.

MFJ-1026 Noise Canceller modification Plan


1. Reduce Low frequency attenuation (increase gain at 1.8 MHz) 

 - Change C8, C16 (680pF) with 1.6nF   for Better high pass filtering  

 - Change  C18 (680pF) with 1.6nF  for better pass through 

 - May Change L3, L4, L5, L6 (5.6 uH) with 10 uH  ==> No need to change (Just Increase Cap to decrease attenuation at 1.8 Mhz)

2. Better IM Dynamic range

 - Remove Diodes D6, D9, D10, D11

3. Better Gain

 - Add 4:1 transformer to the output of  Q4 (C1)

4. Better control of Phase range (Swap inputs)

 - ADD DPDT SW & Coax to swap  the inputs of  Q8 and Q5

 -  Q8  ->   SW  ->  R20;  Q5  ->  SW  -> R9

5. Getting Better phase range and control

 - Change C13 (120pF) with (47pF  => 68pF)  - Increased range for high band position

 - Change C12 (470pF) with 680pF   - Better phase control for low band position

6. Protect Aux Antenna FET from high power operation

 - Install an AUX antenna input grounding Relay. 

 - Connect Relay (+) to (C2-Q1 junction pad) and  Relay (-) to  (R5-Q2 junction pad), -Install a diode

 - Install a protection diode

 - Need a 12V relay for isolation and a Diode for protection (NA1S TQ2-12V, Single side stable)





Sunday, February 07, 2021

Setup OpenwebRX for Raspberry pi and RTL-SDR

 

1. Download Raspberry pi Image from https://www.openwebrx.de/download/rpi.php

2. Burn image to 16GB SD card

3. Install SD card and RTL-SDR into the RPi3B

4. login to local terminal, user/pass = pi/raspberry

5. run "sudo raspi-config"  for initial setup

6. setup configuration file for OpenwebRX

   cd /etc/openwebrx

   sudo nano config_webrx.py


Anaconda, keras install

 

Go to "Anaconda Prompt"


0. check Conda

conda list              # list library

conda update --all   # Updates all libraries

conda --version

python --version    # --version  shows version of the library


1. Create environment

conda create -n py38  python=3.8

conda activate py38   # activate the environment  

conda deactivate py38   # deactivate 


2. Install keras version

conda install -c anaconda keras-gpu  #GPU 버전

conda install -c anaconda keras   #CPU 버전


3. Install other packages

conda install -c anaconda pandas # pandas  

conda install -c anaconda xlrd

conda install -c anaconda xlwt       # excel 파일을 pandas에서 읽고 쓰기

conda install -c anaconda seaborn # 데이터 시각화

conda install -c anaconda scikit-learn     #   사이킷런

conda install pillow   # 이미지 처리 


4. Check at Python/Spyder

import tensorflow as tf

import keras as k

print("Version of Tensorflow = ", tf.__version__)

print("Version of keras = ", k.__version__)





Wednesday, September 30, 2020

DELL 7820 MiniSAS - NVME SSD Windows 10 install

 

PROBLEM - Dell recovery media does NOT recognize NVME SSD


Solution - Found at Dell support page in

   https://www.dell.com/support/article/ko-kr/sln310971/

Precision 5820/7820/7920: NVME 드라이브에서 Windows 10 설치가 실패 함


1. Download  RSTe 5.3.1  at 
   https://www.dell.com/support/home/drivers/driversdetails?driverId=TV5DJ

2. Extract the file to   "/Drivers/BootCritical" directory of USB boot media

3. Do 3rd party driver install at Recovery screen, by selection Windows8.1 directory

NOW the Windows recovery recognize NVME SSD at MiniSAS-0 slot.




Saturday, August 15, 2020

Using the LG AN-WF100 USB Wi-Fi adapter for PC

 


The LG AN-WF100 USB Wi-Fi dongle left, after trashing the TV.

 This dongle uses a generic Broadcom chipset. To use the dongle at Windows 7 PC

1. Download a compatible driver from http://www.downloads.netgear.com/files/GDC/WNDA3100V2/WNDA3100v2_V2.2.0.5.zip

2. Install the driver normally. Close application

3. Remove/Disable WNDA3100v2.exe from the strat-up entry

4. Now plug-in the LG dongle to your PC. It will be detected as an unknown “Remote Download Wireless Adapter” device.

5. Open Device Manager, right-click the unknown “Remote Download Wireless Adapter” device, select “Update Driver…”, choose to browse for the driver.

6. Select the “Network adapters” category, scroll down to “Netgear”, select “Netgear WNDA3100v2 N600 Wireless Dual Band USB Adapter”.

7. Just Ignore the warning about driver compatibility.

That's it.


Sunday, August 09, 2020

Raspberry Pi3B WSJT-X and WSPR install with RTL-SDR

 

O Prepared gears:

 - Raspberry Pi3B with >8GB SDHC

 - Old RTL-SDR dongle 


Setting up

1. Prepare RPi3B

 - Install the latest image from https://www.raspberrypi.org/downloads/raspberry-pi-os/

  sudo raspi-config

  In the localization settings change the timezone to UTC (localization options -> time zones -> none of the above -> UTC

2. Install RTL-SDR drivers

sudo apt-get update
sudo apt-get install libusb-1.0-0-dev git cmake -y
git clone https://github.com/keenerd/rtl-sdr
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
sudo ldconfig

echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf

Now reboot to apply the blacklist, and plug in your RTL-SDR.     

3. PulseAudio & MPlayer

Need PulseAudio to create virtual audio cables. Also install mplayer for playing the audio.

sudo apt-get install pulseaudio pavucontrol mplayer -y

4. CSDR

CSDR is a library of DSP functions that we'll use to set up a multi-channel receiver.

sudo apt-get install libfftw3-dev -y

cd ~
git clone https://github.com/simonyiszk/csdr
cd csdr

Before going any further, for the Pi 3 we recommend editing the Makefile and changing the PARAMS_NEON flags to the following. The Makefile can be opened with 

  "sudo leafpad Makefile"

-march=armv8-a
-mtune=cortex-a53
-mfpu=neon-fp-armv8.

Also under PARAMS_RASPI set:

-mcpu=cortex-a53
-mfpu=neon-fp-armv8.

We're not sure if it actually does anything, but the idea is that this should help optimize the code for the Pi 3 CPU. For any other SBC, you'll want to check what these settings should be for your architecture.

Close and save the file, then run:

make
sudo make install

5. ncat 

The ncat is a TCP server that we'll use to help us set up a multi-channel receiver.

sudo apt-get install nmap -y

6. Chrony

We'll use Chrony to adjust the time offset required by these QRP modes. The configuration will be discussed later.

sudo apt-get install chrony -y

7. WSJT-X

Go to the WSJT-X page in Chrome, download the .deb file for the Raspberry Pi, And Install it.


8. Audio Piping Setup

Need to create virtual audio sinks for each frequency that you want to simultaneously monitor. The example below will set up two virtual audio sinks that load on boot. 

To set up another, simply add more lines from Virtual 2 and and so on. First open the pulseaudio default.pa file:

sudo leafpad /etc/pulse/default.pa

Add the following lines to the end of the file:

load-module module-null-sink sink_name=Virtual0 sink_properties=device.description="Virtual0"
load-module module-null-sink sink_name=Virtual1 sink_properties=device.description="Virtual1"

Disabling PulseAudio logging is recommended, as this seems to be a large user of CPU cycles.

sudo leafpad /etc/pulse/daemon.conf

 Find "log-level" and change it to "log-level = error". 

; log-target = auto
log-level = error
; log-meta = no

 Now reload pulseaudio either by rebooting, or running "pulseaudio -k" at a command line.

9. RTL-SDR Setup

Set up an RTL-SDR TCP server with ncat. In this example, the center frequency is set to 14.1 MHz (14100000 Hz). 

Change this to whatever frequency band you want to monitor.   Just remember to offset the center frequency by a few hundred kHz from the actual signal frequency to help avoid the center DC spike.

======
pi@raspberrypi1:~ $ rtl_sdr -s 1200000 -f 14100000 -D 2 - | csdr convert_u8_f | ncat -4l 4952 -k --send-only --allow 127.0.0.1
Found 1 device(s):
  0:  Generic, RTL2832U, SN: 77771111153705700

Using device 0: Generic RTL2832U
Found Elonics E4000 tuner
Enabled direct sampling mode, input 2
Enabled direct sampling mode, input 2/Q.
Sampling at 1200000 S/s.
Tuned to 14100000 Hz.
Tuner gain set to automatic.
Reading samples in async mode...

======
 pi@raspberrypi1:~ $ ncat -v 127.0.0.1 4952 | csdr shift_addition_cc `python -c "print float(14100000-14074000)/1200000"` | csdr fir_decimate_cc 25 0.05 HAMMING | csdr bandpass_fir_fft_cc 0 0.5 0.05 | csdr realpart_cf | csdr agc_ff | csdr limit_ff | csdr convert_f_s16 | mplayer -nocache -rawaudio samplesize=2:channels=1:rate=48000 -demuxer rawaudio -
csdr bandpass_fir_fft_cc: window = HAMMING
csdr bandpass_fir_fft_cc: (fft_size = 256) = (taps_length = 79) + (input_size = 178) - 1
(overlap_length = 78) = taps_length - 1
fir_decimate_cc: taps_length = 79
csdr fir_decimate_cc: taps_length = 79
csdr fir_decimate_cc: padded_taps_length = 80
csdr fir_decimate_cc: taps = 7c8018
csdr fir_decimate_cc: NEON aligned taps = 7c8020
Ncat: Version 7.40 ( https://nmap.org/ncat )
csdr bandpass_fir_fft_cc: filter initialized, low_cut = 0, high_cut = 0.5
Ncat: Connected to 127.0.0.1:4952.
csdr shift_addition_cc: reinitialized to 0.0216667
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
rawaudio file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 1 ch, s16le, 768.0 kbit/100.00% (ratio: 96000->96000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
^C   8.7 (08.6) of 0.0 (unknown) 29.2% 


MPlayer interrupted by signal 2 in module: play_audio
A:   8.7 (08.7) of 0.0 (unknown) 29.0%   
=====





Saturday, August 01, 2020

Raspberry Pi 4 and WSJT-X and GPS - time sync install


1. INSTALL WSJT-X
a. Install the latest Raspbian, and make sure you have a working internet connection.
  sudo apt-get update 
  sudo apt-get upgrade

b. Visit the WSJT-X homepage and download the latest release for Raspbian.
c. Install wsjt-x
 
cd Downloads sudo dpkg -i wsjtx_2.2.2_armhf.deb sudo apt --fix-broken install


2. SET-UP: Sound / AUDIO

a. Prepare a USB Sound device such as Logitech USB headset
b.  run lsusb
   At this point, nothing should be plugged in aside from your normal peripherals.
   nothing attached to your radio and no USB sound interfaces or CAT interfaces

c. plug-in the USB audio device (ie. Logitech headset),  run lsusb again.
d. and check dmesg -H

then found this
======
pi@RPI4B:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 045e:0800 Microsoft Corp. 
Bus 001 Device 006: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
===
pi@RPI4B:~ $ dmesg -H
........
[Aug 1 08:59] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
[  +0.147608] usb 1-1.3: New USB device found, idVendor=046d, idProduct=0a02, bc
[  +0.000018] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=
[  +0.000016] usb 1-1.3: Product: Logitech USB Headset
[  +0.000015] usb 1-1.3: Manufacturer: Logitech
.......
=====

e. Set at  Soundcard input and output at FILE / Settings / [Audio]   as shown below




3. Set-up CAT  (ICOM CI-V with USB-serial dongle case)

a. Prepare USB serial for CI-V  connection
b. run lsusb 
c. plug-in the USB serial  device (ie. CP2101 shown below),  run lsusb again.
d. Check dmesg -H
  - It has been assigned to the device /dev/ttyUSB0 and that its serial number is 0001
e. Check  ls /dev/serial/by-id/ 
f. Set correct device at  at FILE / Settings / [Radio]  at wsjt-x



====
pi@RPI4B:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1546:01a7 U-Blox AG [u-blox 7]
Bus 001 Device 003: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350
Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

====

[  +8.970094] usb 1-1.1: new full-speed USB device number 6 using xhci_hcd
[  +0.164422] usb 1-1.1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[  +0.000009] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000007] usb 1-1.1: Product: CP2102 USB to UART Bridge Controller
[  +0.000006] usb 1-1.1: Manufacturer: Silicon Labs
[  +0.000006] usb 1-1.1: SerialNumber: 0001
[  +0.049068] usbcore: registered new interface driver usbserial_generic
[  +0.000030] usbserial: USB Serial support registered for generic
[  +0.003063] usbcore: registered new interface driver cp210x
[  +0.000033] usbserial: USB Serial support registered for cp210x
[  +0.000101] cp210x 1-1.1:1.0: cp210x converter detected
[  +0.006001] usb 1-1.1: cp210x converter now attached to ttyUSB0
====
pi@RPI4B:~ $ ls /dev/serial/by-id/
usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
usb-u-blox_AG_-_www.u-blox.com_u-blox_7_-_GPS_GNSS_Receiver-if00
pi@RPI4B:~ $ 
====


3A. The CP2102 USB serial board conversion to a  CI-V converter
a. Connect RXD to the tip of 3.5mm Plug
b. To make open collector connection for CI-V,  Use a Diode(1N4148) to connect the TXD.
  - Connect the Cathode to TXD and anode to RXD (tip)




3B. ICOM IC-7100 USB direct connection case
a. Unplug unused USB dongles, Reboot RPi4
b. Connect a USB cable to IC-7100
c. Check USB connection by run lsusb .
d. Configure WSJT-X as shown below


or


====
pi@RPI4B:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1546:01a7 U-Blox AG [u-blox 7]
Bus 001 Device 020: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 019: ID 08bb:2901 Texas Instruments PCM2901 Audio Codec
Bus 001 Device 018: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 017: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
====



4. Set-up a GPS dongle and Time Sync

a. Prepare USB connected GPS device
b. Install the following software:
  sudo apt -y install gpsd gpsd-clients python-gps chrony python-gi-cairo

c. Make changes to the gpsd configuration file as follows:
  sudo nano /etc/default/gpsd

d. In the file that opens, add or amend lines to make sure the following is present:

  START_DAEMON=”true”
  USBAUTO=”true”
  DEVICES=”/dev/ttyACM0″
  GPSD_OPTIONS=”-n”

  Hit ctrl-x followed by y to close and save the file.

e. Reboot the Pi and check that the following services are active:

  systemctl is-active gpsd

  systemctl is-active chronyd

f. Use any of the following three commands to check that the GPS is visible and delivering NMEA words. 

  cgps – s   or   
  gpsmon -n  or   
  xgps

g. Next, make a change to the chrony configuration file:

  sudo nano /etc/chrony/chrony.conf

Add the following line to the end of the file:

  refclock SHM 0 offset 0.5 delay 0.2 refid NMEA

  Hit ctrl-x followed by y to close and save the file.

h. Check chrony’s sources with the command:
  chronyc sources -v

 - You will see a list of available time servers plus the GPS source which will be shown as NMEA. Without the network connection, you will just see the NMEA source listed. 
 Symbols in MS "#*"  where # means the GPS is recognized as a local clock, * means that it’s being used to synchronize the Pi system time.

i. use chronyc to provide a more detailed view using the command:
  sudo chronyc tracking


====
[  +0.299750] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[  +0.134447] usb 1-1.4: New USB device found, idVendor=1546, idProduct=01a7, bcdDevice= 1.00
[  +0.000020] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000016] usb 1-1.4: Product: u-blox 7 - GPS/GNSS Receiver
[  +0.000015] usb 1-1.4: Manufacturer: u-blox AG - www.u-blox.com

=====
pi@RPI4B:~ $ chronyc sources -v
210 Number of sources = 5

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
 / .- Source state '*' = current synced, '+' = combined , '-' = not combined,
| /   '?' = unreachable, 'x' = time may be in error, '~' = time too variable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#x NMEA                          0   4     0   29m   -437ms[ -437ms] +/-  100ms
^+ 210.183.236.141               2  10   377   670  -1141us[-1396us] +/-   60ms
^* 106.247.248.106               2  10   337   262  +1198us[ +929us] +/-   41ms
^+ dadns.cdnetworks.co.kr        2   9   377   524  -4922us[-5182us] +/-   91ms
^+ send.mx.cdnetworks.com        2  10   277   409  +3143us[+2879us] +/-   53ms
pi@RPI4B:~ $ 
=====






====
pi@RPI4B:~/Downloads $ sudo dpkg -i wsjtx_2.2.2_armhf.deb
(Reading database ... 154667 files and directories currently installed.)
Preparing to unpack wsjtx_2.2.2_armhf.deb ...
Unpacking wsjtx (2.2.2) over (2.2.2) ...
Setting up wsjtx (2.2.2) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
pi@RPI4B:~/Downloads $ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  rpi-eeprom-images
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@RPI4B:~/Downloads $ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  rpi-eeprom-images
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 14.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 154667 files and directories currently installed.)
Removing rpi-eeprom-images (7.8-1) ...
pi@RPI4B:~/Downloads $ wsjtx
qt5ct: using qt5ct plugin
PulseAudioService: pa_context_connect() failed
ALSA lib pcm_dsnoop.c:575:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dsnoop.c:575:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
qt5ct: D-Bus global menu: no

=====