Saturday, March 9, 2019

So How To Do CW on a Homebrew SSB Rig?

3/16/2019 ~ Remote Antenna Tuning



3/14/2019 ~ Calling All Junk Boxes????


Calling all Junk Boxes, N6QW is looking for a part!

Recently I bought an SBE-33 SSB Transceiver for $52.30 and have been doing some major restorations, which principally involved a great deal of capacitor replacements. I did have to replace the speaker which was blown; but had an exact replacement taken from a Junker unit. 

I have had the rig on the air and so far I am impressed at the 1963 technology --even with an analog VFO. Yesterday running my SB-200 I worked Croatia, 9A5W, Nikola on 40 Meters. That is a big first for me and I got a notable report of how good it sounded. 

A short story --- the dial markings are at every 5 kHz and a ham running a FLEX5000 contacted me to tell me I sounded bad and was not on frequency (7.208 MHz). I asked that he give me some chatter wherein I zero beat him. Then when I transmitted back at him inquired about the signal. He said I don't know what you did but you fixed it. You are now on frequency and the audio is clear. Wow --he has been a ham for 5 years and well I will stop there. 

The Junker SBE-33 has provided many mechanical parts that were missing (the speaker of course and mostly shields although I did have to fabricate one of the shields). Should mention all the transistors are original save for one and I think I have that one too. Look up the specs on a Philco 2N1727 just for fun.   It is now mostly stock and I am down to one item -- The Panel Meter. 

It is blown and I attempted to repair it but can't get it loose from the case. Thus the only option is to find a replacement meter. Not any meter but one that came from an SBE-33. I guess blowing the meter was a problem, as the Junker is minus the meter too.

So if you have an SBE-33 sitting gathering dust in your garage, here is your chance to move it elsewhere. I need just the meter but will take a whole rig. Please advise price and shipping to 91320. I can be reached at n6qwham@gmail.com.

73's
Pete N6QW





3/11/2019

Arduino: How to add the CW capability!

It is always best to turn off the soldering iron first (and to also know which is the "hot" end) and go through a bit of a noodling process to actually think about what you want to do.


  •  Firstly we need to take a look at the Pin Count. If you are using one of the really neat Color TFT displays as I have in many of my rigs you have taken up quite a few of the Arduino Pins. At this point you might want to start looking at an Arduino Mega 2560. Having 54 digital pins will not constrain you on inputs/outputs and the 16 Analog Pins is also a bonus. If you will be using say a 20X4 LCD then the use of the I2C buss frees up a lot of digital pins and opens up the possibilities for using a Pro-mini or a Nano. Overall size of your rig may force a smaller physical size microcontroller. Depending on how much you want to display you might even get by with an 8X2 LCD. When I documented my Bitx40 build which was fabricated just before the Raduino was added, I used an 8X2. You can see that on my website at www.n6qw.com.
  • So from a Pin Count and for the normal SSB operation we have the encoder and step select ( 4 pins including ground). The I2C Buss (4 pins, but two are  5 VDC and Gnd). USB/LSB Select (one pin), VFO A/B Select ( one pin) and TUNE (one pin). True not all are digital pins, as five of those use Analog Pins 1 through 5. So we still have lots of Digital Pins to work with using  the Uno, Nano or Pro-Mini. 
  • Functions we are looking to add to the Arduino: the very first is to have a switch ( 1 pin) that says check if this pin is active and if so go to the CW routine. The very 1st item on the list is to shift the BFO to USB for CW Receive.
  •  Because we are using the Arduino we can accurately generate audio tones and thus we have the option as described earlier of using the tones to do CW. In one of my transceivers when I engage the TUNE function at the end of the pulsed tone I sent my call sign at 988 Hz. It sounded pretty decent. BUT we will have to do a lot of RC filtering as the TONE output is a Square Wave it would be nice to pump a sine wave down the throat of the Balanced Modulator. We will need to designate one pin as the TONE output that we later smooth up.
  • For our CW application there are tones closer to 700 Hz and I will find the appropriate one for the code. By using two pins on the Arduino we can accurately generate timed dits and dahs. By using one of the analog pins (we have three spare ones A0, A6, A7) we could include a speed control so that even though you physically send slower the output can be at a blistering 100 WPM. That will show those SSB only guys!
  • In the code for turning on the Si5351 LO we may need to include a constant, call it c,  in addition to the standard generated frequency and for SSB the constant "c" = 0. But for CW the constant is the amount of the offset. This may not be required but is put on the list so it can be added or not included depending on further noodling.
  • A timed output pin, (only active on CW) would key the PTT and hold the transmitter on for some time period. This output responds to when either the dit or dah key is engaged. Another pin could actually signal different delays --or two pins four delays. 

This is just some initial noodling on my part. But mind you a real Arduino programmer would have all of this as menus where you could select timing levels output speed and delays. But I do think this is a way of adding the capability albeit a bit klunky.
I will have to dust off the QRP Quarterly articles that AI6YR and I wrote to evaluate adding keyboard sending to the mix as that would change some of the functionality I described.
Now the thought occurred to me (and assuming unattended operation is OK for this application) --using canned code and reading the CW, in the morning turn on your rig and all day long the rig is having QSO's while you are at work. How cool is that?

73's
Pete N6QW
          



The Answer is Not a Flippant: Carefully!

[Author's note: A friend in VK4 land made an inquiry about CW operation. I find that 99.99% of my operating time is SSB. But others spend a greater time on the air using CW so why not share some info and data that I have stashed on my computer where a SSB rig can be made to work CW. This also open the possibility of filter switching for a more narrow pass band. With Arduino anything may be  possible.]



My shack is full of homebrew SSB transceivers but only two have CW as an option as well as the normal SSB functions. A design of having both modes must be done with great care and forethought. The rig which does have the best CW functionality is my KWM-4 which hit the airwaves in 2013. 

I spent a great deal of time looking at CW schemes and it became obvious that many commercial rigs included CW as an after thought to aid in the marketing and did not really address the desires and wants of the ardent CW operator.

Here are some of the results of my research. 

  • One method was to simply unbalance the carrier balance control, turn off the mic circuit, crank back  the power and flip a switch often called MOX (manually operated transmit). Thus change over always involved the MOX so no break-in. You essentially keyed the PTT. The offset was poor and involved a lot of leap frogging to copy you. Often there was no side tone oscillator.
  • Another method involved shifting one of the BFO frequencies straight down the throat of the Filter Center Frequency (Cf) and then key a buffer stage somewhere in the loop. This method was OK; but often limited you to sending CW on one side band and receiving on the other. I think the convention now is to receive on USB. Some later commercial rigs let you pick CWL or CWU.
  • Some rigs used a clever approach that employed a tone being generated on "key down" that did three things: 1) the first is you now had a side tone; 2) you now were able to use that tone to key the VOX so you had break-in operation and the third the tone was sent to the microphone input circuit. I think this is covered under Part 97 as tone modulated CW. I think this was the system employed in the Collins KWM-2.
  • For the most part the "value engineering equation" included only one filter often (in early rigs) 2.7 kHz wide. For a CW signal 500 Hz wide that is a lot of signals snaking through the filter pass band.
  • But one homebrew rig in particular from the Dec89/Jan90 QST article authored by the Wizard himself Wes, W7ZOI used a separate crystal oscillator and keyed buffer to generate CW. (The rig was a 20M QRP SSB/CW transceiver.) But even this design had shortcomings in that to do CW you had to hold down the PTT switch. I fixed that problem when I built my version of this rig. This the 2nd rig I have with SSB and CW and predates the KWM-4.

Thus when I built the KWM-4, I looked to address those issues and decided on the W7ZOI approach; but having some refinements.



  • I would use a separate oscillator to generate CW. Somewhere in my travels I found a 455 kHz crystal and this is what I used.
  • My 455 kHz oscillator was turned on for short periods of time but not keyed. A downstream buffer stage was keyed. This is an old-timers technique as this method reduced chirp and key click as you would have in directly keying an oscillator. The short time I spoke of could be accurately set using a timing capacitor. I like a long time between letter so the code sounded distinct. Many CW operators are plain and simple crappy senders using a straight key. 
  • Next the keyed buffer stage was fitted to the circuit so that the CW signal was injected into a bilateral stage ahead of the crystal filter. This was done for two reasons: the first being I could tweak the 455 kHz signal so its offset was more in line with 700 Hz and secondly I did not have to worry about any effects of the filter and downstream circuitry. A small board mounted relay engaged only in CW on transmit disconnected the Mechanical Filter and the preceding bilateral stage fed the 455kHz RF.
  • I then developed a control circuit that did several tasks. One task was to provide break-in operation with a second to have functionality for both tuning the rig with output that required no "key down" or regular CW operation. As a bonus this circuit also providing the switching of voltages to go from Receive to Transmit and even included the usual outboard linear amplifier control. From a block diagram standpoint this is what it looked like.

This is a schematic of how it was done.


I spoke of the relay bypass on the IF Mechanical Filter



Some Snaps of the Control Board





Yes Virginia, all of the boards were made on my CNC machine. I think it turned out pretty cool. But then again I tend to think all that I do borders on genius.

Now with the advent of the Arduino and the Si5351 a lot of what I did six years ago will be just a few pieces of hardware aside from the Arduino. To wit the 1N914's coming off a the 7400 IC could now connected to pins on the Arduino. The timed voltage off of the NE555 is just a Pin Output to a DC switch that is in an "OFF" state until keyed. 

The 4.7 UF was a timing cap. But suppose we use one more pin with a switch that would give you a default time value and engaging the switch selects a different value. Two switches could give you four time values. 

I would consider the use of the third clock on the Si5351 that would provide the CW oscillator frequency that would operate in the same way the standalone did in the KWM-4 and that would feed a keyed buffer.

All of my sketches include a TUNE function that generates a pulsed 988 Hz tone that is fed into the Balanced Modulator. That same code can be modified to provide the timed voltage to the buffer as well as the side tone and show on the display you are in the CW mode. 

I just may have to build what I suggested and then this could be used with other homebrew SSB transceivers. At this stage it is always best to noddle a bit more but I think I have sketched out a possible roadmap to add the Arduino to the mix. If you used a Mega 2560 (more pins) then it would be possible to add my CW sender software so you could add a keyboard for sending CW --and even call up canned messages. With the Arduino anything maybe possible! (For those still subscribing to QRP Quarterly several years ago, Ben, AI6YR and myself did a series of articles on a CW Sender using the keyboard.)

Rock On, Pete!

Pete N6QW

5 comments:

  1. If you feed a clean tone into an ssb transmitter, and the transmitter is adjusted properly, you get a CW signal. It's identical to a cw transmitter. The balanced modulator translates the audio tone to rf, and the crystal filter knocks out the extra sideband. The only difference is that the frequency of the tone will provide an offset.

    If you don't use a pure sinewave, then you'll get unwanted products, and it is more likely to be am with a tone.

    Modulated CW is using an am or FM transmitter, and feeding a tone into it. You might get slightly better performance than talking into the microphone, but barely. The carrier is always there.

    So it's used in cheap toy walkie talkies, and at one time, when the US Novice license had some 2M privilege, they could practice sending and receiving code with the Benton Harbor Lunchbox, or their Gonset Communicator.

    Michael

    ReplyDelete
  2. Hi Michael,

    Thanks for your posting. I think your point is well taken --clean tone. Some of the tones sounded like a buzz saw. I think that was one of the issues of the KWM-2 --the tone was 1350 Hz and most of the CW guys didn't like that. I do not believe the KWM2 is considered a "top drawer" CW rig.

    Hope I get this all working as it may actually be useful to at least one or two hams.

    73's
    Pete N6QW

    ReplyDelete
  3. More food for thought. Thanks :)

    ReplyDelete
  4. Pete, sorry maybe you Don t know,i red from emrfd grops that big George G3RJV today died..

    ReplyDelete
  5. Good post Pete! These are the issues that I went through with the BITX. Any tone into a SSB rig will incur all of the intermod and opposite sideband suppression problems and will show up terribly if not perfectly done. I used a spare synthesizer clock, shifted in frequency by the sidetone value to put it where it was expected. Activated CW mode by looking for a key input and included a keyer in a short routine with an easy speed adjust. That way I avoided any menu. Keep it simple. Keep it small. Keep it easy. The code is posted on my site, use what you can.

    ReplyDelete

SDR ~ The Wave of the Future

Where can I get a Cheap SDR RADIG? 5/26/2019 ~ Memorial Day Weekend I observed Memorial Day weekend in 1965, at our base at Chu Lai...