Podcasting since 2005! Listen to Latest SolderSmoke
Monday, September 23, 2024
Ham Radio -- How To Build Stable Oscillators
Tuesday, May 30, 2023
Rick Campbell KK7B at FDIM: Interview #5 by Bob Crane W8SX
Here is the interview:
http://soldersmoke.com/KK7B23.mp3
And here is a paper Rick did on VHF. It is a bit old, but it is good.
http://www.pnwvhfs.org/conference/2009/Introduction-to-VHF-Experiments.pdf
Thanks Rick! Thanks Bob!
Wednesday, September 23, 2020
Wisdom from AA0ZZ: NO LIBRARIES! ASSEMBLER CODE ONLY! -- "Digital Crap" -- "No Magic Fruit" What qualifies as a real rig? Si570 vs. Si5351
Bill,
Why do you guys make your Soldersmoke podcasts so darn intriguing such that I can’t listen to them in the background while I’m doing something else? Good grief! I start listening and before long you make me stop and chase down a rabbit hole to find something new that you mentioned that I had no clue was out there. Before long I’m doodling out a new sketch or playing with at a new design for something I really need to experiment with or build “next” or something I need to try. It is taking too much of my time!! J
I’ve been listening to your podcasts for years. Way back, before I knew you and before I knew you were doing these Soldersmoke blogs with Mike, KL7R, and just before he was so tragically killed, I was collaborating with him on a simple frequency counter project using a PIC microcontroller. We were making good progress on a neat design. I later completed the project but always kept his contributions noted as part of the source code.
I’ve been making PIC-based VFOs for years – dating back to about 2000 – aiming them at builders who were looking for something to go along with Rick Campbell’s (KK7B) receivers. Rick is a good friend now, after we met in the Kanga booth at Dayton where we both were demonstrating our stuff. (Bill Kelsey (N8ET) of Kanga, was the “marketer” for my kits as well as Rick’s for many years.) My original VFO kits used a DDS (high-end AD9854) that simultaneously produced I and Q signals which made it perfect for Rick’s phasing gear. Rick is a big supporter of my work but he still kids me about polluting his beautiful analog world with my “digital crap” (copyright KK7B term). When I came out with a newer version VFO using a Silicon Labs Si570 PPLL (I can hear already Pete Juliano groaning) it was a big improvement over the AD9854 in noise/spur reduction. I documented this all in a QEX article in about 2011 and Rick (and Wes Hayward) were very supportive/appreciative of my work.
I have used the Si5351 also and I understand Pete’s point of view. It’s “plenty good” for most amateur projects. However, it remains a fact that the Si570 is a better part and produces a cleaner signal. That’s the reason why the Elecraft KX3 uses a Si570. Granted, the newer Elecraft KX2 uses a Si5351 but it’s most likely because they wanted to preserve battery life (the Si570 uses more power but not nearly as much as the AD9854) and also to reduce the cost. I do understand! I also fully understand the ability of the Si5351 to produce I and Q signals via different channels. I’ve had extensive conversations about this with Hans Summers, at Dayton and online. I use a pair of Flip-Flops on the output of the Si570 instead. My PIC code driving the Si570 is ALL written in ASSEMBLER code. Yep! I’m an EE but have had a career mainly in software development and much of it was writing assembler code. I dare say there aren’t too many gluttons for punishment that do it this way. I do it because I want to understand every line of code don’t want to be dependent on anyone else’s libraries. Every line of code in my VFO’s and Signal Generators is MINE so I know I can debug it and it can’t get changed out from under me. (This problem bit Ashar Farhan hard on the Raduino of his BitX. Tuning clicks appeared because the Si5351 libraries he used changed between the time he tested it and released it. I was really appalled when I dug into this and resolved to NEVER use libraries that I didn’t write myself. Similarly, this also makes me have some distaste for Arduino sketches. I would rather see ALL of the code including the initialization code, the serial routines, etc, rather than having them hidden and get pulled in from Arduino libraries. That’s similar to the reason why Hans Summers didn’t use an Arduino in his QCX. He used the same Atmel microprocessor but developed/debugged it as “C” code with the full Atmel IDE/debugger.
By the way, Pete mentioned the Phaser FT8 transceiver by Dave, K1SWL, in a recent podcast. Dave is a very close friend, even though I haven’t met him in person since about 2000. We Email at least daily and some of it is even about radio. J I did the PIC code for the tiny PIC that controls the Si5351 in the Phaser. Yes, it’s written entirely in Assembler again! I do know how to do it for a Si5351. That Si5351 code is not nearly as much “fun”, though. I know, this will make very little difference to guys who write Arduino “C” code to control it but under the covers it’s a world of difference. It takes me about 15 serial, sequential, math operations to generate the parameters for the Si5351. None of them can be table driven and they all have to be performed sequentially. (This is all hidden in about 5 lines of complex, Arduino “C” code but the operations are all there in the compiled assembler code.) In contrast, my Si570 code is almost all table driven. I just have to do one large (48-bit) division operation at the end to generate the parameters. Yes, that’s a bit of trickery to do in ASM. There are no libraries do this.
I will point out one more advantage of the Si570 in comparison to the Si5351. It has the ability to self-calibrate via software instead of relying on an external frequency standard. In my Si570 app I can read up the exact parameters for the crystal embedded inside the Si570, run my frequency-generating algorithm “backwards” and determine the exact crystal frequency (within tolerances, of course) for that particular Si570. Then I update all the internal tables using that crystal frequency and from then on all generated frequencies are “exact”. I love this! Frequency often moves by about 6 kHz on 40M.
Oh yes, I must mention the difference of home solderability of the si570 vs the Si5351. Those little Si5351 buggers are terribly difficult to solder at home while the Si570 is a breeze. I know, many folks will just buy the AdaFruit Si5351 board and it’s already soldered on but, again, I like to do it all myself. No “magic Fruit” for me.
Now that I retired a couple of years ago and am getting out of the VFO kitting business I can finally build complete rigs instead of just making the next-generation VFO’s for everyone else to use. I recently build a tiny, Direct Conversion rig with a Si570 signal generator (of course) and a diode ring mixer (ADE-1). Look at my web page, www.aa0zz.com to see it, along with my VFO projects that I’ve been building in the past. As you well know, Direct Conversion is fun to build and the sound is astounding; however, they are rather a pain to use! Yes, I did make it qualify as a real rig by making several contacts all over the country. (Wes Hayward gave me the criteria: he told me that I must put any new rig on the air and make at least one contact before it qualifies as a real rig.)
The new rig that’s on my workbench is my own version of a phasing rig, experimenting with a Quadrature Sampling Detector (QSD, sometimes called a “Tayloe” mixer), using some ideas from Rick’s R2 and R2Pro receivers and many innovations of my own. At present my new higher-end Signal Generator works great, the QSD receiver works great (extremely quiet and MDS of -130 dB on 40 meters) and the transmitter is putting out about 16 watts with two RD16HHF1’s in push-pull. You can take away my “QRP-Only-Forever” badge too, not that I’ve ever subscribed to that concept! Still more tweaking to do with the TX but now I’m also working on the “glue” circuitry and the T/R switch. The SigGen, RX and TX are all on separate boards that plug into a base board which has the interconnections between boards and the jacks on the back. I’ve built DOZENS of variations of each of these boards. Fortunately they all fall within the size limit criteria to get them from China at the incredible price of $5 for 10 boards (plus $18 shipping) with about 1 week turnaround. Cost isn’t really an object at this point but it’s more of getting a hardware education that I sadly missed while I concentrated on software for so many years. it’s certainly nice to have willing mentors such as Rick, Wes, Dave (K1SWL), Don (W6JL) and many others to bounce my crazy ideas off. Yes, I’m having a ball!
I was licensed in 1964 but out of radio completely from 1975 to 1995. Do you like the picture of my DX-100 on my web page? My buddy in the 60’s had a Drake 2B and I drooled over it but couldn’t afford one.
Now I must finish this rig before you guys send me down another rabbit hole. Too many fascinating things to think about! I literally have a “priority list” on the my computer’s desktop screen. Every time I come up with a new project idea – something I really want to play with such as a Raspberry Pi, SDR, etc, I pull out the priority list and decide where it fits and what I want to slide down to accommodate it. That’s my reality check!
Take care, Bill. Thanks for taking the time to give us many inspiring thoughts and ideas.
73,
-Craig, AA0ZZ
Friday, September 18, 2020
Mixer Insights using Propellers and Cameras -- From Walla Walla University. And SDR Design Info.
Sunday, August 9, 2020
Presence (Absence?) and Direct Conversion Receivers (with wise comments from Farhan)
Farhan's DC40 |
Sunday, May 31, 2020
QCX SSB -- But How Much QCX Remains?
Hack-A-Day carried a very nice video describing recent efforts to turn Hans Summers' amazing QCX CW monoband transceiver into a multi-mode, multi-mode (including SSB) rig (see above). This is project will greatly interest QCX and SDR fans.
But I wondered how much of the old QCX is still there after the modification. Not much, it turns out.
Here is the bloc diagram of the QCX. It is essentially a phasing rig, using the same principles as my venerable HT-37 transmitter and my version of KK7B's R2 receiver:
Monday, October 21, 2019
Farhan Visits Northern Virginia and SolderSmoke HQ
Wednesday, May 17, 2017
Homebrew History is Made: Farhan @ W7ZOI
Friday, January 27, 2017
When Bypass Caps are Not Enough: Active Decoupling
Next I had to find out how the OLED noise was getting into the rest of the receiver. It could have been through the SCL SDA or even the ground lines. It could have been just through capacitive or inductive coupling from the display board itself. A big clue came when I tried powering the display from a completely separate power supply: BINGO! The noise disappeared. So I knew the noise was going into the rest of the receiver through the Vc line that powered the OLED.
I had been powering the OLED from the 5V regulator on the Arduino Uno. In an effort to isolate the noise, I put a separate 5V regulator in the circuit for the OLED. No joy -- noise still there. I then tried putting an RC low pass filter between the OLED and the 5V regulator. Still had the noise. Finally I remembered something from the AF AMP circuits of Roy Lewallen, Rick Campbell and Roger Hayward. ( I think Roy was the pioneer on this one.) They all used an "active decoupler" between the first AF amp and the power supply line. I confirmed that it was my first AF amp that was picking up the OLED noise. I built the active decoupler (just three parts!) and the noise disappeared. GONE!
There are only three parts, but the way this circuit works is kind of complicated and not very intuitive. There is a good discussion of how it works here:
www.facstaff.bucknell.edu/dkelley/elec351/Lab/elec351lab5_sp04.doc
Roy, Rick and Roger were using this circuit to knock down 60 Hz AC hum, but I found that my OLED noise was at around 200 Hz -- I figured (correctly) that the active decoupler would take care of this as well. I think this little circuit can be useful in dealing with the kind of noise generated by the digi displays that many of us are now using.
David Rowe has a really interesting analysis of this circuit here:
http://www.rowetel.com/?p=4781
Sunday, April 3, 2016
Possibly the Best Ham Radio Interview Ever: Farhan on "QSO Today"
Stop what you are doing. Run -- don't walk -- to the "QSO Today" website of Eric Guth 4Z1UG. There you will find his interview with Ashhar Farhan VU2ESE.
There is so much great information, inspiration and wisdom in this interview. I was so captivated by it that -- even with the availability of the pause button -- I was unable stop listening even for the time it would take to walk to the kitchen to refill my coffee cup. But at the same time, listening to Farhan describe the joy of bringing a new receiver into operation compelled me to go over to the bench -- in mid-podcast -- to tweak a receiver that I am working on.
In this podcast you will hear about how Farhan got started in ham radio, about his Elmers about the origins of the BITX, about the Minima and the new HF-1 rig, about Farhan's spectrum analyzer project and about a new goodwill effort to send BITX circuitry to aspiring hams around the world, especially in developing countries.
Throughout you will hear Farhan speak of the importance of the book, Experimental Methods in RF Design.
Friday, March 25, 2016
KK7B's Thoughts on Notebooks, Experiments, and Building
Hi All,
Enjoy the experiments, and if you have self-identified as a builder, as have many of the denizens of this site, then enjoy making sketches, developing designs, and taking risks that either pay off or end up as learning experiences.
Saturday, March 12, 2016
EMRFD Joy of Oscillation (Part 1)
Guys:
I have been catching up on the last few SolderSmoke podcasts after
that little QSO Today diversion. I wonder how many others did the
same thing? I have really enjoyed these recent 'casts. Lots of
fantastic HB content. Funniest moment was when Bill described his
post-project workshop as looking like the aftermath from an electronic
barfight.
I took a new ham up on a SOTA activation last year. Then about a
month ago, he said that he wanted to do HF HB. He said he had been
googling and found so much that he didn't know where to start. I told
him that I'd be interesting in doing a beginner HF HB project with
him.
I could have pointed him to LBS, et al. I could have pointed him to
the Michigan Mighty Mite. I did neither. I pointed him to:http://web.cecs.pdx.edu/~
the document. I pointed him also to:http://www.arrl.org/files/
(Did you guys know that chapter was online and free?) We scaled to 20m and
kitted parts for this. And parts for a 4th transistor PA for serious
QRO. :-)
Two others joined us building for 40m. Check out the attached photos
of the first 3. The joy of oscillation was experienced by all.
After testing each oscillator, and borrowing from an article KK7B ran
in CQ VHF, I told each that he had to ID every 10 minutes. Even
though nobody was going to hear these signals a few hundred yards
away. (But it sounds loud on a shortwave portable a few inches away!)
I even wrote out the dots and dashes for a couple of them.
Next stop: to have everyone find a curbside TV discard, rip out some
parts, and get on 5 meters! Haven't we gotten it back now, after the
transition to digital TV? :-)
OK, maybe the next stop is to add some gain stages and experience the
joy of communication. The joy of QSO-ification? The joy of
EM-radiation? :-)
Best regards,
Drew
kb9fko
Monday, February 22, 2016
Design Wisdom from Allison, KB1GMX
Interesting thread...
Sunday, February 21, 2016
Words of Wisdom from Rick Campbell, KK7B
Tuesday, February 9, 2016
Back to Divide by 4 -- Big Improvement in Receiver Performance
Fortunately it was very easy to convert the divide by two 74AC74 circuit described earlier to a version of the divide by 4 scheme seen above. (From the SDR Ensemble II Receiver: http://www.wb5rvz.com/sdr/ensemble_rx_ii_vhf/04_div.htm)
This change provided a great way to observe 1) the improvement in the output signals from the VFO and 2) the resulting improvement in receiver performance, especially opposite sideband rejection.
Here are some numbers. I was very pleased to discover that my Rigol scope will measure duty cycle and phase difference. Thanks Rigol!
AD9850 Divide by 4 : 7.212 MHz Duty cycle: 48.3 Phase Difference: 87-90 degrees
Si5351 Divide by 2: 7.212 MHz Duty Cycle 49.6 Phase Difference: 83 degrees
Si5351 Divide by 4 7.212 MHz Duty cycle 49 Phase Difference: 85-90 degrees
Additional improvement came when I switched the power supply to the IQ inverters and Flip Flops. I switched from 3.3 to 5 volts:
Si5351 Divide by 4 7.105 MHz Duty Cycle 49.7 Phase Difference: 90 degrees
When I took the VFO box and put it back in the receiver with the divide by 4 scheme and the 5 volt supply I immediately noticed a big difference in performance. It was obvious that opposite sideband rejection was back to what I had had with the AD9850, perhaps better.
I have a quick and dirty method of measuring opposite sideband rejection: I put an RF signal into the antenna connector. I put the 'scope on the audio output. I tune (on the desired sideband) for 1kHz audio and I measure the output voltage. Then, with the audio gain and RF sig gen output in the same positions, I tune to the opposite sideband, again tuning for 1 kHz, again measuring audio output. With the divide by 4 scheme and the 5 volt supply, the opposite sideband was so weak I had trouble measuring it. I estimate the rejection to be at least 32 db -- this is back in the range of what I had with the AD9850, and significantly better than I had with the divide by 2 scheme.
Now I just need to figure out how to get the Si5351 VFO sketch to tune above 42.94 MHz. For some reason it quits at this point, switching down to 2 kHz output, and keeping me on 30 meters and below.
Thanks again to Todd VE7BPO for a lot of help with the hardware and to Tom AK2B for help with the Arduino code.
Sunday, January 24, 2016
Listen to My R2 Phasing Receiver (formerly known as "The Frankenstein" )
I really like this receiver. Thanks to all who helped.
Saturday, January 23, 2016
Some Inspiring Phasing Philosophy from KK7B
Rick Campbell KK7B concludes Chapter 9 of "Experimental Methods in RF Design" with these inspiring words:
"An amateur who has built up a phasing receiver, looked at the I and Q channels on a dual trace oscilloscope, and tweaked the phase and amplitude adjustments while listening to an opposite sideband signal drop into the noise acquires a depth of understanding far beyond that of most wireless graduate students and many of their professors. The best part is that understanding of phasing systems comes from experimenting with simple circuits and thinking -- the tinkering comes first -- then the understanding. In this area the amateur with his simple workbench; primitive test equipment; and time to contemplate, has a profound advantage over the engineering student with a computerized bench and exam next week, and the professional engineer with a million-dollar lab and a technician to run it."
Tuesday, January 12, 2016
N7SUR's Phasing Receiver on an Oregon Pine Board
Bill,
I thought I'd share my breadboard system for receiver experiments. In this example I have a phasing, single sideband Tayloe receiver. The entire receiver, less VFO, pulls 54 milliamps at 5 volts.
The chassis is a prime piece of Oregon pine. Be forwarned; my Tayloe receiver doesn't employ a single discrete transistor.
The DDS VFO at the top is the K5BCQ Si570 based RF generator kit. It reads 56.231 Mhz because the VFO operates at four times the receive frequency on a Tayloe detector.
The receiver consists of five boards. From left to right they are, RF front end filter; Tayloe detector and post detector amps; sideband eliminating phasing filter; eight pole low pass filter; high pass filter and audio amps.
Flexibility is key. Each stage, or set of stages is laid out on one circuit board which is tacked to the breadboard. Controls and jacks are mounted in scrap circuit board and screwed to the side of the breadboard.
Two parallel lengths of thin circuit board are used for the power and ground strips. Electrolytic caps are placed at each board power point. A bit of copper desoldering braid makes the connection between board ground plane and ground strip.
The circuit board is often double sided with the back side used as a ground plane. Holes are only drilled when a ground connection is needed.
Connections between boards are made using .025 diameter header pins soldered to pads. Wire wrap wire is used for connections between the header pins. These pins also make good test points. With SMT construction my intra-board signal lines rarely exceed half an inch. This eliminates coax cable for many connections.
I like to use eight pin op amps for my designs. These provide two stages and four poles in each package. I have a standard board layout. Using this single board, component selection allows low pass, high pass, band pass, gain, or no gain configurations. Multiple linked boards can be etched at one time and cut apart to meet individual circuit requirements.
Let me give credit to Dan Tayloe who developed the original receiver design in the NORCAL NC2030 CW transceiver. I also thank Pete Juliano, N6QW and Nick Kennedy, WA5BDU, for help with current design issues.
Bob--N7SUR--
Saturday, January 9, 2016
A Good Radio Morning at N2CQR
The Radio Gods were smiling upon me this morning. I started out on 17 meters and had three nice contacts with European stations: OH5CZ, a young fellow near Helsinki; HB8DQL; then RM2D in Moscow. FB.
Then Pete showed up on the Skype. As he has said on his blog, he is still struggling with a family medical emergency, but I am happy to report that he is coping well, making good use of his can-do project manager background and his good sense of humor. It was great to see him.
Inspired by my talk with Pete, with 40 meter AM playing in the background, I turned to my R2 FRANKENSTEIN phasing receiver. Last night I completed the 90 degree phase shift network. This is built around two quad op-amp chips and is designed to take the audio output from the two DC receivers and create a 90 degree phase difference between them. I tested this stage by sending the same audio into each set of op amps. I then put one scope probe in the output of one chain of op amps, and the other probe on the output on the other chain. Wow. Bingo. 90 degrees of phase shift across the 300 -- 3000 Hz audio spectrum.
Emboldened by this positive result, I put the completed stages together this morning. They passed the smoke test. Then I tuned to 40 meters. Wow again! As promised, opposite sideband rejection without resort to crystal filters. But as luck would have it, I ended up with a configuration that suppressed the Lower Sideband. For 40 meters, obviously I needed to suppress the other side of zero beat. But all I had to do to remedy this was to reach into the DDS box and switch the I and Q jumpers on the M0XPD/Kanga UK Arduino AD9850 shield. This switch put me on LSB. Very cool.
Here is a view from above:
The AD9850/Arduino DDS box is in the bottom center. Above that, near the center of the picture, is the board (from N6QW) with the two SBL-1 mixers and the initial AF amp stages. The small green board above that is the IC phase shift network. At the top of the picture you see the 3000 Hz low pass filter. Below that, the board with the little blue pot has an IC AF amplifier and a 300 HZ high pass filter.
I still have to build the audio amplifiers prescribed by the designer, Rick Campbell KK7B. But obviously I am already having a lot of fun with phasing. Here is the QST article on Rick Campbell's R2 receiver:
https://www.arrl.org/files/file/Technology/tis/info/pdf/9301032.pdf