Posts

Showing posts from June, 2025

Triplett !

Image
Recently I was working on a project and realized that it would have been nice to have a 2nd multimeter to measure current while the Radio Shack meter was measuring voltage.  In addition, the Radio Shack is getting creaky, previously mentioned here: https://wb9kzy.blogspot.com/2025/03/loss-of-trust.html  And finally, a customer made a kit inquiry asking about Morse weight measurement aka duty cycle.  Well it turns out that a lot of recent meters can measure both frequency AND duty cycle, nice ! I looked at the inexpensive Fluke meters which aren't cheap at over $100.  And the HP  Keysight handhelds are like twice that much.  But one name caught my eye: Triplett. https://wb9kzy.blogspot.com/2022/11/tempted-by-triplett.html   Triplett has a range of offerings but this one is about the cheapest that includes frequency and duty cycle: notice the Hz/Duty button and the Hz% rotary switch position https://www.triplett.com/products/mm350-4000-count-true-rm...

Found a bug

Image
I was considering another blog post about the Morse Dial Timer kit: http://wb9kzy.com/mordial.htm  when I realized something.  For some reason I had thought that the 16F676 PIC had 64 bytes of EEPROM.  But in reality it has 128 byes of EEPROM.  So the kit has a 60 character Morse memory when it could have been 64 characters longer or 124 in total. But that probably would drive most users crazy considering the ungainly method that is used to record the memory.  :) Still I may try changing the code (and then the docs) to make use of the upper 64 bytes - we'll see how it goes. Best Regards, Chuck, WB9KZY http://wb9kzy.com/ham.htm 

Martin Clausen, Homebrew Hero

Image
Martin Clausen created a PIC programmer back when I first started using PIC microcontrollers around the turn of the 21st century: https://web.archive.org/web/20051226170059/http://www.rotgradpsi.de/mc/picprog/picproge.html The programmer hardware was driven by a PC parallel port, remember those ?  It was a command line DOS program that could be invoked in a batch file.  I used it with my late, lamented Sharp laptop.  It was a perfect way for me to develop PIC code.  Note that this was still the bad old days of EPROM PICs so I had my trusty Walling EPROM eraser right next to my keyboard.  Crash and Burn development ?  More like Erase, Burn and then crash ! But then the Sharp met an untimely death due to a bad hard drive.  I moved on to a Thinkpad and Windows.  The PIC programmer was a PICkit which could handle the newer parts like PIC12F683 which was used for the PK-4 keyer chip.  I depopulated the Clausen Picprog: and then in 2003, built a di...

Keyall HV+ with a Heathkit SB-200

Image
A customer reported that he had trouble with his Keyall HV+ kit while trying to key a Heathkit SB-200 amp: http://wb9kzy.com/keyallhvplus.htm  The SB-200 has a 6.3 VAC filament transformer which has a grounded center tap.  This means that there isn't enough DC voltage to overcome the red LED in the Keyall HV+ circuit.  One workable solution is to replace the LED with a short circuit which allows enough voltage for the 3.3 volt regulator to function. I learn something new every day :) Best Regards, Chuck, WB9KZY http://wb9kzy.com/ham.htm 

Good News on the Internet ?

Image
This actually seems like good news: source: https://arstechnica.com/gadgets/2025/06/microsoft-extends-free-windows-10-security-updates-into-2026-with-strings-attached/  1000 Microsoft Rewards points per PC is no big deal:    Now hopefully I'll be able to keep the Windows 10 machines "on the air" for another year.  I do have pre-Windows 10 PCs that I still use for offline tasks.  They actually work better after getting rid of the security stuff, much faster boot times for one thing. Best Regards, Chuck, WB9KZY http://wb9kzy.com/ham.htm 

Booster

Image
I tried the booster circuit from yesterday: https://wb9kzy.blogspot.com/2025/06/giving-circuit-boost.html  Bottom line: it seems to work below 9 volts, so that is good. What wasn't good was that I spent a lot of time looking for the Seiko (now ABLIC) 1.5 volt regulator IC but no luck so far.  So I tried the circuit with an LM2931 3 volt LDO regulator with the same pinout as the old friend, the 78L05. Here is that boost circuit from the Onsemi LM2931 datasheet: With a 300 mA load the voltage only decreased about 2 mV from no load.  The circuit consisted of a 2n3906 PNP transistor (the complementary version of the 2n3904 NPN).  I also added a couple of .1 uF caps by the LM2931, decreased the input cap to 4.7 uF and increased the output cap to 47 uF.  Finally the 10k ohm resistor was reduced to 130 ohms (the LM2931 has a quiescent current much higher than the Seiko regulator I couldn't find).  After a while the 2n3906 became hot with an input voltage of 9V, so...

Giving a Circuit a Boost

Image
I mentioned trying to use an LDO regulator with an old Westclox wall clock: https://wb9kzy.blogspot.com/2025/05/failure.html  But a thought occurred to me: isn't there a simple circuit to "wrap" a transistor around a regulator to boost current capability ?  I found an example here - a TI app note for the TPS71501 LDO regulator: https://www.ti.com/lit/pdf/sbva015  But that idea appeared in 3 terminal regulator datasheets from years ago: also in this Onsemi datasheet for the 78xx regulators: same circuit but includes a couple more caps    But the SBVA015 Application Report explains the circuit and how it might be used.  The two MOSFET transistors can be eliminated to simplify the circuit.  But the text warns that it might not be suitable below 9V due to stability and transient response concerns.  Unfortunately that's what is wanted, the ability to stay stable (and thus use less current) for extended periods while supplying big pulses of current once...

CPO => Keying Added to LM386 Wien Bridge Audio Oscillator

Image
Made several attempts at adding keying and may have found a winner. First, using a 2n7000 MOSFET keying transistor, pin 3 of the LM386 was shorted to ground when key up which turns off the oscillator, with a capacitor on the gate the keying is shaped.  This works but might be considered too mushy, adding weight to the code elements: blue trace is the key input Second, the 2n7000 was moved to pin 7 of the LM386 to act as a mute.  It does but was thumpy, clicky and mushy, no good. Finally, the 10k ohm feedback pot was split into two resistances in series.  A 4.7k ohm resistor in series with 2.2k ohms.  Then the drain and source were connected to both terminals of the 2.2k ohm resistor (actually still a 10 turn pot).  Then since the source (and drain) are both near DC ground, when the gate of the 2n7000 transistor is raised to 9 volts the 2.2k ohm resistor is effectively shorted out.  This shorting stops the oscillator.  When the key is down the 2n7000 tr...

Thinking again about Mistakes

Image
Previously I mentioned mistakes: https://wb9kzy.blogspot.com/2025/06/mistakes.html  Thinking about it, one change occurred to me, make the text that mentions the potential problem RED, as in red alert ? Before: After: I dunno if that'll help, for whatever reason there are people who refuse to read the instructions, no matter what ! It reminds me of the map room scene in: Raiders Of The Lost Ark where Indy and the gang realize that the Nazis are digging in the wrong place because they didn't know that the staff length needed to be adjusted per the reverse side of the medallion. source: https://vignette.wikia.nocookie.net/indianajones/images/2/29/Staff_of_Ra.jpg/revision/latest?cb=20070623021844      "Take back one kadam to honor the Hebrew God, whose Ark this is."     ―Inscription on the Headpiece source: https://indianajones.fandom.com/wiki/Headpiece_to_the_Staff_of_Ra  Sometimes you need to read the info on both sides of the medal :) Best Regards, Ch...

More Changes for the LM386 Wien Bridge Audio Oscillator

Image
Continued the LM386 Wien Audio Oscillator project by making some changes.  First, changed the feedback resistance in series with the diode pair from 16k ohms (had wrongly ID'd before as 15k ohms) to 27k ohms.  This improved the waveform under heavier output loading.  Next, tried larger output caps, started with 470 uF but then went with 1000 uF.  This made a huge difference with a speaker connected directly to the LM386 output (through the 1000 uF cap).  Finally, added a 10 ohm, 2 watt carbon comp resistor as the load.  The resistor actually gets warm to the touch after a period of tone. Here are three scope caps of the low, mid and high frequency output. . . 20 kHz is where the amplitude started to decrease also see a slight glitch on the trailing positive edge Here is an updated schematic Now to get back to keying and volume control. Best Regards, Chuck, WB9KZY http://wb9kzy.com/ham.htm 

A couple simple changes fixed and enhanced the LM386 Wien Bridge Audio Oscillator but also discovered a big problem

Image
From yesterday: https://wb9kzy.blogspot.com/2025/06/lm386-wien-bridge-audio-oscillator.html  Several items from the punchlist have been solved / changed but one big problem was spotted. 1) the waveform looks "better" - accomplished by changing the feedback resistor in series with the diode pair from 10k ohms to 15k ohms.  Using the open loop feedback resistor value of 5.7k ohms, the ratio of 5700 / 410 = 13.6 which represents a gain of about 14.6 for the maximum undistorted output.  When the diodes were in the loop the resulting gain wasn't high enough to produce undistorted output ?   2) the waveform is now tuneable - I first tried a .22 uF (10x) cap in place of the .022 uF cap connected to the LM386 output along with a change of resistor value to 4.7k ohms from 51k ohms.  This did not work resulting in either noise or a noisy square wave.  Before giving up on the 10x cap idea I tried moving the .22 uF cap to between ground and pin 2 of the LM386.  Th...

LM386 Wien Bridge Audio Oscillator without a bulb

Image
Here is my first cut at the LM386 Wien osc using diodes instead of a bulb to stabilize the waveform: the resistor in the middle of the page without a value was 51k ohms, about 10x the 4.7k ohms Here is a scope picture: Visibly distorted although certainly listenable.  The circuit is very stable, the 10k ohm pot can almost function as a volume control.  There is no big bounce as the pot is adjusted as was found with the bulb stabilized Wien mentioned yesterday. I removed the diodes and ran the oscillator open loop.  The result was touchy but visibly undistorted: it looks nice but the problem is that it won't stay this way So there are some items that remain: 0) can the diode stabilization be changed to reduce distortion ?  I know the op-amp Wien Bridge oscillators stabilized with diodes have less distortion. see item 2 1) use a different stabilization circuit with less distortion than the diodes but is more stable than a light bulb (probably a JFET or MOSFET with a di...

Mistakes

Image
A "read the manual" recent blog post: https://wb9kzy.blogspot.com/2025/06/read-manual.html    I got an email from a customer with a kit problem at almost the same time as I was having trouble with something on the bench.  The customer had installed all the components on the circuit board but I suspect he never looked at the web page or any of the three pieces of documentation.  If he had checked the docs first, the diodes which burnt out (and burnt out a 2nd set as well) would NOT have been installed in the first place: I thought that the red made things clear, maybe not ? Simultaneously I was working on a Wien Bridge audio oscillator using the LM386.  I was having lots of trouble with the circuit oscillating at RF which looks like fuzz on the waveform: the lower part of the wave looks like it grew a beard of oscillation ? Finally I watched the start of a Youtube video on this circuit: . source: https://www.youtube.com/watch?v=WAIKevh38gU where he mentions the s...