Sunday, January 24, 2021

Hi-Par 'Saturn 6' Halo overhaul

 I was fortunate enough to receive this old Saturn 6 Halo antenna from a friend.  It had been stored for the last 25 years.  The aluminum condition was good, but just needed a good polishing.


The fasteners were even in decent shape.  I only replaced the ones at the feed point.

It came without the original matching network.  After reading this eHam article, I learned that the impedance required a 4:1 transformer.  The details of the construction were provided.


I first tried the 25 ohm coax (parallel RG-58) @ 37".  I wasn't quite satisfied with this.  The coax tail was cumbersome and the match wasn't quite as good as it might be.


I then wound the wire transformer.
8 turns of 14 gauge around a 9/16" form spread 2" long.
One end connects to one feed point on the antenna.  Two turns in it connects to the coax ground.  6 turns in it connects to the other feed point of the antenna.  The 8th turn connects to the center of the coax connector.

The whole thing fit in a nice plastic enclosure (formerly from a wall wart).  A little squeeze here and there and the transformer functions well with a much better ideal impedance at resonance.  The ability to massage the transformer made it superior to the coax matching method in my mind.

We are ready for Field Day.

Tuesday, December 29, 2020

HAMVOIP - email on a Raspberry Pi pin status change

 I wanted to have the clubhouse send me an email if the alarm system went off.  The plan is to have a contact closure bring GPIO 0 (Pin 11) logic low on alarm.

The GPIO example didn't include a way to then detect when the pin went high again, so I had to come up with a slight modification.

The first step is to set up email:

https://www.hamvoip.org/howto/Allstar_email_howto.pdf

Then I wrote some clever scripts to perform an endless round-robbin task of monitoring the GPIO pin in question.

The script /home/email_alarm.sh is started from /etc/rc.local


----------------
home/email_alarm.sh
----------------

#!/bin/bash
# Required button hold down seconds
# set mode to in and pullup pin 0 (Physical pin 11, GPIO17)
PIN="0"
gpio mode $PIN in
gpio mode $PIN up
bash home/alarm_wait_active.sh &
exit

-------------
home/alarm_wait_active.sh
-------------

#!/bin/bash
# Required button hold down seconds
HOLDTIME=5
#define pin to watch
PIN="0"
TIME1=1
while [ 1=1 ]
 # wait in interrupt for pin to go low
 gpio wfi $PIN falling
 do
 # Got the low now poll to see if it stays low for holdtime
 while [ `gpio read $PIN` -eq "0" ];
 do
 sleep 1
 let TIME1+=1
 if [ $TIME1 -gt $HOLDTIME ]; then
 # if greater than holdtime then exit past done
 break 3;
 fi
 done
 TIME1=1
 continue
done
# code to execute when holdtime is exceeded goes here
#echo -e "Subject: Pi alarm active" | sendmail -v email@gmail.com
echo "alarm active"
bash /home/alarm_wait_clear.sh &
exit


---------------
/home/alarm_wait_clear.sh
---------------

#!/bin/bash
# Required button hold down seconds
HOLDTIME=5
#define pin to watch
PIN="0"
TIME1=1
while [ 1=1 ]
 # wait in interrupt for pin to go high
 gpio wfi $PIN rising
 do
 # Got the low now poll to see if it stays high for holdtime
 while [ `gpio read $PIN` -eq "1" ];
 do
 sleep 1
 let TIME1+=1
 if [ $TIME1 -gt $HOLDTIME ]; then
 # if greater than holdtime then exit past done
 break 3;
 fi
 done
 TIME1=1
 continue
done
# code to execute when holdtime is exceeded goes here
#echo -s "Pi alarm cleared" | sendmail -v email@gmail.com
echo "alarm cleared"
bash ./alarm_wait_active.sh
exit

Sunday, May 3, 2020

Spot Island-style Copper Clad board prototyping

I can't claim to have invented this style of prototype board layout, I'm sure I've seen this somewhere before.  "Dead bug" style prototyping where there is no printed circuit board layout is available is also popular.  The components are glued to a copper clad board in "dead bug" style while the leads are thrust in the air above the board like legs of a dead insect.  This is a messy way to try to attach components.

I prefer this spot island style method, which is similar to Manhattan-style.  Copper clad board is great for prototyping with either through-hole components or even surface mount.  This method isn't appropriate for DIP packages, but for discrete components it works just fine.  A perf board for DIP packages can be used above the level of this method to transition the circuit into IC chips as needed.

We've all got broken drill bits laying around (unless you've thrown them away).  The broken drill bit is still a valuable commodity.  I turned a couple into hole saws for making spot islands on copper clad boards.  First put the bit in your drill or drill press and use a grinding wheel to flatten it back out past the broken point.  Then put it in the vice and cut the center out with a Dremel tool grinding disc leaving only the edges.  This creates two fly cutter blades to act as a hole saw.  Cutting through the thin layer of copper into the circuit board is all that is needed.

Don't try to hold the board in your hand.  The drill press WILL drag it out of your hand the slice up your precious work.  First drill mounting holes in the board and use some screws to hold it to a block of wood.  The wood can be fastened safely into the vice of the drill press allowing for precision machining.  Lower the bit into the board until the copper is machined away leaving an island of copper and a recessed circle of board substrate.  Don't go the whole way through the board.

Once the board is laid out with islands it can be populated using good radio frequency layout practices.  Component leads can be cut short.  In the example below the board is cut with a strip at the top to feed Vcc power to components, where the rest of the board is left for a ground plane.

Here we see the DIP package of an Op Amp floating above the copper clad.  This is done by making "stilts" of components leads.  Once the DIP part of the component is finished, it can be incorporated into the copper-clad board.

When working at VHF frequencies this construction method works very well to keep leads short.  Islands can be drilled and later bridged with short jumps of clipped leads.  I have created two islanding bits.  The larger one can accommodate a hole drilled in the center if needed, while the small bit is good for just a few component leads that must be joined together.


Don't be stifled by a lack of printed circuit boards while experimenting with electronics.  There are many useful circuits that can be manufactured in this way.  If additional RF shielding is required, card stock can be sprayed with contact cement to facilitate the adhesion of ordinary kitchen aluminum foil.  In the photo I sacrificed an old Dilbert comic strip printed on cardstock with Omega advertisements on the opposite side.


The card stock is easily folded up to provide the RF shielding that may be required.  In this project photo below, the entire circuit board is RF shielded leaving only the inductor adjustment slug exposed for alignment tuning.


Saturday, April 11, 2020

Chimney Antenna Mount


We had some serious wind gusts with a cold front that moved in.  Usually the winds come in March, but this year they came mid-April. Well, I added one more antenna to the stack.  One more straw that broke the camel's back.  This chimney strap-mount was ok when it was just a 6 meter antenna, but it just couldn't take the wind and all the loading on the mast.

This is how I found it Friday morning.  I had to use a piece of paracord to hold the rotator motor upright and lashed to the edge of the chimney to give myself a warm fuzzy overnight so it wouldn't blow down and wreck all the antennas.

Here we are Saturday morning with the equipment as found.





It took about 3 hours mostly on my own to put everything back together.  The new mount is very stout made out of hardened steel bed frame angle iron.  I stood on it after it was torqued down.  That shouldn't go anywhere.  The antennas were re-arranged in the proper order to minimize the torque moment on the mast.  The 432 is now at the top (center mounted), the 6 is in the middle because it is small.  And the 2/3 rds of the 17B2 Cushcraft is at the bottom because it is so huge and heavy.  I had to put the outriggers on it to support the weight and keep it from sagging.

I can replace the feedline on the 6m antenna later after the roofers have replaced the shingles.  For now we're done.


Happy DX and we're back on the air!

Sunday, March 15, 2020

Radio Frequency Noise Cancelling

By this time we are all familiar with the technology of noise cancellation.  The concept is that the noise is sampled along with the desired signal.  The noise is then turned 180 degrees and mixed with the received data to cancel out the noise, leaving only the intended received signal.

There are several products on the market that do this.  Here is just one device in particular that I have built from a kit.  This is not meant as an advertisement, but only a testimonial to the technology.  The QRM-180 kit by AG6YJ is a compact and clever kit.  The packaging is superb, documentation is good, and assembly is easy.


The noise cancelling device accepts two inputs.  The TX/RX antenna and a Noise Antenna input.  There is also a transceiver connection that goes to your radio.  In Transmit mode the signal from the transceiver goes straight out to the TX/RX antenna and can handle the power of a 100watt radio on HF.  Naturally a PTT is required to switch the device from receive to transmit mode.  This re-routes the RF from the radio straight out to the main antenna terminal.  A well designed device will also have RF detection to switch to transmit if a small amount of RF is detected on the radio output.  This prevents blowing out the circuitry of the device.  The QRM-180 uses tiny 6 volt incandescent lamps as fuses.  If something goes wrong, the fuse blows before the circuitry is damaged.
The receive function is what we are really interested in.  Noise cancellation will work only on local noise that you can receive with a sense antenna.  It won't be able to remove atmospheric noise, and it won't improve poor transmission quality.  If you can't eliminate a noise in your area by going around the home turning off things looking for the source, or if you have an essential device in the house that cannot be turned off, or the noise is somewhere in the neighborhood that you have no control over, then noise cancellation may work for you.  Removing noise allows weaker signals that are below the noise level to be heard by the receiver.  It may not be as effective as moving out into the country into your own private "radio-quiet zone" to escape the RF pollution in your neighborhood, but it will help.
The noise antenna can be anything that picks up the noise.  It can be resonant on the noise frequency, a length of wire, or a small telescopic mag mount.  It should not be resonant on the band that you are trying to receive on.  I small telescopic mag mount works for me on most bands.  A longwire strung outside works for some of the lower bands like 160m.  You have to find out what works for your troublesome noise.
The noise will be brought in and amplified and available for phase adjustment.  It will then be flipped in a 180° phase inverter.  The noise now becomes "anti-noise" which is the exact opposite amplitude of the noise with the same waveform.  The Main antenna will receive both the intended signal and some of the noise.  The signal is amplified and available for phase adjustment.  Tune off any strong transmissions and just listen to the background noise for a moment.  If you have an SDR you will be able to see the waterfall and the noise floor.  When the gain is turned down on both the QRM-180 and the RF gain of the radio, the phase adjustments (marked as ΓΈ in the diagram) can be made so that a null is seen on the S-meter of the radio.  In some cases the null may be very sharp and pronounced.  On an SDR you will see the noise floor across the band drop.  As the phase adjustment knobs are turned a null may even be visible moving up and down the band as the knobs are turned.  When both phase knobs are in the right position the noise floor will indicate the lowest S-meter reading.  This is an iterative process, and will also mean adjustment of the gain knob.  When the "anti-noise" amplitude matches the noise amplitude contained in the received signal the re-combination of those two signals (marked as x in the diagram) will pass the intended signal to the radio.  The removal of the unwanted noise signal is done by destructive interference.  There is a gain adjustment for the noise sense amplifier in the back of the unit, but unless the noise is unusually strong, the manual says to leave this gain up the whole way.
Now tune the radio receiver VFO to the desired signal.  Again adjust the gain knob to get the best signal with a maximum amount signal and minimal noise.  Turning the gain up too high will just make it worse again.  This seems complicated at first, but after using the QRM-180 for a few days the process becomes natural.

Reduce the gain --> find the null with the phase adjustment knobs --> adjust the gain for best signal to noise ratio.

Let's look at some real results on the QRM-180.  There is something in my surrounding neighborhood that creates a fairly high noise floor.  There are a lot of houses around and who knows what noise-producing products people have nowadays!  Adjustments within the band should only be minimal if at all once the noise is nulled out in one section of the band.  Here we see the different when I turn on the QRM-180, adjust the gain down and find the null.  With the gain down the whole way both signal and noise are attenuated which doesn't help.

I see the most benefit on 17, 20, and 40 meter bands using the telescopic mag-mount antenna as a noise sense.  Here we see the signal on the Flex waterfall with the QRM-180 turned off.  The input signal from the Main Antenna goes straight to the receiver, noise signal and all.  The S-meter reading is fairly high at S5 and we see only a few signals peaking up above the ugly noise floor.

Some gain is needed to find the null.  Once the null is found the amount of gain is a judgment call for the operator.  Using the QRM-180 I have been able to hear stations that were previously buried in the noise floor.  That's the beauty of it.  As the adage is told from the days of old, "You can't work them if you can't hear them."


This device works so well, I'm not sure why modern transceivers don't come equipped with this technology built in!  Digital Signal Processing and Software Defined Filters can only do so much to enhanced the readability of a signal or reject QRM from adjacent stations.  Notch Filters are great if the QRM is very narrow.  For total broadband noise the QRM-180 has allowed me to hear stations that I would have never heard without it.
.

Wednesday, November 13, 2019

ICOM HM-98 mic mod

I don't know why ICOM didn't design a lot of their radios to mute the mic when it is keyed from the data port in the back.  Its easy enough to overcome this problem if you have a micro-miniature relay.

I bought a couple NEC ud2-5nu 5 volt coil relays.  They are VERY small and are double-pole double-throw.  This way the PTT button can trigger the relay coil, and there are two available contacts on the relay.  The first set replaces the PTT button.  The second completes the circuit on the mic element.

This mod is not for the faint of heart.  I find that using a diamond-tipped rotary engraver tool to cut the board traces works very well.  Once the trace is severed the protective coating can be scratched away leaving enough bare copper to solder some small wires to.


I cut the board traces in three places.  One in the hot side of mic line.  Second on one side of the PTT button.  Third on the other side of the PTT button.

The coil minus side goes right to the common ground plane of the board.  This gives the relay something to hold it in place.  I put it "dead bug style" on the top of the board, since there is plenty of room in the mic case to mount it.  The + side of the coil is fed from the PTT button with the red wire.  The other side of the PTT button goes to the +5v supply, with the yellow wire back to the 100uF capacitor.

Relay contacts fed with the black wires replace the PTT button.  The other relay contacts bridge the place where I cut the mic trace using the yellow wires at the bottom of the photo.


It may not be pretty, but it works pretty well.  The Q1 transistor seems to have enough capacity to supply the hungry relay coil another 20mA of current.

Now I can run my Signal Link for our local NBEMS practice net on FM using my favorite IC-207H radio, and not have to unplug the mic every time the SignalLink keys the radio.

Monday, October 28, 2019

Amateur Packet Radio

So you may have heard about packet radio in the distant past, but what is it today?  Packet radio became a reality in the early 1980's when ASCII (American Standard Code for Information Interchange) was approved as a method for data transmission over the air.  It was in its prime until the 90's when the internet took over.

Yes packet radio is the basis for APRS (Automated Packet Reporting System) on 144.39 Mhz, but packet is more than just unconnected packets.  Packet can be connected packets finding their way around the world by a hierarchical method of location addressing.

The intricacies of packet are best explained by this series of documents written by WB9LOZ.

Packet is not dead, it is alive today and passing information for the National Traffic System, Bulletin Boards, and personal messages between hams.  Packet can get through when the internet can't.  Packet is error-free, it may have re-tries but when it does get through, the message crosscheck insures that the data is intact.

Look at all the packet activity around the world on the nodemap.  There are more than what are shown here.

Packet operates primarily on RF via the 2 meter band for local hops, and 20 meters for longer hops.
  • Typical frequencies are on FM 2 meter band: 144.93, 145.01, 145.03, 145.05, 145.07, 145.09 and 145.53 MHz running 1200 baud.
  • HF BBS in North America, you can find the "Network 105" BBS on 14.105 MHz LSB running 300 baud.
  • There are backbone links between BBS's on 220 and 440 Mhz as well, but most of the local activity for users is on 2 meters.
So how do you get in on this technology?  All you need is a 2 meter FM radio and some knowledge of where the packet activity is in your area.  You can use a SignalLink, or any sound card as a modem.  Sound card modem software packages are SoundModem and Direwolf.  You can use a Terminal Node Controller that was purchased at a local hamfest or fresh off the shelf of your amateur radio product dealer.  The favorite TNC is the Kantronics KPC-3.  This TNC contains the appropriate firmware to maintain a Bulletin Board System (BBS) within the TNC itself, requiring no external devices other than a computer with a terminal program to access the data over an RS-232 serial port.

What if you want more?  What if your QTH is the only one with access to the BBS backbone of the packet radio network?  In that case you may want to become a SYSOP (System Operator).  This is the next level of BBS system.  It can accept messages and traffic from BBS's via the Internet or from an RF source.  It can distribute the internet gathered bulletins and pass messages back through the BBS backbone.  In this case you want to look into BQP32.  Written by G8BPQ this fully featured software suit will enable your node to become a fully featured BBS net/rom.  And there are versions for Linux and Raspberry Pi as well.

If the documentation seems overwhelming, or unclear there is a shortcut for Linux users.  Run the bqp-config configuration software from AC0KQ.  Run it once, get the settings roughly the way you need, and then don't run it again.

Still confused, need it all step-by-step.  NL7OM has the guide for you.

Here is an excellent guide to each parameter in BPQ by AG6QO.

So after all that configuration you are ready to get online.  My node is CLYPA:N3FIX on 145.030 Mhz, part of the Underground Packet Network of Central Pennsylvania.  This node acts as a digipeater and serves to forward BBS messages and serve the South Central Susquehanna Valley from Cly, PA near 3 mile Island.  The antenna is a classic Ringo-Ranger fully restored and mounted on top of the roof fed by LMR-400 coax.  The rig is a simple 25 watt Azden PCS-4000 courtesy of KA3LJL.  The TNC is a PK-232 MBX running KISS mode operated by a first generation Raspberry Pi running PiLinBPQ software.
  • N3FIX-1 is the BBS server
  • N3FIX-2 is the CHAT application
 
The humble Ringo-Ranger

The humble CLYPA alias node in the basement running unattended.

K3CHB had a good idea to install the Raspberry Pi INSIDE the PK-232.  This is a pretty good idea, and I may try that sometime.