Neil's Blog

Amateur radio and electronics

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

In order to drive the relay modules, a set of control signals is needed. Since I only have 18/5 cabling at most, that means that I'll only have 3+VCC+ground to work with, but there are five relay modules plus a reset line. Boolean logic to the rescue!

My thinking was using binary number values from 0-4 to select which relay to enable, while I'd have a 7 (0b111) indicate a reset signal. After creating the truth table on paper, I converted it into AND and NOR gates and simulated it in Qucs-S.

Boolean logic gates and truth table from Qucs-S

Then I made footprints for the 74HC00A-series ICs that contain the gates I'd be using, and lastly created a schematic showing the routing for all of the lines I'd need in KiCad.

NOR, AND, and AND ICs in Kicad with all of their signal and power lines connected

With that, I had what I needed to actually create the board on perf board. I also made a test fixture using buttons and LEDs to verify that it was correct.

The only bug I ran into was where the Relay4 line was high whenever I held all buttons down, which should only trigger Reset. Turns out I only forgot to connect a couple of traces. With that fixed, it worked 100%!

#AmateurRadio #HamRadio #electronics #maker #boolean #logic

Man, it's been far too long since I last posted. I've been working hard on automating my 12-20m magloop antenna and already have the variable capacitor remote control and position sensor working. Next up: remote control for the transformer feed so I can have it automatically configure itself based on a requested frequency!

I spent a few days earlier this week struggling with transistors, but it ended up being worthwhile since I learned a lot. For example, an n-type MOSFET will only allow voltages that are up to the gate voltage across, which means that it really needs to be on the ground side of whatever component is being controlled. You can see the behavior here (with BJTs for comparison):

QUCS-S simulations of N-type MOSFETs and NPN BJTs

The bottom right circuit in the above diagram matches how I eventually successfully used the 2N7000 MOSFETs to control the RF relay in the video here:

This project also had me working on my first PCB design in KiCAD, since there was no way I was going to do all that fiddly soldering of these SMD relays to through-hole perf board multiple times!

Relay module on an eight-pin expansion board

Now to wait for PCBway to get back to me…

#AmateurRadio #HamRadio #electronics #kicad #PCB #circuit #maker

The latter half of December 2025 had me playing around with the 2-meter J-pole some more, starting with replacing the crushed copper tubing feed clamps with more durable ones made from brass strip.

Brass strip feed clamps on the 2-meter J-pole

But for some reason, the resonant frequency was much too high no matter how I adjusted the clamps, so I started playing around with capacitive hats.

J-pole with two brass tubes taped to the top

NanoVNA: SWR of 1.436 @ 149.4 MHz, 54.44+j18.45Ω

My experimentation eventually led me to making hats that look kind of like flower petals, as that's what I saw when looking around online at the time.

Capacitive hat made of two large "petals" made of copper coated steel wire on the 2-meter J-Pole

NanoVNA: SWR of 1.36 @ 146.8 MHz, 38.48+j7.1Ω

Capacitive hat made of four large wire "petals" on the 2-meter J-Pole

NanoVNA: SWR of 1.319 @ 146 MHz, 37.92-j66.6mΩ

Capacitve hat made of four even larger wire "petals" on the 2-meter J-pole

NanoVNA: SWR of 1.27 @ 145.6 MHz, 41.8+j7.249Ω

#AmateurRadio #HamRadio

I spent much of December of 2025 playing around with alternative feed points and adjusting the resonant frequency with variable capacitors across the feed point.

Autotransformer toroid feed point for the 6-meter dipole, with variable capacitors across both sets of terminals

NanoVNA: SWR of 1.121 @ 55.6 MHz, 45.58+j3.222Ω

Twin coax feed for the 6-meter dipole, with a variable capacitor across the antenna feed point terminals

"Normal" feed for the 6-meter dipole, with a variable capacitor across the terminals

NanoVNA: SWR of 1.21 @ 51.15 MHz, 41.05-j164mΩ

One thing I kept seeing was a strange SWR spike at about 50 MHz, which I still can't explain to this day. Maybe the balcony railing was resonating?

Mix 61 autotransformer toroid feed, with a variable capacitor across the input terminals

NanoVNA showing the SWR spike: 1.944 @ 49.9 MHz, 93.63-j15.6Ω

I also tried a resonant stub to see if that would do anything interesting, but the SWR spike remained.

"Normal" feed for the 6-meter dipole with a parallel stub

Mix 61 autotransformer toroid feed, with a variable capacitor across the input terminals and a parallel stub

NanoVNA: SWR of 1.19 @ 51.5 MHz, 53.71-j8.222Ω

NanoVNA: SWR of 1.043 @ 49.8 MHz, 49.18-j1.909Ω

DD8SF wondered if the autotransformer was hitting resonance, but that occurred at around 69 MHz.

Mix 61 autotransformer toroid with NanoVNA: resonance around 69.4 MHz

While this experimentation didn't really pan out thanks to that weird SWR spike, don't think I'm done with this dipole! There's more experimentation to follow.

#AmateurRadio #HamRadio

Here's an antenna project that I just finished today! It's a 70cm dual quad/beam loop made from annealed copper tubing.

70cm beam loop mounted out on our balcony

I had a bear of a time trimming and tuning it, mostly because I went down the nasty “too focused to eat” kind of rabbit hole as I worked on it. I was placing the reflector far too close to the driven element to get proper gain, all because it provided a good feed point impedance. I eventually ended up with elements that were too small, too, so I had to solder extensions back on in order to restore their size. Despite all that, though, it works!

NanoVNA: SWR of 1.033 @ 446.9 MHz, 48.43-299mΩ

I have it pointed at Capitol Hill here in Seattle, since that's where the main amateur radio towers that I can see from here are.

This project also involved building the feed point in the little blue enclosure, which went through a few revisions as I went from targeting a dipole to targeting the loop shown here. And during the trimming and tuning of said loop, an earlier incarnation's internal solder joint broke, so I had to rebuild it to what's shown here. Oh, and this was the first time I've ever used a panel mount N connector, which is more suitable for UHF than “UHF” connectors, albeit with an adapter on the coax line for now.

Reflector Placement

After discussing reflector spacing with DD8SF, he sent me this from the Rothammels Antenna Book:

Graph showing the gain (directivity) based on reflector spacing, showing the optimum as around 0.22λ

This was proof enough that I had been working with the reflector far too close to the driven element earlier today, and that the final spacing I ended up with at 0.15λ was good enough for my use.

#AmateurRadio #HamRadio

Since my Yaesu FT-991a radio isn't able to operate on the 1.25-meter band, I spent some time looking for solutions to getting onto said band. This led me to the Q5 Signal L22-28HP transverter, which maps 10-meter on the radio side to 1.25-meter on the antenna side.

Q5 Signal L222-28HP

Back side of the transverter, showing the various ports

But since I didn't have an appropriate antenna for 1.25-meters, this also prompted experimentation into loops of proper sizes (which also included more playing around with 70cm).

Pair of aluminum loops for UHF

NanoVNA: SWR of 2.661 @ 260.5 MHz, 60.76-j55.13Ω

Loop antenna hanging indoors with a feed attached

NanoVNA: SWR of 1.663 @ 408.5 MHz, 50.4-j25.81Ω

At this point, I'm not sure why I started playing around with alternate feed point designs, but here are photos of what I ended up with.

PVC strip with two brass strips as the starting point for a new feed

New feed made from the above parts, with a UHF connector in the center

UHF loop with the new feed

NanoVNA: SWR of 2.168 @ 427.4 MHz, 53.23-j40.6Ω

PVC pipe with the UHF loop and NanoVNA attached

NanoVNA: SWR of 2.402 @ 422 MHz, 43.81-j41.87Ω

It was at this point where I was starting to get strange readings with the Amazon Special SMA to SMA coaxial line I'd been using, so I finally built a new line using LL-240 coax and higher quality connectors.

SMA to UHF coaxial cable and SMA to SMA coaxial cable

UHF loop connected to the new SMA to UHF cable and NanoVNA

NanoVNA: SWR of 2.008 @ 425 MHz, 99.97-j971mΩ

Much better!

#AmateurRadio #HamRadio

The exterior maintenance on our building finally completed in early November of 2025, which meant that I could put a new pair of 6-meter dipole legs made from even thicker copper pipe out.

6-meter copper pipe dipole out on the balcony, with a NanoVNA attached

Basic feed point

NanoVNA: SWR of 3.397 @ 41.4 MHz, 14.77-j2.836Ω

After cutting it down to a suitable length for the 6-meter band, I started playing around with capacitive hats for the first time

6-meter copper pipe dipole end with a capacitive hat made from brass rod

NanoVNA: SWR of 2.113 @ 52 MHz, 23.66-j297mΩ

Twin coax feed from earlier 6-meter dipole attached to new dipole

This also prompted playing around with autotransformer baluns some more.

Autotransformer for 6-meter dipole

NanoVNA: SWR of 1.544 @ 50 MHz, 32.61+j3.152Ω

#AmateurRadio #HamRadio

Still stuck inside in October of 2025, I started playing around with ways to get onto the 2-meter band, starting with halo antennas.

Halo antenna meant to target 2 meters, fed with a gamma match, sitting on a couch

NanoVNA: SWR of 1.44 @ 95.5 MHz, 40.91-j13.88Ω

Since the initial feed proved not durable enough, I built a better one out of box section PVC that is still my go-to to this day.

Gamma match feed point

Halo antenna meant to target 2 meters, fed with a gamma match, mounted in the window

NanoVNA: SWR of 1.643 @ 145.3 MHz, 82.14+j95.2mΩ

Another halo antenna in the window

NanoVNA SWR of 1.252 @ 63.5 MHz, 50.64+j11.96Ω

I started having a lot of trouble getting reliable and repeatable results with this gamma match, which I only later realized was because the aluminum hoops were painted, and paint obviously wouldn't conduct electricity. That also explained why I was having a bear of a time getting any solder to stick.

In the meantime, with the issues with the gamma match, I decided to switch to a “plain” feed instead.

Halo antenna with a "plain" feed

Feed point for that antenna, showing soldering difficulties

NanoVNA: SWR of 1.153 @ 51 MHz, 44.8+j4.207Ω

While this did prove to be a somewhat viable antenna, the feed point impedance was far too low.

Same halo antenna, trimmed down to 2 meter band, hanging on a ceiling fan

NanoVNA: SWR of 2.507 @ 145.8 MHz, 23.36+j18.69Ω

The low feed point impedance prompted me to go to the same style of twin coax impedance match that I'd used for the 6-meter dipole.

Twin coax impedance match wound around a Mix 61 toroid core

NanoVNA: SWR of 1.178 @ 143.8 MHz, 55.19-j6.871Ω

2-meter halo antenna mounted in the window, with a plastic suction cup to separate it from the metallic coating on the window

NanoVNA: SWR of 1.49 @ 141.2 MHz, 65.55-j12.76Ω

That all sounds great, right? Well, the signal and audio quality were garbage because I'd cheaped out and used Amazon RG-6 instead of coax of higher quality. That certainly taught me a lesson, and I'd go for LMR-240-75 cable for 75 ohms in the future.

#AmateurRadio #HamRadio

When I finally got my amateur radio technician license in June of 2025, I pursued the steep discount that newly-licensed hams get on the Explorer QRZ-1 radio, which included any accessories I wanted.

Explorer QRZ-1 radio

The first time I used it was later the same month, when I walked around Everett, Washington while my wife was at her motorcycle permit course. I tried joining a net without having thought to configure my radio for the repeater offset, so nobody could hear me. To this day, I never forget to do so because I felt so dumb back then!

#AmateurRadio #HamRadio