Wednesday, March 29, 2017

ND6T's Forward and Reverse Power Meter for the BITX


RF Monitor
by Don Cantrell, ND6T

In response to several requests for a VSWR and output power monitor I have developed a simple circuit to be easily added to the BITX (or any transceiver) and some software to get it working. I used a 20 dB directional coupler design, sometimes called a “Stockton bridge”, that is simple, broadband, and requires no adjustment.

The sensor circuitry is mounted on a small piece of printed circuit board that is held in place under the mounting nut of the BNC antenna connector, replacing the ground lug that was originally supplied. The (brown) wire from the 2-conductor “ANT1” plug feeds through the center of one toroid core (T1) and solders to the BNC jack, the other (black) solders to the new board's ground plane. Two new wires connect to the Raduino plug for reading and display of the results.

I began with a square of un-etched printed circuit board stock, one inch on each side, and drilled a 3/8” hole near one corner to fit over the antenna jack. Leaving enough room for the mounting nut, I glued 4 small pieces of PC board as solder pads. The two transformers are T37-43 ferrite cores wrapped with 10 turns of AWG#24 wire in a single layer. The 50 ohm terminations are ½ watt 51 ohm resistors. I hand-selected two of the ones closest to 50 ohms but this is not critical (what's an ohm between friends?) ¼ watt will work fine at these levels. I used two 1N34A diodes for detectors.

I mounted all of the components upright to save space. A short jumper wire feeds from T1 secondary through the center of T2 to the forward detector as that primary winding. Note that you do not wrap this around the core, just pass it through like the antenna lead on T1.

Don't have any #24 wire? Use whatever you have that will fit 10 turns. Don't have a T37 core? A T50 or even T60 will work. It is best, however, to stick to 43 mix ferrite unless you adjust the turns accordingly. Capacitor voltage or temperature coefficient is not important. Got lots of room around the antenna connection on your build? Then go large with the PC board and give yourself some space for component mounting and ease of connection.

Testing is simple. If windings have the proper polarity then, when you transmit into a dummy load, there should be a couple of volts DC on the “Forward” solder point and a very low voltage on the “Reflected” pad. The coupler works the same in both directions, meaning that if it were built outside of the BITX, then you could reverse it and get the same readings by switching voltage pads. A nice check of operations. 7 watts on my build resulted in a bit over 2 volts volts on the output, well under the maximum 5 volts allowed on an Arduino® A/D input.

I included some formulas in the software to average the peaks during SSB operation and displaying it every 3 seconds. The results are also displayed after a half-second key down in straight-key mode. The power reads out as watts in both forward and reverse directions. As usual, the Arduino sketches are available free by emailing ND6T@arrl.net.

Not using a digital readout? Just attach meters and adjustment pots to the output connections. If you want just one single-movement meter then use a switch and a trim pot for each switch position.

de ND6T

Tuesday, March 28, 2017

ND6T BITX CW Update


BITX CW Update
By Don Cantrell, ND6T

Since the last post (February 25, 2017 “Putting the BITX Raduino on CW”) I have made a few changes in the sketches, added a variable keying speed control, and added a Straight Key mode. In the ensuing weeks it has performed nicely on the air, superb reports from everyone.

The primary reason for the initial sluggishness in calling up the original keying routine was that the display updating necessitated a sizable delay to keep it from flickering. By moving the display update out of the loop() and putting the CW into a “while()” structure made the delay essentially disappear. It also cleaned up the code, modularizing it to make it easier to re-configure and to steal whole sections to use in other sketches. I decided to use iteration counts (how many times the subroutine ran) to create the time-out to return from CW transmit to receive. This is called “semi-break in” operation and is used on many rigs. This is still primarily a 'phone rig, after all. I was reminded about how fast the Arduino works by the number of iterations it performed in 1.5 seconds...100,000! Zoom! Yes, it read the paddle inputs 100,000 times in one and a half seconds.

The next big change was a speed control. I am not a fan of menus. I want to turn a knob and go. So I drilled another hole in the front panel of the BITX and mounted another 10K linear taper pot. I wired it like the tuning control: +5 volts to one side, chassis ground to the other, and the wiper to an unused A/D pin on the Raduino. Since the new speed control was right near the tuning control, I just wired from that for the end connectors.

The CW function reads the value and converts directly to Words Per Minute. The display shows the two-digit speed at the end of line 1 right after the “Idle” indicator on my program. I have it set for 10 to 35 WPM, pretty much my normal range. It can be changed to cover whatever range the operator would like by a couple of simple changes in the code. That code is still extremely short, small, and in simple Arduino.

I am not a person that shuns Straight Key mode, though. In fact, I rather prefer it. It is simple, understandable, and has character. Much like a persons' hand-written messages. An operator's fist is as distinctive as his call. And who can send CW slower than 10 WPM on a paddle?

With the current sketch, turning the keyer speed control to less than 10 WPM replaces the speed indication with “SK” and directs the program flow to the straight key function. Again, after 1.5 seconds of no key closure, the BITX returns to receive.

The only glitch occurs if the straight key uses a 2-conductor plug or has the sleeve and ring conductors shorted and is plugged into the 3-conductor key jack. Do that and the Raduino sees it as a request for a “dash” from paddle. This is handled by reading the speed control. If the control is set for “SK” then all is well. Leave it on a keyer speed position with such a straight key plugged in then you can expect the BITX to start transmitting “ DAH DAH DAH...” until you realize your error.

Although I was initially worried about key clicks due to the fast rise time of the keying envelope I don't see much difference from my other CW rigs. My Icom 746pro is not bothered just 100 Hz away from the 50dB over S9 signal when using a 50Hz receive filter. No one I have worked notices a problem. One operator using my conversion thought it had some chirp but it turned out to be receiver overload instead. Not the BITX, another receiver, relax.

Dmitry, EI3JQ, reported that he had to use a lower value series resistor at the signal injection point at C132. He says that the 470 ohm resistor resulted in low output. Further reports are still pending but I expect that different builds will show variation. It is my opinion that the CW output should be no more than the SSB PEP level to maintain signal purity and lessen component strain. The average power difference is nearly 10 dB and should be taken into account. Dmitry had much lower power, though. He reports nice CW contacts both in Europe and Russia now.

I also re-wrote the sketches to reduce the number of synthesizer and display refreshes. The newer versions of the etherkit Si5351 libraries ( v 2.0.2  and v 2.0.3) shut off the synthesizer outputs for a brief time when programmed for frequency. This creates a clicking in the audio. My earlier sketches were constantly updating so it was particularly irritating. Jerry, N5KYD, found this problem. I suggest using v 2.0.1 until the library is further corrected but my newer sketches have profitted from the experience.

If anyone wants a copy of the current sketch with CW, for either the 40m Raduino BITX or the 60 meter version, just write me at: ND6T@ARRL.NET  for a copy. There are changes made almost daily, lots to improve. The fun is in the innovation, after all!

de ND6T

Thursday, March 9, 2017

A Band Scope for the BITX




The use of an RTL-SDR dongle with a discarded Android phone as the display seems to me to be a very BITX-appropriate use of road-kill technology.  Bill N2CQR

Thoughts and experiments on BITX Band Scope
by Ken Marshall G4IIB

I have explored several very simple ways of implementing a band scope on my BITX. To test the concept I am using HDSDR on a PC and an HF converted RTL SDR dongle (a la Sprat 162). We can turn the sound off on our SDR software as we are only interested in the display. I have also tested it in demo mode on an android phone using SDRTouch as seen above.

Method 1 implementing a band scope on the first IF stage (output of Q2). This gives a classic tunable Pan-adapter. You tune your SDR software (HDSDR or SDRTouch) to the IF frequency 12Mzh and you will see a band scope and waterfall display.  You tune stations in the normal way on the BITX and you will see that once you resole the LSB signal on the BITX it resides within the 12Mhz pass band near 12Mhz on the waterfall.  See below you will also see that the lower portion of the 40M band is to the right note the CW section 1260 – 1280 and the high end of 40M is to the left  this is inversion due to my use of high side vfo. This will not be he case if you are using the conventional low side VFO ( the waterfall will change if you use high side VFO to change to USB as implemented on the Raduino using the fixed BFO crystal, if that’s what you use). What you see on the scope is not what you get in that every thing is referenced to 12Mhz you have to do a conversion in your head to know where you are within the 40M band, but it does show you the activity on the band which you can tune to via the BITX.

The next image shows the mess the waterfall gets in to when you tune the band. The trick when tuning is to ignore the waterfall and concentrate on the peak in the band scope of the signal you want to listen to as it moves into the 12Mhz pass band when tuning the BITX. 




As previously indicated the hardware mod itself is very simple, tack a 10 or 20pF cap (whatever low value you have) onto the crystal side of C23 and connect this to your dongles antenna connection via screened lead.

Method 2  implementing a band scope on the RF amp stage (output of Q1). This gives an untunable Pan-adapter/band scope. You tune your SDR software (HDSDR or SDRTouch) to 7.1Mzh and you will see a band scope and waterfall display of the whole of 40M.  You tune stations in the normal way on the BITX the band scope does not move as you tune all of the signals you see are in the correct place on the band. If you see a signal on the band scope at say 7140 tune the BITX to 7140 to listen to it, the band scope does not change. As the main purpose of the band scope is just to give a visual indication of what activity is on the band you may find this approach simpler to use.

Again the hardware mod itself is very simple, this time  tack a higher value cap 10nF onto C13 and connect this to your dongles antenna connection via screened lead.

The main downside to methods 1 & 2 are the amount of spurs that can be seen in either of the displays as above. This is a known issue with these cheap RTL SDR dongles and not easy to overcome. However, most of the spurs seem to be generated within the BITX. This is hardly surprising given that I'm running an arduino, which has its own internal clock, which is driving an SI5351 producing VFO and BFO frequencies, harmonics from these and those produced by the RTL devise itself will be generating and mixing all sorts of other harmonics. Contrast the above with the SDR on its own antenna not connected to the BITX. Hardly any spurs see below. This would be another option (method 3) to use the dongle with either a PC or android device as a band scope using a separate RX antenna.

 I have loaded SDRTouch on my android phone and it works but only for 60 seconds in demo mode. Not really long enough to test and fully evaluate the functionality. I have to pay£7 for a key to use the full spectrum functionality. I'm not sure at this stage which android devise I want to run it on or the use I'll make of it. But I may consider it in the future. This is why most of my testing has been carried out via HDSDR on a PC. I have tried other android SDR apps but SDRTouch seems to be the only one to offer I or Q channel inputs necessary to operate HF modded dongles.

Whilst methods 1 & 2 work they would benefit from further experimentation. Reducing or eliminating the spurs would be nice but difficult. I have since found that screening the Arduino and using coax instead of just screened lead to connect to the RTL helps. As it stands even with the spurs it still gives useful band information. A band scope found on $2000 plus rigs it is not! But for the outlay of $13 for an SDR dongle and an android device it could be a useful addition to the BITX.

In summary, both methods are very easy to implement but I feel that method 2, although not a classic tunable band scope, is probable the easiest option from a user perspective. Try it on your PC or android and see what you think.

Post Script check out these V3 dongles from the RTL-SDR.com people. They have improved screening, spur suppression, lower noise floor and are already modded for HF. It's only 19 of your American bucks.
http://www.rtl-sdr.com/new-rtl-sdr-blog-units-now-available-in-store-hf-via-direct-sampling-software-switchable-bias-tee-less-noisespurs/