Neil's Blog

python

Part of my goal with the whole magloop project has been the ability to synchronize the variable capacitor with my radio so I can get good SWR without having to manually tune the latter. While I'd been focusing on an SWR+phase shift measurement bridge to power this, I had the idea earlier this week to use my NanoVNA over its USB serial interface to get the phase shift measurements in the short term. It wasn't easy, but it works in tcontrol.py!

Output of the tune -S command

The algorithm is not super time-efficient, but it does get the reactive impedance under 300mΩ, which is better than I can do by hand most of the time!

#AmateurRadio #HamRadio #electronics #maker #Python #Curses