Skip to main content

An experimental Magnetic Loop driven by Android and a Stepper Motor

 So I am a big fan of Kevin Loughin's YT channel and also of Mag Loops having already bought an unwanted YouLoop on Facebook Market Place. Watching this video Ham Radio - Magnetic loop transmitting antenna overview and details inspired me to aquire some parts. The first issue for a Mag Loop is TX power, the YouLoop is rated for 250mW, not going to get me far, the secret to a good Mag Loop is a variable capacitor form an old valve radio. This will handle the sort of voltages involved upto maybe 25w. I am QRP at 5w so not big deal. Sure enough a dead-key (amateur operator who has died) son was advertising some assorted parts, one box contained a couple of air dielectric capacitors. I set off my my motorbike into deepest Staffordshire last Autumn and acquired them. One has a slight misalignment causing shorts (which I have since fixed), but the other was fine. I measured them with my multimeter and they are 100pf close each gang. This means I can set them to 50pf, 100pf or 200f depending on whether I use 1 or 2 gangs in series or in parallel.


I got featured on Hackaday https://hackaday.com/2023/04/11/mag-loop-antenna-has-a-brain/#comment-6632145

My YouTube video https://youtu.be/pGmuCjrnVGE


Concept

So the intention is to build a Mag Loop development system where I can swap elements and do comparisons. So I will make everything pluggable or reconfigurable.

I also found through research that they YouLoop is too small to perform well on lower HF bands. SO I decided that my main loop should be started at 5m of RG213. The thicker RG213 should increase the bandwidth somewhat and I can always shorten it. This should give good results at 15m, 20m and hopefully be usable at 40m. I plugged some dimensions into a couple of online Mag Loop calculators

https://www.66pacific.com/calculators/small-transmitting-loop-antenna-calculator.aspx

https://miguelvaca.github.io/vk3cpu/magloop.html

I am not done with these but I had ordered 5m of RG213 so that is my starting length, The Coupling loop should be around 1/10 to 1/5 of this length so again my starting point it 1m of RG58. For both I am initially going to use only the outer braid, but I may try other configurations, that is what I plan to test.

The basic idea


Tuning

I do not intend to sit next to Mag Loop even transmitting a minimal 5 watts so I want to remote tune it. I have seen Kev Loughlin and others dabbing UP and DOWN buttons to tune the loop initially on receive, then fine tune on transmit. I hope to do better. They used a simple DC motor coupled to the capacitor shaft, this is ideal for simplicity. My concept from the beginning is to use a cheap stepper motor controlled by an Arduino (any Arduino but developed using an UNO) and instead of buttons use a Digital Encoder. This encoder usefully has a push switch. I will initially use this to regulate the step size so that we can do fast and slow tuning, with steps of say 1 and 10. But of course we can change every function in software. I would also like to have preset positions for each band and store them.  This will require some non-volatile memory or an always-on PSU which I will look at later. 

How to calibrate the tuning. Well, it is logical to fit limit microswitches to the tuning capacitor and use them as feedback. However my cheap ULN2003 5V motor does not object to being stalled then it is software to the rescue! We simply initialise by running the motor fully in one direction for 50% of one revolution, then run it 50% of a revolution backwards, it seems to work ok!

Using

The initial config Initialises the capacitor position, then is ready for input from the decoder, the steps size will be set to 10 for RX tuning, then push the button and it is set to one for fine-tuning while SWR meter connected.

Cable 5m RG213 many sources, caution this is 10mm thick and needs special RG213 PL259 plugs.

3 x SO239 sockets.


An air dielectric variable capacitor, amateur rallies, Ebay, FaceBook MarketPlace. Mine is 100pf x 2.



Multicore cable

Project boxes.

Arduino Uno or Nano, other chips will work with code changes.

Digital Encoder, I got the 5 pin ones with built-in push button and knobs in a multi-pack.



Bracket (had to be drilled to suit my motor)  https://shop.pimoroni.com/products/pololu-stamped-aluminum-l-bracket-for-nema-14-stepper-motors



5v Stepper motor with ULN2003 controller https://shop.pimoroni.com/products/5-vdc-stepper-motor-with-uln2003-driver-board



Shaft coupling 5-6mm https://www.ebay.co.uk/itm/144107765861?var=443409959839



I built a prototype using an Arduino Uno, but I wanted to have soldered connections, so I rebuilt in on a prototype board specifically designed for Arduino Nano (wider spacings in the centre) and installed a Arduino Nano Every that I had spare.

The motor coupling in situ, I had to re-align it putting washers under the bracket.


A prototype using Arduino Uno and Digital Encoder




Another version using a Arduino Nano Every. Pin numbers not the same.




The finished Nano Every board soldered up


Here is a link to part 2 where I modify the loops, use an ESP32 to wirelessly control it via the cloud and modify the built-in the power supply on the Prototype Board http://www.tekmaker.co.uk/p/an-experimental-magnetic-loop-driven-by_3.html



Comments

Popular posts from this blog

Setting up a PI-Star MMDVM hotspot node with a Raspberry PI

 The first thing is to download the Pi-Star software from https://www.pistar.uk/downloads/ , at time of writing the current version is Pi-Star_RPi_V4.1.5_21-Jun-2021.zip ,but you should get the latest available. I used a Raspberry PI 3B but it is possible to use a PI Zero W or other model. You should then use either Etcher, or the Raspberry Pi imager to copy the image to your SD card, which should be at least 4GB and Class 10 or better, I used a 16GB simply because they are available for little money these days. Simply put the SD card into your PI and attach a monitor and keyboard via USB connection. The PI should boot with the usual rainbow screen, the default login is pi-star and the password raspberry. We will change these soon. To find out what IP address your pi is on type ifconfig and hit return. If you are connected via ethernet you will be able to type http://pi-star.local into a browser and access the dashboard as below - This will redirect after 10 seconds and you will be...

DMR - How it works and how to get set up

And why you shouldn’t import too many repeaters to your codeplug like I did! I have made an accompanying video on YouTube at https://youtu.be/dNkdYzQbISY Setting up DMR takes some patience but once you access the repeaters and talk groups you will be rewarded with many QSOs from all over the world in glorious digital quality. DMR (Digital Mobile Radio) is a great transmission/reception mode, it is clear audio in a resilient wrapper that can withstand a lot of QRM - interference and fading. It is pretty much either working, or not with no real distortion. It has been developed due to the availability of cheap micro processors which can process audio into digital encoding and manage complex transmission systems. The DMR amateur radio system allows people to talk one to one or through a repeater in either simplex mode (same TX and RX frequencies) or duplex mode. You can probably access many DMR repeaters in your surrounding area and they provide access to hundreds of talk groups. Now mode...

Baofeng UV-S9 - a practical user guide

Having bought one of these transceivers recently I was firstly disappointed in the User Manual, it is in extremely small print, barely 4 point and my first searches online brought a pdf of the same manual scanned badly which was not much of an improvement. Also it is a reference guide rather than a how-to. I think many people would prefer to learn how to use the radio as well as which buttons to press with context. I am only covering the basics as I think once you know those then you will figure out the rest using the two manuals I have linked to below. So here we go! The Baofeng UV-S9 Transceiver, around £25 on Ebay Caution, two things are very important to know before we begin. Firstly it is illegal to transmit on any band that you do not hold a license for. You must check with your licencing authority, which in the UK is Ofcom https://www.ofcom.org.uk. PMR446 is not currently legal for a radio which does not have a fixed antenna and it is illegal to use a Baofeng for this purpose. A...