![]() |
| Java on the S-38E Tuning Dial |
SolderSmoke Podcast #220 is available
SolderSmoke Daily News — Ham Radio Blog
Serving the worldwide community of radio-electronic homebrewers. Providing blog support to the SolderSmoke podcast: http://soldersmoke.com
![]() |
| Java on the S-38E Tuning Dial |
SolderSmoke Podcast #220 is available
It is people like Jeremy Cook who will save us from total domination by DDS and PLL “oscillators” and their whimpy little “rotary encoders.”
8 Bit Guy does a great job de-mystifying the LCD displays that we have been using.
Bill and Pete:
Of course, I love it. MOSFETS! NE602’s! 10.7 Mc IF cans! Cycles, not hertz! And a Tayloe Quadrature Sampling Detector made from junkbox parts from the Reagan administration. FB Keith. And the frequency display is icing on the cake.
Bill:
I thought the group might find my new Franken-SDR interesting.
It is an SDR with a superhet front end.
I wanted to play with an SDR but I didn’t want to get a kit or buy
parts, so I scrounged through he drawers and found a mux chip
cd-4016 circa-1980 some old 7400 logic that is probably per-1980.
This could make a QSD but only very low frequencies. Well I thought
how about at IF frequencies?
The frontend is a MOSFET mixer (1975) , the 10.7 IF is a dual gate MOSFET
(1975), the second mixer is a NE602, the IF cans are all stagger tuned to
give a bandwidth of 50kcs.
The only thing modern is the DDS but I old-time-ifyed it with BCD switches.
Keith N6ORS
That’s the one I’m using. Less than 1 inch on each side. No back light. 8 bucks shipped:
https://www.amazon.com/gp/product/B00KRZY7PW/ref=oh_aui_detailpage_o07_s00?ie=UTF8&psc=1
Here is a thorough description of the technology:
https://en.wikipedia.org/wiki/OLED
This is from 2014, but I stumbled upon Wayne Burdick’s article just this morning. Great stuff. That picture of Wes had a big impact on many of us.
Wayne’s article:
http://www.elecraft.com/KX1/N6KR_KX1_History.html
Jerry AA6KI sent me a nice website about radio hero E. Howard Armstrong. It contained an image that seemed to cry out for a meme. I couldn’t resist.
I am having a lot of fun with Farhan’s new BITX 40 Module. I think I’m doing exactly what Farhan intended people to do with this rig: work on it, modify it, improve it.
I’ve been working on frequency stability. I was, I admit, skeptical from the start about the stability of a thumb-sized, SMD, varactor-tuned VFO with a ferrite or iron powder toroidal coil. Don’t get me wrong — it worked. But it drifted. It seems to me that it would be asking too much to expect a VFO like this to be drift-free. (But I may be wrong — are there any SMD, varactor-tuned VFOs out there that DON’T drift?)
First I thought it might be the 9 uH metallic core toroid. So I replaced that with a 10uH choke — no ferrite or iron powder in there. That seemed to help a bit, but SSB QSOs would still quickly drift into Donald Duck chatter. Then I thought it might be the varactor diode. I let it warm up. A lot. Still, it drifted. Then I thought it might be the trimmer cap, so I took it off the board. No change. During this process I noticed that even slight pressure on the board caused the rig to shift frequency. I began to suspect that the drift was just structural — a consequence of the physical characteristics of the SMD parts and the board. To get VFOs stable I’ve had to build them big: 10 X 10pf NP0 caps to make one 100 pf cap, large air-core coils, and big sturdy variable caps. I’d isolate the frequency determining elements in a box separate from the powered components. This little VFO just looked too small to be stable.
So faced with drift, at first I asked myself, “What would Pete do?” I took an AD9850/Arduino combination off the shelf and plugged the output into the “DDS” jack Farhan had placed on the board. I removed the 10uH choke. Viola! With the DDS tuned to 4.7 – 5 MHz, the receiver worked great. I briefly tried to updated the Arduino code to take into account the 12 MHz IF (so I could get an accurate frequency readout), but ran into the old painful Arduino IDE problems: Now it is claiming there are library problems. Not wanting to suffer through another round of digi-agony, I left well-enough alone. I used the DDS with the old code for one day.
But of course, I was not satisfied. Attaching a DDS or PLL synthesizer to the BITX 40 Module just didn’t seem right. Heck, it was kind of like just hooking up my FeelTech Chinese sig gen to the DDS jack. Farhan’s rig is simple, beautiful and ANALOG. The parts are small, but you can see them. You can put your scope probe on the collector of Q7 and see what is going on. DDS or PLL. It is a REAL HARDWARE-DEFINED RIG. So I decided to build a VFO. Pete calls VFO’s “grief machines” but for me, the grief machines are those little Arduino beasts. To each his own.
When I build a VFO, I start with the variable capacitor and the reduction drive. I found a nice one (with reduction drive) in my junk box. I tunes from 40 pf to 56 pf. I decided to use the super-simple Hartley circuit presented by Wes Hayward W7ZOI in SSDRA (page 34, fig 7).
I went with a 4.4 uH air core coil (wound on a cardboard tube from a coat hanger). Consultation with on-line resonant frequency calculators showed that I’d need to put about 180 pf in parallel with the variable cap. For this, I used a bunch (maybe 10?) of small value NP0 caps in parallel. This really helps keep the VFO stable.
As I did with my HROish receiver, I put the coil and the caps in one box, with the MPF-102 and associated parts in an attached Altoids tin. Everything was glued and bolted down very solidly.
I only built the actual oscillator stage — I decided to use the buffer amps on Farhan’s board.
The oscillator started right up. I had to add and then take away some turns on the coil to get it to run in the desired range. Then I plugged it into the DDS jack — the receiver was working immediately.
I noticed, however, that it seemed a bit less sensitive than it had been with the AD9850 DDS. And when I grabbed the wire going into the DDS connector, audio output jumped dramatically. It took me a few minutes to figure that out: I think the output from my VFO was not adequately turning on the diodes in the diode ring. When I grabbed the wire, I was putting a lot of noise into the mixer port, probably turning the diodes more fully on (but also letting a lot of noise through).
Fixing this problem part was fun: Looking at the BITX 40 schematic, I saw that the two 1000pf feedback caps in the original oscillator were still in the circuit. I figured those caps would be sending a lot of my VFO energy to ground. So I fired up my hot air rework station and deftly removed C91, the 1000 pf cap that is connected to the base of Q9. Instantly the receiver started inhaling as it had with the DDS VFO. That was a very satisfying fix.
This whole VFO project was very satisfying. It was all done in one day, and all the parts came out of my junk box. I think I ended up with an LO frequency source that matches up in a pleasing way with the analog circuitry in Farhan’s rig. And here is bonus that I think is just what Farhan had in mind: this kind of circuit adds a definite homebrew element to the module rig.
I found that this external VFO improved stability significantly. I don’t know if it is as stable as the DDS, but with the external VFO the receiver no longer drifts away as I listen to SSB signals.
The LBS project of Pete and Ben continues to inspire homebrewers all around the world. Check out the video of GW4ZUA’s version. Peter GW4ZUA writes:
Hi Pete,
Thank you for your kind words,
I suppose it started with a knob and a pointer to know (guess) where you were on the band, probably most radio builders did the same, and some still do, but as long as it worked you were very satisfied, what a marvelous feeling when you switch on and those electronic components do their job and deliver the goods……amazing.
So time moves on you get better at building and technology gives you a hand, LCD displays, homebrew frequency counters,cheap components, wow now you Know where you are on the band.
Then I saw your rig with a colour display and DDS “I gotta get me one of these.”
I watched most of your videos, Your “easy going, down to earth manner” made it look easy to do.
I love the internet, without it I’d probably still be using knobs and pointers, there are is a wealth of knowledge available to those lucky enough to have access. I also love email, as you can now contact people who are willing to share their projects and give advice.
So the LBS well it certainly works, so few parts but they are all eager to please, with the display (did I mention the display) it is a project you can be proud of.
A big thank you to you and Ben for the project,
I don’t know if it will ever go in a box as I just love to look at it and I’m amazed at what comes out of the speaker.
Regards to you all……….
73’s for now. ………..Peter (GW4ZUA)
————————
As is well known, I’m more of a knob and pointer guy myself, but I understand the attractions and advantages of the glowing numerals. And I definitely sympathize with Peter’s comment about the beauty of an in-boxed rig.
Feb 10 at 7:40 AM
Hi Bill and Pete,
My work is closed today due to the snow so I wanted to show you what I’ve been up to.
I built sort of a test fixture a while back for those cheapie EBay AD9850 boards based on AD7C’s DDS circuit using an Arduino Uno as a controller.
Last summer someone posted a link to Analog Devices App note AN-423 on QRP-Tech I think.
It was always on my list of things to try.
Armed with a schematic of the eBay DDS gleaned from Doug Pongrance’s website, I got to work. It involved cutting a trace or two on the DDS board using an X-Acto knife.
Two outputs of the DDS chip are fed into a wideband transformer as in the app note’s second page and I hung a scope probe off the secondary of the transformer.
Basically you are removing the Rset resistor on the DDS board (marked R6 on mine) and using a 2N7000 MOSFET as an electronic version variable resistor and modulating the MOSFET.
This lead to much frustration over the afternoon. No output on the scope!! Did I make an error or connect something up wrong? I was using the 600 ohm output of my HP652A audio generator. I thought about it during lunch and decided to try the 50 ohm output. Bingo!! At the 3V RMS range setting on the generator I now have some kind of signal. Not a nice sine wave shaped AM output but at least something resembling a clipped sine wave. The circuit is really touchy as far as needing a hefty audio signal in. The output of my iPhone at max volume doesn’t turn on the DDS chip.
I set the DDS for 1200 kHz and can listen to it on a Radio Shack portable radio. Varying the audio generator varies the received tone on the radio just like I was expecting.
I just need to figure out what’s up with the audio levels.
Chris
KD4PBJ
Thanks for all the comments and advice. I have come to understand the wisdom of divide by 4 IQ circuits.
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.
Fresh from a great success with the use of the M0XPD divide by 4 I and Q VFO in my Frankenstein Phasing Receiver, I got ambitious. And greedy. I wanted more. More frequency coverage. More bands. Divide by 4 can really limit your frequency range. The AD9850 only goes up to 40 MHz. Divide by 4 and you can’t even get the 30 meter band.
So I started looking at other options. Si570 looked nice, but here the lower limit was the problem: 10 MHz. Even with divide by 4, that knocks out 160 meters, a band I am very interested in lately, and that seems to sound especially good in a direct conversion receiver.
Once again, the controversial Si5351 was calling my name. It would go down to 8 kHz and up to 160 Mhz. Woo Hoo! If I could build a divide by 2 IQ VFO, I could cover 160-6 meters.
Here is the basic idea. From:
http://www.markimicrowave.com/blog/2015/04/top-7-ways-to-create-a-quadrature-90-phase-shift/
The Flip Flops are set up to change state when the input signal is going up. By putting an inverter at the input of the bottom FF input, in effect you have that one changing state when the input signal is going down. Look at this for a minute or so. Look at the square waves at the bottom. See it? See how it takes an ordinary signal and spits out two signals, one 90 degrees off the other? Pretty cool, don’t you think?
With lots of hardware help from Todd VE7BPO, and software help from Tom AK2B (wizards both), I got my Si5351 divide by 2 circuit working today. You can see the resulting I and Q in the picture at the top. But I am discovering that there may have been wisdom behind those divide by 4 circuits. My opposite sideband suppression isn’t as good with this /2 scheme as it was with the AD9850 divide by 4. I’m still trying to figure out why. I may have to go back to divide by 4. Stay tuned.
I’ve wanted to change the VFO in my R2 phasing receiver. The AD9850 DDS VFO with a divide by 4 I-Q generator limited me to 160, 80 and 40 meters. But an Si5351 chip will go up to 160 MHz. With a divide by 2 I-Q generator, this should allow me to cover 160 through 6 meters. I got the Arduino, LCD and rotary encoder all working tonight. Thanks to Thomas LA3PNA for the code, and to Tom AK2B for help with the Arduino. The Si5351 board that you see sitting atop the Arduino is the work of Dean AC9JQ. Thanks Dean.
The flip-flop and inverter IC’s should arrive this week. That will allow me to finish up this VFO conversion project.
As I was struggling through this, someone — who will remain nameless — told me that because of all the technical problems resulting from the many Arduino IDE “upgrades,” suicide prevention hotlines now answer all calls with an automated question: “If you are calling about an Arduino problem, press 1 for assistance.”
It got pretty ugly but with the help of Tom up in NYC I managed to get through it. First he convinced me that it is indeed POSSIBLE to upload the latest version of the IDE — the dreaded 1.6.7. I just had to REALLY get rid of earlier versions. This got me past the horrible Bundled Java Runtime Environment problem (who thinks up these names?).
We then worked with the libraries needed to upload the AD9850 code of Richard AD7C. You see, I work on Arduino stuff. Then I stop. 18 months pass. I forget all I learned. Then I start over. The pain begins again. In an effort to break this cycle, I am now taking notes (in the inside cover of Mario Banzi’s book).
I am using the AD9850 with a Kanga Arduino shield designed by Paul M0XPD. It takes the AD9850 output, divides by 4 and puts it out as 2 square waves in quadrature. I use this with my R2 phasing receiver. The problem was that the display on the Arduino showed a freq 4 times the actual tuning freq. Believe me, this gets old fast. I considered just getting a San Jian freq counter and supergluing it on the top of the DDS box. I was going to connect this to the square wave output. That would have given me one readout with the actual receive freq, and another (on the Arduino) showing the (4X) freq coming out of the AD9850. But that would have been too much of a Kludge. Tom talked me out of it and modified the code so that the Arduino display shows the actual receive freq. Thanks Tom.
Armed with the new IDE and with my knowledge of Arduino basics refreshed, I was able to reload the LA3PNA Si5351 code into my 40 meter DIGI-TIA. But not before having to swap out the Arduino that drives the Si5351. One Arduino happily accepted the code, another did not. Why? Who knows? It is a digital mystery. Those little 1s and 0s are fickle you know.
The Radio Gods rewarded me for all this. At about 5:45 AM today I was listening to a very friendly SSB roundtable on 160. The guys were getting ready to sign off. The last one ended the conversation by asking the others to “Be kind. Smile at your neighbors.” Nice.
Then WFAX AM started the broadcast day at 6 am, wiping out my 160 meter reception. Next project: High-Pass filter at 1.7 MHz.
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
