Bandpass Filters From The CNC Mill

A bandpass allows a certain electrical signal to pass while filtering out undesirable frequencies. In a speaker bandpass, the mid-range speaker doesn’t receive tones meant for the tweeter or woofer. Most of the time, this filtering is done with capacitors to remove low frequencies and inductors to remove high frequencies. In radio, the same concept applies except the frequencies are usually much higher. [The Thought Emporium] is concerned with signals above 300MHz and in this range, a unique type of filter becomes an option. The microstrip filter ignores the typical installation of passive components and uses the copper planes of an unetched circuit board as the elements.

A nice analogy is drawn in the video, which can also be seen after the break, where the copper shapes are compared to the music tuning forks they resemble. The elegance of these filters is their simplicity, repeatability, and reproducability. In the video, they are formed on a CNC mill but any reliable PCB manufacturing process should yield beautiful results. At the size these are made, it would be possible to fit these filters on a business card or a conference badge.

Continue reading “Bandpass Filters From The CNC Mill”

These Capacitors Are A Cheap Gimmick

If you search through an electrical engineering textbook, you probably aren’t going to find the phrase “gimmick capacitor” but every old ham radio operator knows about them. They come in handy when you need a very small capacitor of unknown value. For example, if you are trying to balance the stray capacitance in a circuit, you might not know exactly what value you need, but you know it won’t be very much. That’s when you want a gimmick capacitor.

A gimmick capacitor is made by taking two strands of insulated wire and twisting them together; the length and the tightness of the twist determine the capacitance. Tightening or loosening the twist, or trimming some of the wire off, makes it tunable.

These are most commonly found in RF equipment or high-speed logic because of the small capacitance involved — usually about 1 to 2 pF per inch of twist or so. The thicker the insulation, the less capacitance you’ll get, so it is common to use magnet wire or something else with a thin insulating layer. You can take this one step further and decrease the spacing by stripping down one wire as long as it isn’t going to touch anything else.

Obviously, the insulation needs to be good enough for the voltage on them, an important consideration in tube circuits, for instance. But other than that, a gimmick capacitor is a straightforward tool to have in your box of design tricks. Can we take this further? Continue reading “These Capacitors Are A Cheap Gimmick”

Silicon Bugs In The FTDI FT232R, And A Tidy RF VCO Project

[Scott Harden] wrote in to tell us of some success he’s having using the FT232 chip to speak SPI directly from his laptop to a AD98850 digital signal generator. At least that was his destination. But as so often in life, more than half the fun was getting there, finding some still-unsolved silicon bugs, and (after simply swapping chips for one that works) potting it with hot glue, putting it in a nice box, and putting it up on the shelf.

In principle, the FTDI FT232 series of chips has a bit-bang mode that allows you to control the individual pins from a fairly simple API on your target computer, using their drivers and without installing anything on basically any platform. We wrote this feature up way back in 2009, and [Scott] was asking himself why he doesn’t see more hacks taking advantage of bit-bang mode.

“Square” waves

Then he answered his own question the hard way, by spending hours “debugging” his code until he stumbled on the FTDI errata note (PDF), where they admit that bit-bang mode doesn’t get timings right at all on the FT232R and FT232RL parts. FTDI has made claims that they fixed the bug in subsequent chip revisions, but the community has not been able to confirm it. If you want to use bit-bang mode, which is plenty cool, steer clear of the FT232R chips — the ones found in the ever-popular FTDI cables and many adapter dongles.

The good news here is twofold. First, now you know. Second, bit-bang mode is tremendously useful and it works with other chips from the vendor. Particularly, the FT232H and FT230X chips work just fine, among others. And [Scott] got his command-line controlled digital VCO up and running. All’s well that ends well?

We’ll wrap up with questions for the comment section. Do other manufacturers’ cheap USB-serial chips have an easily accessible bit-bang mode? Are any of you using USB bit-bang anyway? If so, what for?

Understanding A MOSFET Mixer

A mixer takes two signals and mixes them together. The resulting output is usually both frequencies, plus their sum and their difference. For example, if you feed a 5 MHz signal and a 20 MHz signal, you’d get outputs at 5 MHz, 15 MHz, 20 MHz, and 25 MHz. In a balanced mixer, the original frequencies cancel out, although not all mixers do that or, at least, don’t do it perfectly. [W1GV] has a video that explains the design of a mixer with a dual gate MOSFET, that you can see below.

The dual gate MOSFET is nearly ideal for this application with two separate gates that have effectively infinite input impedance. [Stan] takes you through the basic circuit and explains the operation in whiteboard fashion.

Continue reading “Understanding A MOSFET Mixer”

A Guide To Audio Amps For Radio Builders

For hams who build their own radios, mastering the black art of radio frequency electronics is a necessary first step to getting on the air. But if voice transmissions are a goal, some level of mastery of the audio frequency side of the equation is needed as well. If your signal is clipped and distorted, the ham on the other side will have trouble hearing you, and if your receive audio is poor, good luck digging a weak signal out of the weeds.

Hams often give short shrift to the audio in their homebrew transceivers, and [Vasily Ivanenko] wants to change that with this comprehensive guide to audio amplifiers for the ham. He knows whereof he speaks; one of his other hobbies is jazz guitar and amplifiers, and it really shows in the variety of amps he discusses and the theory behind them. He describes a number of amps that perform well and are easy to build. Most of them are based on discrete transistors — many, many transistors — but he does provide some op amp designs and even a design for the venerable LM386, which he generally decries as the easy way out unless it’s optimized. He also goes into a great deal of detail on building AF oscillators and good filters with low harmonics for testing amps. We especially like the tip about using the FFT function of an oscilloscope and a signal generator to estimate total harmonic distortion.

The whole article is really worth a read, and applying some of these tips will help everyone do a better job designing audio amps, not just the hams. And if building amps from discrete transistors has you baffled, start with the basics: [Jenny]’s excellent Biasing That Transistor series.

[via Dangerous Prototypes]

VCF East 2018: SDR On The Altair 8800

You’d be forgiven if you thought software defined radio (SDR) was a relatively recent discovery. After all, few outside of the hardcore amateur radio circles were even familiar with the concept until it was discovered that cheap USB TV tuners could be used as fairly decent receivers from a few hundred MHz all the way up into the GHz range. The advent of the RTL-SDR project in 2012 brought the cost of entry level SDR hardware from hundreds of dollars to tens of dollars effectively overnight. Today there’s more hackers cruising the airwaves via software trickery than there’s ever been before.

Continue reading “VCF East 2018: SDR On The Altair 8800”

Restoring A 1930s Oscilloscope – Without Supplying Power

We’ve all done it: after happening across a vintage piece of equipment and bounding to the test bench, eager to see if it works, it gets plugged in, the power switch flipped, but… nothing. [Mr Carlson] explains why this is such a bad idea, and accompanies it with more key knowledge for a successful restoration – this time revitalising a tiny oscilloscope from the 1930s.

Resisting the temptation to immediately power on old equipment is often essential to any hope of seeing it work again. [Mr Carlson] explains why you should ensure any degraded components are fixed or replaced before flipping the switch, knowing that a shorted/leaking capacitor is more than likely to damage other components if power is applied.

The oscilloscope he is restoring is a beautiful find. Originally used by radio operators to monitor the audio they were transmitting, it features a one inch CRT and tube rectification, in a tight form factor.

[Mr Carlson] uses his capacitor leakage tester to determine if the main filter capacitor needs replacing – it does, no surprises there – as well as confirming the presence of capacitors potted into the power transformer itself. These have the potential to not only derail the restoration, but also cause a safety hazard through leakage to the chassis.

After replacing and rewiring everything that’s relevant, the scope is hooked up to an isolation transformer, and it works first time – showing the value of a full investigation before power-up. [Mr Carlson] quips, “It really doesn’t have a choice; when it’s on this bench, it’s going to work again”, a quote which will no doubt resonate with Hackaday readers.

[Mr Carlson] promises to integrate the scope into a new piece of test equipment in the near future, but in the meantime you can read about his soldering station VFD mod, or his walk-in AM radio transmitter.

Continue reading “Restoring A 1930s Oscilloscope – Without Supplying Power”