Tag Archives: Homebrew

An Antenna for the Vertically Challenged

No, I’m not talking about short people! I’m talking about hams who may not have tall trees or the capability to put up a tower on their property. I want to tell you about a fascinating antenna design – a low-profile, high-performance solution ideal for those of us who might be challenged by restrictive antenna regulations or limited space. I’m referring to the Magnetic Radiator, specifically the Multiple-U (MU) design detailed in this article. This clever design comes to us from the inventive mind of Paul D. Carr, N4PC (SK) who had a column in CQ Magazine many years ago.

Now, you might be thinking, “Another vertical antenna? What’s so special about this one?” Well, let me tell you. This isn’t your typical electric radiator. This antenna operates on a fundamentally different principle—it’s a magnetic radiator.

What does that mean? Electric radiators, like your standard dipole or vertical, generate a strong electric field close to the antenna, leading to ground losses and less efficient radiation. This design, however, focuses on creating a strong magnetic field, minimizing those losses, and improving efficiency. Think of it as radiating power through the earth rather than into it. Some key advantages of the MU design are:

  • Low Profile: The vertical elements are less than 0.1 wavelengths high, making it perfect for locations with height restrictions. We’re talking about an antenna that’s practical for even the most compact locations.
  • No Loading Coils or Radials: No need for cumbersome loading coils or extensive ground radial systems. This simplifies construction and installation considerably.
  • Efficient Radiation: The design promotes efficient radiation, even at relatively low heights above ground. This magnetic radiation pattern offers surprisingly good performance.
  • Good Bandwidth: The MU design offers good bandwidth, which is important for modern digital modes and for those who like to cover multiple frequencies in the same band without retuning.

The article provides details design specifications and construction guidelines for various bands, from 10 meters up to 160 meters, with diagrams to walk you through the process. It even offers adjustments for different antenna heights above ground.

Now, let’s be clear—this isn’t a magic bullet. The performance will vary depending on the specific location, and like any antenna, there will be some directional favoritism. In the examples provided, there is significant performance in a certain direction. However, the overall design offers impressive performance, considering its low profile and simple construction. Remember that the measurements presented are based on real-world testing, demonstrating its practical effectiveness.

If you’re looking for an efficient, compact, and relatively easy-to-build antenna that performs well for long-haul contacts, I highly recommend taking a closer look at the Multiple-U magnetic radiator. The provided charts and diagrams will help you determine your optimal design based on your specific band and location.
Back in the 1990s, I built this antenna on my four-acre property in Boulder, Colorado. Boulder County’s strict antenna regulations prevented me from using a tower despite having ample space. After extensive research, I chose this design and started with a 10-meter version, using readily available parts from my “junk box”—speaker wire and RG-59 75-ohm coax for the matching network. I improvised support using a nearby bush and my garden fence and constructed the antenna, including the spreaders, in under an hour.
Connecting my 50-ohm feedline to the quarter-wave 75-ohm balun, I was pleased to see my ATU quickly achieve a 1:1 SWR with minimal tuning effort—always a good sign. Using my old IC-745, I tuned into a busy pile-up on 10 meters. I cautiously sent my callsign, fully expecting nothing, especially with my low power output of only 100 watts. To my astonishment, the DX station from Malta immediately answered who was the reason for the pile-up.

This unexpected success initially left me stunned. After confirming the contact with a 59 report, he responded that my signal was 59+20dB at his location. I explained my simple antenna. He compared my signal to a friend’s using a 50-foot high tri-bander in Illinois, noting that I was significantly louder. Propagation undoubtedly played a role, but switching to my vertical antenna resulted in a noticeable decrease in his signal strength (about two S-units) – this proved to me the design was effective. I was hooked and decided to build a larger version for 80 meters.

Using four 25-foot supports, I constructed a much larger 80-meter version of the antenna, requiring approximately 530 feet of wire. Bamboo served as the spreaders, and a quarter-wave 75-ohm line provided the matching. I oriented the antenna east-west for broadside radiation. That evening, I monitored an 80-meter WAS net and was amazed by the clarity of the signals. Typically, 80 meters is noisy, but this antenna exhibited remarkably low atmospheric noise, a characteristic benefit of H-plane operation, which minimizes noise typically prevalent in the E-plane. The longer “skip” characteristic of this antenna meant that distant stations came in exceptionally well, making it ideal for DX but less effective for closer contacts.

I replicated the antenna design for another ham who wanted a directional antenna specifically for 17 meters. He lived in a trailer park with antenna restrictions, so we needed a lightweight, easily repositionable solution. We constructed two supports using PVC pipe, with a central section and two horizontal PVC spreaders at the top and bottom. To ensure stability, the base of the vertical PVC support was encased in cement, allowing him to easily adjust the antenna’s direction simply by moving the cement-filled buckets at the base of the supports, effectively changing the broadside direction as he desired.

The unexpected success of my initial 10-meter antenna, built from readily available materials and achieving exceptional signal clarity, fueled my curiosity for this simple yet effective design. The subsequent construction of larger versions for 80 meters and a modified model for 17 meters further confirmed its versatility and adaptability. These antennas, built to overcome challenging site restrictions, demonstrated the principle of H-plane operation in minimizing atmospheric noise while maximizing the reception of distant signals. The experience proved that resourcefulness, ingenuity, and careful design could significantly enhance signal quality in challenging operating environments.

You can learn more about magnetic radiator antennas here.

Jack, WM0G

Impedance Matching to an 8-Pole Quasi-Equiripple (QER) Crystal Bandpass Filter

Introduction

An amateur radio transceiver will often require at least two crystal bandpass filters; one for SSB, and another for CW operation. This article discusses impedance matching techniques for a SSB crystal filter to be used in a homebrew QRP transceiver. For a CW filter, the bandwidth would be narrower, but the design process for a matching network would be the same.

Crystal Filter Project Description

When this project began in 2017, there was nothing but a bag of fifty 9 MHz crystals ordered from DigiKey[1]. In retrospect, it might have been more cost-effective to buy a few more of these crystals to get the job done for SSB and CW filters.

Not wanting to bother measuring the crystal motional parameters to enter into DISHAL[2][3]; a simpler approach was adopted[4] which was to sort the crystals into batches of crystals differing in frequency by not more than 10 percent of the desired filter bandwidth. For an SSB filter having a bandwidth of 2.7 kHz, the prescription is to find crystals that are all within 270 Hz of one another. For a 500 Hz wide CW filter, the task becomes more difficult because it requires crystal matching to better than 50 Hz.

Subsequently, I built a crystal oscillator circuit for the purpose of sorting crystals into batches. I chose to follow the advice of Charlie Morris, ZL2CTM, who had done the same [5]. I used the receiver in my rig to measure the frequencies of oscillation by zero beating the crystal oscillator against a signal generator since I didn’t own a frequency counter until recently. I also zero-beat the crystal oscillator against an SDR receiver BFO to compare the crystals to one another. There was lots of advice to be found online about “this and that” including how to handle the crystals with tweezers to avoid heating them up[6].

For the batch of 50 Citizen crystals[7] that I sorted, I was not successful in obtaining a set of 10 crystals that met the frequency matching criteria. Thinking that I didn’t want to invest in more crystals, I decided to look for a filter kit whose crystals had already been sorted[8] and whose capacitors had been chosen. There are at least two sources of supply for crystal filter printed circuit boards; one requires the purchase of a set of matched crystals[9] and features places for onboard matching, and another requires an external matching network[10]. I bought a bare board from the former to build a CW filter and a fully populated board from the latter for the SSB filter. A picture of the beautifully made filter from the latter is shown in Figure 1. The filter was characterized by the supplier and came with the following test data:

  • Center Frequency: 8.997500 MHz
  • 3 dB Bandwidth: 2.7 kHz
  • In/Out Impedance: ~160 ohms
  • Insertion Loss: 2.65 dB
  • Bandpass Ripple: < 1.2 dB

Figure 1. An 8-Pole Quasi-Equiripple (QER) Bandpass Filter. SMA male connectors were added to the device as supplied. No matching networks were furnished for the filter input or output. The supplier advises that matching may be achieved through the use of matching transformers or L-matching networks. Please click on the figure to enlarge it.

Crystal Filter Matching With Matching Transformers

Assuming that the supplier has already determined the best match by placing potentiometers in series with the input and output of the filter to optimize the filter shape, I relied upon their measurement of ~160 ohms as a starting point.

This is a commonly used technique. The potentiometers are adjusted for the best filter passband and stopband shape by sweeping the filter with a nanoVNA, or by viewing the passband response on a spectrum analyzer using an integral tracking generator. Once the potentiometers have been adjusted for the best passband and stopband shape, the potentiometers are measured and 50 ohms is added to each value. This is because the source impedance during the measurement is assumed to be 50 ohms as is the load impedance.

Since I wanted to match the crystals to a 50 ohm system for my QRP rig, I knew that the impedance ratio of the matching network had to be 50:160, or 1:3.2, at the input and 160:50, or 3.2:1, at the output. Since I was going to try a matching transformer for the first pass, I knew that this impedance ratio was not the same as the required turns ratio. To obtain the turns ratio, we must take the square root of the impedance ratio, 3.2, to obtain 1.79. Thus, the turns ratio is 1-turn to 1.79-turns at the input and 1.79-turns  to 1-turn at the output.

It is not possible to build a transformer with this turns ratio since only a whole number of turns is possible. Also, we must have a sufficient number of turns on the primary to avoid loading the source. A rule-of-thumb is to ensure that the impedance of the smallest winding is > 5 times the lowest impedance that must be matched. That dictates that the smallest winding must have an impedance of 50 ohms x 5 = 250 ohms at 9 MHz. Next, we use an iterative approach to find the smallest number of turns that will meet our requirements. We do this because the more turns we add, the more the inter-turn capacitance increases. This adds to the complexity of the matching solution. We must always use integer numbers of turns for both windings, so we will seldom get the exact ratio required.

Example 1 – 1-Turn to 2-Turns

If we were to round the 1:1.79 turns ratio to a whole number ratio, we ask, how close would a 1-turn to 2-turn transformer come to meet our requirements? First, we look at the impedance ratio for 1T:2T. It is simply the square of the 2-turn winding, or 4. So, this 1T:2T winding will match 50 ohms to 200 ohms which isn’t a very good match at all. Please, recall that we needed to match 50 ohms to 160 ohms. We also look at the impedance of the smallest winding to see if the magnitude of the impedance is > 5 x 50 ohms, or 250 ohms.

Assuming that the winding is purely inductive, it has an impedance magnitude given by

where,

Since the transformer ferrite material is FT37-43, how is the inductance for a 1-turn winding determined?

The manufacturer of the ferrite frequency supplies a factor for a specific core that, when multiplied by the square of the number of turns, will approximate the inductance of the winding. This factor is called AL.

If we study the manufacturer’s data[11] for a FT37-43 core having part number 5943000201, we learn that the AL factor is 350 nH/N2 +/-20% for #43 ferrite of FT37 dimensions.

When we have AL, the formula for inductance for a single turn in units of µH, after converting from units of nH to µH, is given by,

where,

Finally, the value of the magnitude of impedance is calculated from,

This value is not large enough to meet our reactance requirement of > 250 ohms.

Once you have mastered this process, you may wish to employ an online calculator[12].

We could repeat this exercise for other turn ratios by repeating the process, but to save some time, let’s try a ratio of 5-turns to 9-turns in the next example. The reader should try some other turns ratios to better understand the process. For example, try a ratio of 3-turns to 5-turns to see what happens.

Example – 5-Turns to 9-Turns

A ratio of 5-turns to 9 turns results in an impedance ratio of,

which is close the value, 3.2, that was calculated initially, and

Let’s try this turns ratio of 5T:9T because it results in a value that is close to the desired 160 ohms.

Next, we repeat the process by calculating the reactance of the 5-turn winding since it is the smaller of the two windings. We must first calculate the inductance,

From this value of 8.75 µH, we now calculate the magnitude of the inductive reactance at 9 MHz from,

This result is greater than our 250-ohm requirement, and it will work for us.

Matching Transformer Simulation

The matching transformer may be simulated using RFSim99[13]. The transformer model is shown in Figure 2. It is modeled as an ideal transformer for which there is no frequency component or coupling factor, k. A rectangular plot of the return loss of the transformer is shown in Figure 3. Since there is no frequency component, the return loss of 44.14 dB is flat for all frequencies. The turns ratio of 5T:9T results in a match between 50 ohms and 162 ohms, a slightly imperfect match for the 160-ohm load. A Smith Chart plot of the match is shown in Figure 4. If the photo is magnified, the cursor appears very close to the center of the chart for all frequencies.

Figure 2. Matching Element Consisting of an Ideal Transformer. A turns ratio of 5T:9T is an imperfect match to 160 ohms. A perfect match would be to 162 ohms. Please click on the figure to enlarge it.

Figure 3. Return Loss for the Ideal Transformer Matching. Since there is no frequency component to an ideal transformer, the match is flat over all frequencies. The return loss is 44.14 dB due to the slight turn ratio mismatch. Please click on the figure to enlarge it.

Figure 4. Smith Chart View. Since the simulation is for an ideal transformer possessing no frequency dependence, the cursor resides near the very center of the chart over a wide span of frequencies. Please click on the figure to enlarge it.

Matching Transformer Hardware

Thinking that the matching transformers might be permanently connected to the crystal filter; a printed circuit board was designed using EasyEDA, an online PCB design tool. The Gerber file for the design was transferred electronically to a fabricator, JLCPCB, in Hong Kong, and finished boards were delivered by DHL within 5 days.

The 3D virtual design is shown in Figure 5. Two Fair Rite FT37-43 toroidal cores were wound with #27 AWG magnet wire, each with a 5-turn primary and a 9-turn secondary. They were wound in no particular sense in mind except to match symbol pattern imprinted on the silk screen.  Spoiler Alert: If you are like me, there is a 50-50 chance of winding it the right way the first time around.

Figure 5. Matching Transformer PCB Design. Notice that the center pins of both SMA connectors are routed to the dotted pads. The center conductor from the top SMA connector is routed under the toroid. The undotted pads above the toroid are ground pads for both windings. Thus, the windings, though unequal in number, happen to be wound in the same sense. The EasyEDA design tool provides these 3D virtual views of the finished product. There is a massive library of symbols contributed by users, so there is seldom a need to draw any of them. The only caveat is for multi-pin connectors. There are instances where the schematic model pinouts do not match the PCB graphics model pinouts, and EasyEDA advises the designer to verify the models before using them. Please click on the figure to enlarge it.

The resulting transformers are shown in Figure 6. No difficulties were encountered with assembly and the PCBs and transformers worked exactly as intended.

Figure 6. Matching Transformer Assembly. The two windings just happen to be wound in the same sense to match the silkscreen outline on the printed circuit board. The smaller winding has been wound right over the larger winding. Once assembled it is easy to lose track of which end of the transformer is 50 ohms and which end is 160 ohms. One should always mark the 50-ohm end with indelible ink. Male SMA connectors are used to avoid unnecessary cables and adapters between modules. Please click on the figure to enlarge it.

Crystal Filter Measurements

The passband and stopbands of the matched filter were measured with a spectrum analyzer with an integral tracking generator. A tracking generator is a signal source whose RF output follows the tuning of the spectrum analyzer. It could just as well have been measured with a nanoVNA that does the same thing, but I do not own one. The values of center frequency, bandwidth and insertion loss agree quite closely with the values provided by the supplier. The tracking generator outputs -10 dBm, so everything is measured relative to this power level. The coaxial cables that connect the tracking generator to the filter and the filter to the spectrum analyzer are 18” in length. No padding attenuators have been inserted in either the input path or the output path of the device under test (DUT). The test setup is shown in Figure 7. The through-path loss is zeroed out before inserting the device under test which in this case includes the crystal filter with its two matching transformers.

Figure 7. Test Setup For Filter Passband and Stopband Measurements. Nearly identical matching transformers have been placed at the input and output ports of the filter. The transformer to the left steps up the impedance from 50 ohms to 162 ohms, while the transformer to the right steps down the impedance from 162 ohms to 50 ohms. Neither of the 18” interconnecting coaxial cables has been padded. The through-path losses have been zeroed out before inserting the device under test. Please click on the figure to enlarge it.

The filter passband was swept with the tracking generator to evaluate the insertion loss of the filter. The losses of cables and adapters have been zeroed out. The insertion loss shown in Figure 8 agrees closely with that measured by the supplier ~ 2.65 dB. The filter center frequency differs slightly from that reported by the supplier, but that is accounted for by the state of instrument calibration and instrument settings.

Figure 8. Crystal Filter Swept Measurement. The filter passband was swept with the tracking generator to evaluate the insertion loss of the filter. The losses of cables and adapters have been zeroed out. The insertion loss agrees with that measured by the supplier at band center ~ 2.65 dB. Please click on the figure to enlarge it.

Finally, the -3 dB passband of the filter was measured with the spectrum analyzer. This measurement has been captured in Figure 9. The filter bandwidth is measured to be 2.9 kHz which compares favorably with the supplier’s measurement of 2.7 kHz although it is a bit wider than was hoped.

Figure 9. Crystal Filter 3 dB Passband Measurement. The bandwidth was reported by the supplier to be 2.7 kHz, but this measurement shows that it is 2.9 kHz. This is somewhat wider than was hoped, but this filter will be used. The steeper skirt at the high side of the response is characteristic of these filters. Please click on the figure to enlarge it.

Except for matching transformers, no alterations have been made to the filter other than to solder connectors to the PCB. The passband ripple is supposed to improve by bonding the crystals together with a soldered strap. From the results pictured, there doesn’t seem to be much utility in trying this. There is always the risk of damaging the filter by soldering to the crystal packages. The filter high side and low side skirt selectivities are as expected; the high side being steeper than the low side. Although this filter does not have skirts as steep as those found in a commercial SSB filter, it is adequate for this QRP rig.

Use of L-Matching Networks to Effect a Match

To demonstrate the method, the design of an L-matching network will be provided in this section. This same methodology has been used before in this blog[14]. For completeness, the topology choices are repeated in Figure 10.

Figure 10. Topology Choices for L-Matching Networks. A topology is chosen depending upon whether a low-pass or high-pass configuration is required, and if Rs < RL , or if RS  >  RL . These topologies may be used to map and match the entire complex impedance plane. Reproduced under CC BY-NC by permission of Michael Steer, North Carolina State University. Please click on the figure to enlarge it.

The impedance level to which we wish to match, 160 ohms, is greater than the source impedance, 50 ohms, Rs < RL, and a solution topology (a) is selected, for the sake of example. It happens to be the low-pass topology that will pass DC current. This will place the inductor in series with the source and a capacitance in parallel with the crystal filter load impedance.

The shunt or parallel matching element, as it may be called, will always be closest to the larger of the two impedances. This mnemonic helps us to remember the topology choices. Whether the low-pass or high-pass topology is chosen will depend upon whether the component values are realizable, easily adjusted, and whether we want the network to pass DC current.

There is no need to design a different network for the filter output because the network is reciprocal meaning that it works the same way in reverse, and the mnemonic still applies. The output topology would be a shunt capacitor at the filter and a series inductor towards the load. You might prove this to yourself as an exercise by choosing the topology used for RS > RL  since, this time, the high source impedance will be 160 ohms and the load impedance will be 50 ohms.

From Figure 10 (a) we have,

and

and

Solving for the values of the inductance and the capacitance, we have,

The matching network consists of a series inductance of 1.31 µH and a shunt capacitance of 163.9 pf.

Once you have mastered this process, you may wish to employ an online calculator[15].

L-Network Simulation

We can use RFSim99 to prove that we have achieved a match with this L-network. The model used for the simulation is shown in Figure 11. A rectangular plot of the return loss is shown in Figure 12. The Smith Chart of the match is shown in Figure 13.

Figure 11. L-Matching Network Model. The 160-ohm input load impedance of the crystal filter can be matched to the 50-ohm source impedance with an L-network consisting of a series inductance of 1.31 µH and a shunt capacitance of 163.9 pf. Please click on the figure to enlarge it.

Figure 12. Return Loss of the L-Matching Network. The sweep is from 7 MHz to 11 MHz. The return loss for a very simple L-matching network at the design frequency of 9 MHz is better than 67 dB. Please click on the figure to enlarge it.

Figure 13. Smith Chart for the L-Matching Network. The sweep is from 7 MHz to 11 MHz. A perfect match is displayed on the Smith Chart at 9 MHz with the cursor positioned at the very center of the chart. Please click on the figure to enlarge it.

Conclusions

It has been demonstrated that matching to a crystal filter, commercial or homebrew, is not difficult. The techniques used for transformer and L-matching are ones that have been demonstrated previously. It is hoped that the reader will try both techniques for practice if only by following the examples that have been worked on.

References

[1] DigiKey, 701 Brooks Avenue South, Thief River Falls, MN.

[2] Milton Dishal, “Modern Network Theory Design of Single-Sideband Crystal Ladder Filters,” Proceedings of the IEEE, Sep 1965.

[3] Dishal Download: https://www.minikits.com.au/downloads

[4] Wes Hayward, Designing and Building Simple Crystal Filters, QST July 1987, pp. 24-29.

[5] Charlie Morris, ZL2CTM, https://www.youtube.com/watch?v=Ur7Cze-X0zo

[6] Jerry Hall, W0PWE, https://www.qsl.net/w0pwe/HB/Xtal_Osc.html

[7] Citizens Part Number HC-49/U-S9000000ABJB

[8] https://kitsandparts.com

[9] Ibid. https://kitsandparts.com/crystals.php

https://kitsandparts.com/XF.php

[10] Mostly DIY RF, https://mostlydiyrf.com/qer

[11] Fair Rite, PN 5943000201, https://fair-rite.com/product/toroids-5943000201/

[12] https://toroids.info/FT37-43.php

[13] James Butler, AD5GG, https://www.ad5gg.com/2017/04/06/free-rf-simulation-software/

[14] Martin Blustine, K1FQL, https://www.n1fd.org/2022/06/11/l-matching-networks/

[15] John Wetherell, author, Impedance Matching Network Designer, https://home.sandiego.edu/~ekim/e194rfs01/jwmatcher/matcher2.html

 

Fun with the Clear Sky Institute HamClock

I haven’t had the occasion to use any programming languages since retirement. That’s why the addition of a Raspberry Pi 4 Model B to the shack was a welcome change. I like to think of the Raspberry Pi as just another computer – one that uses a different operating system. With the Raspberry Pi, I can browse the Internet, access email, and write and run programs.

When I began to assemble a shack, I reserved a space on the wall for a 32″ TV, Figure 1, which was purchased during a temporary rental stay. That TV has been unused for 3 years, but it was earmarked for a HamClock.

Figure 1. Unused 32″ TV Earmarked for HamClock. The TV was wall-mounted above the shack monitors. Please click on image to expand.

I searched the N1FD site to see if anyone had written about HamClock, but no articles were found. The first article for HamClock, written by Elwood Downey, WB0OEW, appeared in October 2017 QST[1]. In his article, he calls for the use of an Adafruit HUZZAH ESP8266 Wi-Fi system-on-chip. That device was fastened to the back of a 7″ TFT display.

The version of HamClock that I built for use with the 32″ HDTV employs the Raspberry Pi 4 Model B, Figure 2, with 2 GB memory[2]. The kit that I found on Amazon includes a 64 GB microSD card (with USB adapter) onto which the Raspberry Pi operating system had been preloaded. The kit also includes a plastic case with fan, little rubber feet, tiny screws to attach a camera, device heatsinks, a wall-wart power supply, a micro HDMI to HDMI cable, an instruction manual and various assembly instruction cards. The user has to provide their own USB mouse and keyboard. I already owned a wireless mouse and keyboard so I was able to use a single USB 2.0 port on the Pi for the wireless adapter.

If you already have a microSD memory card with USB adapter, power supply, mouse, keyboard and HDMI cable, you could get by with a Raspberry Pi Zero[3] at one-fourth the price.

Figure 2. Raspberry Pi 4 With Wireless Mouse and Keyboard. A single USB 2.0 port on the Pi is used for the wireless adapter leaving 1 x USB 2.0 and 2 x USB 3.0 ports unused. Power and HDMI cables are visible. Please click on image to expand.

If your Raspberry Pi does not come equipped with the operating system installed, you can download it from the official Raspberry Pi website and store it on a microSD card for installation provided that you have a USB to microSD card adapter. The Raspberry Pi site allows you to select an operating system and it allows you to specify where the operating system will be stored upon download:

https://www.raspberrypi.com/software/

Please, follow the directions to install the operating system on your device.

I noticed an ambiguity in the kit documentation regarding connection of the cooling fan to the Pi bus header. A tiny drawing, Figure 3, shows where the red and black leads should be connected, namely pins 1 and 14, respectively. The documentation should make it clear that the long header row that contains pin 1 contains all of the odd-numbered pins while the long header row that contains pin 14 contains all of the even-numbered pins. This makes it a bit easier to locate pin 14.Figure 3. Location of the Fan Voltage Pins. The long header row that contains pin 1 contains all of the odd-numbered pins while the long header row that contains pin 14 contains all of the even-numbered pins. Please click on image to expand.

The instructions advise that the HDMI port closest to the DC power supply input be employed if only one monitor will be used. I was confused about the power supply connector. It may be plugged into the Pi upside down. However, I found that a bright flashlight can be used to look inside the power supply connector and inside the Pi power supply input jack to ensure that the conductive contacts face one another. If the connector has been plugged in correctly, some LED status lights on the Pi circuit card should illuminate once the inline DC power cord switch, Figure 4, has been turned on.

This switch has to be used with caution. The operating system, if running, must be shut down prior to turning the DC power switch to the off position. Failure to do so could corrupt data stored in memory and on the microSD card. This is a minor weakness in the design.

Figure 4. The Inline DC Power Switch. The operating system must be shut down from the Raspberry Pi menu icon on the taskbar before turning the DC power switch to the off position. Please click on image to expand.

Two methods may be used to shut down the Raspberry Pi. There is a Raspberry icon that appears on the taskbar. One of the drop-down selections is to log out. Once selected, another dropdown appears that offers the choice to shutdown or reboot. There is a second method that permits shutdown from a terminal window, Figure 5, which may be opened from the taskbar. One need only enter the command:

sudo shutdown -h now

to close the operating system. A third option is to add a momentary switch to the Pi bus header. That may be used to assert a shutdown command for the operating system. I have not implemented that feature.

Figure 5. Terminal Window. A terminal window may be opened from the Pi taskbar. Please click on image to expand.

Once an unused HDMI input to the monitor or TV is selected, and the mouse, keyboard and HDMI cable are plugged in, the power switch in the supply power cord may be switched on. Within seconds the Raspberry Pi logo appears followed by a series of questions that include language and time zone. The operating system will also ask for access to WiFi. I found that WiFi was easier than connecting another Ethernet cable to the access point.

Once WiFi is connected, the operating system will update. Finally, a desktop appears. The taskbar was docked to the top of the screen, but I moved it to the bottom because that is where I am used to seeing it, Figure 6. That may be accomplished by selecting that feature from the Raspberry Pi icon on the taskbar. The operating system provides access to the Internet via a browser icon that appears on the taskbar. There are also icons for a terminal window and Bluetooth.

Figure 6. Taskbar Moved and Docked to the Bottom of the Screen. This may be selected from screen appearance under the Raspberry Pi icon on the taskbar. Wallpaper like this may be selected from a list. Please click on image to expand.

The Raspberry Pi icon, Figure 7, provides several selections for screen appearance, resolution and the usual accessories. It also provides a means for shutting down the operating system.

Figure 7. Menu Provided Under Raspberry Pi Accessible from Taskbar. Access to many options is provided here including Raspberry Pi screen resolution. This is not the same as the HamClock screen resolution setting, which will be selected separately. Please click on image to expand.

It was learned that the means for capturing screenshots within the Pi operating system is Print Screen (PrtSc) just as it is in Windows, so this method has been used to illustrate this article. The images are stored as PNG files in the home Raspberry Pi folder, not under Screenshots in the Photo folder where one would expect them to be.

After opening a terminal window, I followed the directions provided at the Clear Sky Institute[4] web page under the Desktop tab with some notable exceptions. First, I took the advice of KM4ACK[5] to circumvent error messages by executing two scripts before attempting anything else. These scripts may be found listed under the Desktop tab under the subsection titled “To install HamClock on other UNIX-like systems follow these steps”, paragraph 2, “If you get errors”[6]. These steps at Clear Sky are correct except for a syntax error pointed out by KM4ACK[7] in the script:

sudo apt-get -y curl install make g++ libx11-dev xserver-xorg raspberrypi-ui-mods libraspberrypi-dev linux-libc-dev lightdm lxsession openssl

This script must be corrected so that the word ‘install’ precedes the word “curl”. The corrected script should read:

sudo apt-get -y install curl make g++ libx11-dev xserver-xorg raspberrypi-ui-mods libraspberrypi-dev linux-libc-dev lightdm lxsession openssl

I don’t know why this has not been corrected on the Clear Sky Institute web page, but I am happy that KM4ACK pointed it out.

We may now follow the steps listed under “To install HamClock on a Raspberry Pi follow these steps”. It is suggested that the lines of code be executed line-by-line.

cd
curl -O http://www.clearskyinstitute.com/ham/HamClock/install-hc-rpi
chmod u+x install-hc-rpi
./install-hc-rpi

If you choose not to install a desktop icon, you may run this script from a terminal window to start HamClock:

hamclock &

The first time that HamClock is run, some entries are requested. HamClock will also ask if you would like to connect to WiFi, Figure 8. Since you may have entered these for the Raspberry Pi operating system, you may answer yes if you would like to connect. HamClock will enter your username and password for you.

Figure 8. Connect to WiFi Screen. You will enter your call sign on setup page 1. You may provide your network username and password after saying yes to WiFi. If you provided these to the Raspberry Pi operating system, they will auto-fill if you select, yes. You can enter your latitude, longitude and grid square here, or you can Geolocate on your IP address (not recommended). Please click on image to expand.

Once the HamClock screen appears, if the correct resolution has been chosen, the screen should be mostly filled from top to bottom, but there may be some black bars on either side of the window. There are numerous instructions online about how to deal with this. I didn’t bother. Once I had chosen the closest resolution to my screen, 1366 x 768, I left well enough alone. HamClock also asks if you would like full-screen view, Figure 9, which eliminates the HamClock title bar as well as the taskbar. I selected that view.

Figure 9. Where to Select Full-Screen View. Full-screen view selection is on setup page 5. Please click on image to expand.

To close HamClock, please note that there is a small padlock symbol, Figure 10, beneath UTC in the upper left-hand corner. If one left clicks and holds the lock for a few seconds, then releases, a script will appear that will ask if you would like to exit the program. If you also intend to shut down the Pi, please don’t forget the logout procedure that is found under the Pi logo in the taskbar.

Figure 10. Padlock Symbol Beneath the UTC Box. If you were to left click and hold on the lock for a few seconds and release, a script will appear that will ask if you would like to exit HamClock. Please click on image to expand.

If you would like HamClock to start automatically upon reboot, a script that will do it may be run anytime from a terminal window. The scripts are found under, ” To install HamClock on other UNIX-like systems follow these steps”, in paragraph 10:

cd ~/ESPHamClock
mkdir -p ~/.config/autostart
cp hamclock.desktop ~/.config/autostart

You may want to place a HamClock icon on your Raspberry Pi desktop. That may be accomplished by copying, pasting and executing the following script in a terminal window:

cd ~/ESPHamClock
mkdir -p ~/.hamclock
cp hamclock.png ~/.hamclock
cp -p hamclock.desktop ~/Desktop

After running the scripts, close the terminal window and reboot the machine from the Pi icon. HamClock should restart immediately. The size of the HamClock window may appear reduced after reboot but may be expanded just as one might expand any other window.

As soon as HamClock is up and running you may want to explore all of the options and items that are found under “Terrain” that is found in the upper left-hand corner of the map, Figure 11. An extensive dropdown menu will appear. Go ahead and press the radio buttons followed by “okay” to see what happens. Every new screen is a surprise. It’s not that hard to get back to the screen where you started, so please experiment a little bit.

Figure 11. Dropdown Menu for the Main Graphic View. You will want to explore all of the options available from this dropdown menu visible to the left of the Mercator projection. Other menus may be accessed by clicking on the titles that appear within the smaller graphics. For a complete description, please consult the User Guide. Please click on image to expand.

Additional views for the smaller graphics may be requested by clicking on the graphics titles, themselves. For example, you may want to display propagation paths from your locale as supplied by WSJT, Figure 12. There are also satellite and space station orbits.

To change the color of your call sign background, click to the right of your call sign. To change the color of your call sign, click on the letters.

Figure 12. Display of Propagation Paths From Our Locale. If WSJT-X was selected on Page 2 of the setup menu, this graphic will be displayed. My call sign color and background color has been changed for this view. Please click on image to expand.

A particularly interesting view of the aurora is shown in Figure 13. This is one more example of how much data is available for presentation in Hamclock.

Figure 13.  Display of the Aurora. This is another example of how much data is available for display within the HamClock application. Please click on image to expand.

A complete HamClock User Guide is available at the Clear Sky Institute website under the User Guide tab[8].

Please let me know if you build a HamClock of your own. It is nice to receive feedback.

References:

[1] Elwood Downey, WB0OEW, HamClock, QST, October 2017, pp. 42-44.

[2] Raspberry Pi 4, Model B, 2 GB.

https://www.amazon.com/dp/B07TMGBPFQ/ref=sspa_dk_detail_6?ie=UTF8&pd_rd_i=B07TKFKKMPp13NParams&s=electronics&sp_csd=d2lkZ2V0TmFtZT1zcF9kZXRhaWxfdGhlbWF0aWM&th=1

[3] Raspberry Pi Zero (2017).

https://www.amazon.com/Raspberry-Pi-Zero-Wireless-model/dp/B06XFZC3BX/ref=sr_1_8?crid=2P2OQ2SF3LHR5&keywords=raspberry+pi&qid=1692662504&sprefix=Raspberry+pi%2Caps%2C151&sr=8-8

[4] Elwood Downey, WB0OEW, Clear Sky Institute. https://www.clearskyinstitute.com/ham/HamClock/

[5] Jason Oleham, KM4ACK, YouTube, 2:30. https://www.youtube.com/watch?v=2Cy5Swmk3gU

[6] Elwood Downey, WB0OEW, Clear Sky Institute, Op. Cit., Desktop tab.

[7] Jason Oleham, KM4ACK, YouTube, Op. Cit.

[8] Elwood Downey, WB0OEW, Clear Sky Institute, Op. Cit., User Guide tab.

 

 

 

Radio Amateurs Developing Skills Worldwide