Posts

Python GUI app to control X6100 Armbian

 [Main.py] import sys from PyQt5.QtWidgets import QDialog, QApplication from FirstApp import * import Hamlib import time cur_mode="CW" #print("Hamlib") Hamlib.rig_set_debug(Hamlib.RIG_DEBUG_NONE) my_rig = Hamlib.Rig(Hamlib.RIG_MODEL_NETRIGCTL) #my_rig.set_conf("rig_patname","192.168.1.248:4532") #print("here") my_rig.set_conf("rig_pathname","127.0.0.1:4532") my_rig.set_conf("retry","5") my_rig.open() #print("hamib open") cur_freq = my_rig.get_freq() #print("Current freq",cur_freq) (mode, width) = my_rig.get_mode() if mode==1:     cur_mode="AM" elif mode==32:     cur_mode="NFM" elif mode==2:     cur_mode="CW" elif mode==128:     cur_mode="CWR" elif mode==8:     cur_mode="LSB" elif mode==4:     cur_mode="USB" #print(cur_mode) #print(cur_freq,mode) #my_rig.set_freq(Hamlib.RIG_VFO_A, 28000000) #time.sleep(5) set_mode=...

How to Solve HTTPS “Not Secure” Warning in Chrome

Image
 After moving my wife's Windows 7 PC to a new W7 PC, everything seems to be working, except now she sees "Not Secure" warning in Google Chrome.  "How come?", I said. Firefox works fine. It must be OS issue. I checked the certificate. I Googled GlobalSign certificate and found this site https://support.globalsign.com/ca-certificates/root-certificates/globalsign-root-certificates/ with downloadable certificates. Found R3 root certificate and downloaded. Ran certmgr.msc. Import to Trusted Root Certification Authorities. Now it works. No reboot was necessary.  

VCE files for US Ham Extra exam

 I created two vce files for US Ham Extra exam. I needed to split into two files due to vce file limitation. One is Question pools from E1A to E6C Another is from E6D to E0A Please ignore the score. It is a quick and dirty solution. You need a VCE player. I hope this helps someone interested in taking Extra exam like me. 1 https://mega.nz/file/ctowSIwb# Hrc28SOnKWdX0-FH-_6lZYd- osAFz6DyPYlHfgtmzho 2 https://mega.nz/file/t8oABaKA# GhpPr7mSjkp7AeDtOu_ KiTpZWIWgZGthCpsE7QrAd3g (Disclaimer: I am not responsible for any damages caused by the vce files. Use at your own risk.)

Windows 10

After all the years of struggling to like Windows 10, with Dell Precision M4700, I finally have no major complaints about Win10. The menu still sucks but it does not get in the way any more. In preparation of CCNA test, I hesitantly upgraded my M4700 to Win10 so that the remote test app will work. I installed some essential apps for my daily work and school. Surprisingly, everything works and it seems a little faster than Win7. SDRangel works beautifully because of NVidia Quadro graphics. VCV Rack won't complain because of the lack of OpenGL. From now on, I should buy the ones that Win10 certified, which should be most PCs on the market. No more old ThinkPads. And I will avoid Intel graphics.

Ubuntu 18 and ThinkPad X201 - Surprise

Being frustrated by excruciatingly slow speed of Android Studio on Windows 7 on one of several of my beloved ThinkPad X201's, I switched to Ubuntu 18 as a trial. The laptop has 128GB SSD and 8GB RAM. I have had nothing but bad impression and experience of Ubuntu Unity so I was skeptical first. Ubuntu installation was smooth as it should except my SSD not being recognized by BIOS first right after removed the old HD and inserted a used SSD into it to the laptop's HD slot. I had to adjust the location of the SSD to fit into SATA port inside the laptop just right and it took some trial and error but the BIOS finally recognized it and the rest was very easy. After that, as I always do with Linux, I ran updates. I preferred Xubuntu before this, but this time, I really like just plain Ubuntu. Everything seems quick and the UI does not get into my nerve any more, and I rather like it. I installed Chromium browser, Android Studio, SDR# using Mono, gqrx, gnuradio, TeamViewer, Ora...

Icom ID-1 and D-Star DD mode

Image
I have been interested in combining my knowledge of computer network and ham radio. I acquired 2 ICOM ID-1 23cm FM/D-Star transceivers in 2017 from eBay. It was not cheap even for used ones. Back then, Icom ID-1 was the only D-Star DD mode capable transceiver. DD mode allows TCP/IP communication via 1.2GHz radio wave. This year, Icom started selling IC-9700 which is V/UHF FM/D-Star radio in addition to 23cm coverage. According to D-Star repeater lists, only 23cm D-Star repeater in NYC area is K2DIG. I wanted to set up ID-1 to try out DD mode using K2DIG repeater to get a lightening fast (!)128kbps internet. I wanted to know the assigned IP address from D-Star admin server. I contacted NJ2DG which I registered my call sign with. They replied with the required info but they told me that K2DIG has been down for a while and 23cm repeater was down longer than that. I tried to connect to NJ2DG from my apartment but it was unsuccessful. In case anyone in Queens, NY area wanted ...

Dell Venue 11 Pro

I have 3 used Dell Venue 11 Pros. 2 with 4GB RAM and 128GB HD. Another with 8GB and 256GB HD. Actually, I have 4th but this one broke after 30 days of purchase from eBay and I could not get my money back. I had nothing but trouble with one of these 3 usable ones. Its BIOS is password protected and its speaker was not working well. Some apps don't install. To remedy this, I tried to run Windows Update but it stops in the middle and does not complete. My last choice was to reinstall Windows 10. But because of BIOS lockup, I could not boot from DVD. I copied Win10 install files to the USB and tried to run setup.exe but it kept failing in the middle. I created Win10 install USB stick from Microsoft and run setup.exe from USB. This time it went through (I kept crossing my fingers during this ordeal) and what a relief after a few reboots when I saw a brand new Windows 10 introduction came up! After hours of installation effort, the tablet is like a brand new computer. Everything...

Transmitting video with ADALM PLUTO to Satellite receiver

Image
I was able to transmit video using ADALM PLUTO and DATV Express to a Satellite receiver. ADALM PLUTO is modified to transmit up to 6GHz. The software I used are DATV Express and vMix Basic. They are both free. DATV Express is beta so use at your own risk. The laptop is Acer Aspire Timeline X Core i7 with 8GB RAM. The receiver is a cheap DVB-S2 receiver from China. Nothing fancy. I cannot find any brand name or model number. I will not be able to upgrade to a newer firmware. I bought it for $21 from eBay. The wifi dongle came broken. That does not affect our project. But with wifi dongle, I can watch YouTube from this little box. The replacement is on the way from China. The antenna did not come with it. I borrowed one from USB TV tuner I had. This is the exact model as shown in these videos. https://www.youtube.com/watch?v=qknWQi54oCo https://www.youtube.com/watch?v=m290NR5pEfY&t=1121s Since I've never used satellite receiver before, finding the right settings for...

Transmitting video with HackRF - Update

I was able to fix the video problem. I needed to add -thread_queue_size 1024 after -f alsa :~/gr-dvbt$ ffmpeg -re -thread_queue_size 1024 -i /dev/video0 -vcodec mpeg2video -f alsa -thread_queue_size 1024 -i hw:0,0 -acodec mp2 -s 320x240 -r 60 -b:v 2M -minrate:v 2M -maxrate:v 2M -bufsize:v 14M -ac 2 -b:a 48k -mpegts_transport_stream_id 1025 -mpegts_service_id 1 -mpegts_pmt_start_pid 0x0fff -mpegts_start_pid 0x0121  -muxrate 4524064 -f mpegts -y in.fifo Now the video is very smooth. Also, you can add your call sign.  ffmpeg -re -thread_queue_size 1024 -i /dev/video0 -vcodec mpeg2video -f alsa -thread_queue_size 1024 -i hw:0,0 -acodec mp2 -s 320x240 -r 60 -b:v 2M -minrate:v 2M -maxrate:v 2M -bufsize:v 14M -ac 2 -b:a 48k -mpegts_transport_stream_id 1025 -mpegts_service_id 1 -mpegts_pmt_start_pid 0x0fff -mpegts_start_pid 0x0121  -muxrate 4524064 -f mpegts -vf drawtext=fontfile=/usr/share/ fonts/truetype/freefont/ FreeSerif.ttf:text="CALLSIGN":x= 440:y=420:...

Transmitting video with HackRF

I just got my HackRF and was playing with it ever since. One of my interests is Digital Amateur TV. I was searching for solutions to do DATV using HackRF. Finally, I was able to test transmitting video via HackRF. I followed the following 2 sites and modified commands and dvbt-hackrf.py. 1. http://photohamrad.blogspot.com/2015/06/transmitting-video-with-hackrf-blue.html 2. https://irrational.net/2014/03/02/digital-atv/ I only tested on 441MHz. I will need to tweak on ffmpeg switches and python code to make the video smoother. Right now the video only shows the initial image and no movement. avconv may be better but I was not able to install it, so I used ffmpeg. My next challenge is to transmit in DVB-S2 and receive the video with Satellite set-top receiver. So far, I am not able to build dvb-s package. I also ordered Adalm Pluto from Arrow Electronics but they have not shipped it. Environment: Transmitter PC Lenovo ThinkPad X201 Core i5 CPU 4GB RAM Ubuntu Mate 18.04 H...

macOS High Sierra on Lenovo X220

Image
I was able to install macOS High Sierra on my Lenovo X220 8GB RAM 320GB HD by following this site. http://x220.mcdonnelltech.com/ The performance is pretty good. I am writing this blog on the X220 running High Sierra. The only issues I had were: 1. Left mouse button causes double click - by using extra USB mouse, the problem can be avoided, or by turning off touchpad 2. Wifi - wifi card in the laptop does not work. - By using TP-Link TL-WN823N V2 with the macOS 10.12 driver on their support site, the Wifi started working. Wired ethernet port works fine without any modification. https://www.tp-link.com/us/download/TL-WN823N.html#Driver I installed Xcode,  Android Studio, Cubase Element 8, and VMWare Fusion. I needed to enable VT-D in BIOS to be able to run VMs. I installed Linux Mint and Windows 7 successfully. However, I am having a problem that VMs cannot get IPs from my DHCP server. Static IPs work fine. It could be my router at fault. I ordered a newer and faster route...

ASUS ZenWatch 2 and Android Wear 2 Upgrade

On 8/7 Monday night, I happened to swipe up ZenWatch display and noticed it said Android Wear Update available. I thought it's just another security update, so I said yes to upgrade. It started updating process but it did not look like ordinary security update. I let it run through the night, and it said Welcome to Wear 2, or something like that, I forgot exactly what it said. It wanted to copy Google profile from my Android phone to the watch so I said ok. It was Tuesday morning and It was taking too long and I had to leave to work I stopped the copying from the phone. I was afraid the watch won't function but it was working fine. After I came home, I copied Google profile to the watch. Impression? I have to use the physical button more than before and it's annoying. The menu structure changed and it's harder to reach to apps. The speed seems to be equal to the previous version. It's supposed to allow you to install apps from the watch but I haven't foun...

Wires-X Analog Node

I got HRI-200. I set up Wires-X software and I am using FT817 as analog station. It took 3 days to receive Wires-X registration. Whenever somebody talks, FT817 turns itself off. Also, I can't hear anything from receiver. I can hear conversation from HRI200's monitor port (mono only). There is very little amount of information available as to how to build Wires-X  analog node. I am sure many people are using Analog nodes but nobody seems to be sharing the info. I gave up trying to use FT817 and bought FTM100. If it's Yaesu's plot to make people buy FTM100 or FTM400, they seem to have succeeded. Addition to the original post I bought FTM100 and setting digital node with it was very easy.

General Class License

I passed the General Class Ham Radio license exam today. I mainly studied with this Japanese test prep application called "Extra yosei gips". http://walker.bikkuri.link/jh7bzr Out of 35 questions, there were only 2 that I was not sure of the answers but I knew all other questions and answers. Now I have access to all HF bands that I did not have with Technician class license. I need to add /AG call sign until FCC updates the database. Of course, Extra gives more but General is more than enough for now. People are asking "How long does it take for FCC to update the database after exam?" For me it is exactly 1 week. 

ADSB#

Image
There is no binary available for ADSB# any more but if you have Visual Studio 2015 Community edition and get the source from https://github.com/cgommel/adsbsharp, you can build it. I am no expert on Visual Studio or programming in C#, but the built process went well without any issue. I am now running ADSB# along with ADSBScope to track airplanes. We are having big snow storm right now, but surprisingly, I saw 2 planes departing from LaGuardia.

Ham License

I got my ham radio Technician class license on Monday 7/25/2016. It took a week after the exam for the FCC to process. Since there is no Morse code requirement, you do not have to be techie since all you need to do is remember questions and answers from question pools available online. Unless you really want to learn about technical details, you do not need to buy a textbook. FCC does not send a copy of license. You need to register on FCC site and you download a copy of your license as a pdf file. I will try to take General test sooner than I thought I would.

Dell Venue 8 Pro and Windows 10

I was putting off upgrading my Dell Venue 8 Pro to Windows 10. I decided to try the upgrade and see if Windows 10 is any good on this tablet. 1. Took system backup in case something goes wrong.      Using Dell Backup and Recovery and 8GB USB stick, I did system backup.      It took about 1 hour. 2. Downloaded Windows 10 installer from Microsoft site. 3. Ran the installer - took about several hours      I chose to erase apps and personal files 4. Updated BIOS     Dell driver autodetect insisted on doing Firmware update but it always failed when doing         automatic update. I ran manually and the program complained there is already the same or newer     version of the driver installed. Caution: If you like Dell's default wallpaper on Venue Pro 8, I recommend backing up the wallpaper before upgrading. I forgot to back it up and ended up losing it. No...

Nord Modular Wizoo Book CD

Nord Modular Wizoo Book CD contents are available at http://electro-music.com/nm_classic/011_1_patches/George_Peter_Tutor/

Jos. A Bank

It may be an usual industry practice but I had a strange experience. I bought a navy blazer on 6/22 at Jos. A Bank. It was $450 and it was a little expensive but I needed a jacket so I bought it without hesitation. But my wife told me it is too expensive and she convinced me to return it. They have 90 day return policy. I did not wear it because I did not want them to complain when I go to return. I went to Jos. A Bank on 6/29 and asked for refund. A guy was processing the return but he told me it's on sale and asked me if I would keep it if it were $135. I said if it is $135, I would keep it and I decided to keep it. If I did not go to return, I would have paid $450 full price. Why did not offer me the discount when I first went there? Just going back and trying to return made them discount more than half the price? It's a mystery. Or it happens all the time... A quick visit to their web site reveals that they are having 70% off online. That's exactly the price I ...

David Letterman

That's it! It's over. I deleted Late Show from my DVR timer. Never thought this time would come. For some people this might have been the day Johnny Carson left the Tonight Show but for me it's Dave. Well we knew it will be someday, but did not know this day comes this soon. Dave changed my life, even though he does not know it. Or does he know me? No. He did not change my life the way he did to Ray Romano or Norm MacDonald or many comedians or new music bands. I did not get rich thanks to Dave. I am not rich. He changed the way I see comedies. American comedies. The way Dave sees humor in real life. Not like recent dumb jokes these young people think funny. Intelligent humor. Something you have to think. I remember I was in his audience 4 times during 90's. Never saw his morning show (saw it only on YouTube). I watched Norm MacDonald's emotional last appearance on the show several times. That was exactly my sentiment. I didn't cry but I almost did. Many...