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”

A Bit More Than A Microphone: The Electret Story

When designing a microphone assembly the other day, I reached for an electret condenser microphone capsule without thinking. To be strictly accurate I ordered a pack of them, these small cylindrical microphones are of extremely high quality for their relatively tiny price.

It was only upon submitting the order that I had a thought for the first time in my life: Just what IS an electret condenser microphone?

A condenser microphone is easy enough to explain. It’s a capacitor formed from a very thin conductive sheet that functions as the diaphragm, mounted in front of another conductor, usually a piece of mesh. Sound waves cause the diaphragm to vibrate, and these vibrations change the capacitance between diaphragm and mesh.

If that capacitance is incorporated into an RC circuit with a very high impedance and a high voltage is applied, a near constant charge is placed upon it. Since the charge stays constant, changing the capacitance causes a tiny voltage fluctuation that can be retrieved as the audio signal from the microphone. Condenser microphones built in this way can be extremely high quality, but come at the expense of needing a high voltage power supply to supply the charge and an amplifier to buffer and magnify the audio.

Continue reading “A Bit More Than A Microphone: The Electret Story”

Creality CR10-S Upgrade Shows The Effect Of Bad Power

The Creality CR10-S is a printer that has become quite popular, and is not an uncommon sight in a hackspace or makerspace. Some models have a slight defect, a smoothing capacitor is of insufficient size, resulting in reduced print quality. [Jozerworx] has replaced the capacitor, and posted a full guide as to how the task can be performed.

Hackaday readers will have among their number many for whom replacing a surface mount electrolytic is no bother at all, indeed we’d expect most 3D printer owners to be able to perform the task. Maybe that the post has such an extensive FAQ and seems to be aimed at newbies to soldering points to 3D printing having moved to a wider market. But it has to be remembered that the value in this piece is not in the work, but in the characterisation. At the end he posts graphs showing the effect of the modification on the temperature of the extruder, and on the temperature noise brought about by the poor capacitor choice. A reduction from a +/- 3 Celcius variation to one of around +- 0.1 Celcius may not seem like much, but it seems it has a significant effect on the reliability of the printer.

So this isn’t the most elite of hacks, on a printer heading for a wider marketplace. But it serves to illustrate that bad quality power regulation can have some surprising effects. It seems every new printer comes with a list of community-developed mods to make it usable, perhaps one day we’ll find a printer that’s at peak performance out-of-the-box.

DIY Capacitive Rotational Encoder On The Cheap With FR4

Rotary encoders are critical to many applications, even at the hobbyist level. While considering his own rotary encoding needs for upcoming projects, it occurred to [Jan Mrázek] to try making his own DIY capacitive rotary encoder. If successful, such an encoder could be cheap and very fast; it could also in part be made directly on a PCB.

First prototype, two etched plates with transparent tape as dielectric material. Disc is 15 mm in diameter.

The encoder design [Jan] settled on was to make a simple adjustable plate capacitor using PCB elements with transparent tape as the dielectric material. This was used as the timing element for a 555 timer in astable mode. A 555 in this configuration therefore generates a square wave that changes in proportion to how much the plates in the simple capacitor overlap. Turn the plate, and the square wave’s period changes in response. Response time would be fast, and a 555 and some PCB space is certainly cheap materials-wise.

The first prototype gave positive results but had a lot of problems, including noise and possibly a sensitivity to temperature and humidity. The second attempt refined the design and had much better results, with an ESP32 reliably reading 140 discrete positions at a rate of 100 kHz. It seems that there is a tradeoff between resolution and speed; lowering the rate allows more positions to be reliably detected. There are still issues, but ultimately [Jan] feels that high-speed capacitive encoders requiring little more than some PCB real estate and some 555s are probably feasible.

This project is a reminder that FR4 (whether copper-clad, etched, or blank) shows up in clever applications: copper tape and blank FR4 can be used to quickly prototype RF filters, PocketNC built an entire small CNC tool around FR4, and our own [Voja] wrote a full guide on making beautiful enclosures from FR4.

Semi-Automatic Rail Gun Is A Laptop Killer

It’s huge, it’s unwieldy, and it takes 45 seconds to shoot all three rounds in its magazine. But it’s a legitimate semi-automatic railgun, and it’s pretty awesome.

Yes, it has its limits, but every new technology does, especially totally home-brew builds like this. The aptly named [NSA_listbot] has been putting a lot of work into his railgun, and this is but the most recent product of an iterative design cycle.

The principle is similar to other railguns we’ve featured before, which accelerate projectiles using rapidly pulsed electromagnets. The features list in the video below reads like a spec for a top-secret military project: field-augmented circular bore, 4.5kJ capacitor bank, and a custom Arduino Nano that’s hardened against the huge electromagnetic pulse (EMP) generated by the coils. But the interesting bits are in the mechanical design, which had to depart from standard firearms designs to handle the caseless 6 mm projectiles. The resulting receiver and magazines are entirely 3D printed. Although it packs a wallop, its cyclic rate of fire is painfully slow. We expect that’ll improve as battery and capacitor technology catches up, though.

Want to check out some more railgun builds? We’ve got them in spades — from one with $50,000 worth of caps to a wrist-mounted web-slinger.

Continue reading “Semi-Automatic Rail Gun Is A Laptop Killer”

Flux Capacitor Prop With Christopher Lloyd’s Stamp Of Approval

We love our props here at Hackaday, and whenever we come across a piece from the Back To The Future fandom, it’s hard to resist showcasing it. In this case, [Xyster101] is showing of his build of Doc Brown’s Flux Capacitor.

[Xyster101] opted for a plywood case — much more economical than the $125 it would have cost him for a proper electrical box. Inside, there’s some clever workarounds to make this look as close as possible to the original. Acrylic rods and spheres were shaped and glued together to replicate the trinity of glass tubes, 3/4″ plywood cut by a hole saw mimicked the solenoids, steel rods were sanded down for the trio of points in the centre of the device and the spark plug wires and banana connectors aren’t functional, but complete the look. Including paint, soldering and copious use of hot glue to hold everything in place, the build phase took about thirty hours.

The LEDs have multiple modes, controlled by DIP switches hidden under a pipe on the side of the box. There’s also motion sensor on the bottom of the case that triggers the LEDs to flicker when you walk by. And, if you want to take your time-travel to-go, there’s a nine volt plug to let you show it off wherever — or whenever — you’re traveling to. Check out the build video after the break.

Continue reading “Flux Capacitor Prop With Christopher Lloyd’s Stamp Of Approval”

Boost Converter Functionality At Rock-Bottom Prices

Linear voltage regulators are pretty easy to throw into a project if something in it needs a specific voltage that’s lower than the supply. If it needs a higher voltage, it’s almost just as easy to grab a boost converter of some sort to satisfy the power requirements. But if you’re on a mission to save some money for a large production run, or you just like the challenge of building something as simply as possible, there are ways of getting voltages greater than the supply voltage without using anything as non-minimalistic as a boost converter. [Josh] shows us exactly how this can be done using a circuit known as a charge pump to drive a blue LED.

One of the cool things about AVR microcontrollers is that they can run easily on a coin cell battery and source enough current to drive LEDs directly from the output pins. Obviously enough, if the LED voltage is greater than the voltage of the power supply, this won’t work. That is, unless you have a spare diode and capacitor around to build a charge pump.

The negative charge pump works by charging up a capacitor that is connected to an AVR pin, with the other side between the LED and a garden-variety diode to ground. That results in a roughly (VCC – 0.7) volt difference across the capacitor’s plates. When the AVR pin goes low, the other side of the capacitor goes negative by this same amount, and this makes the voltage across the LED high enough to light up. Not only is this simpler than a boost converter, but it doesn’t need any bulky inductors to work properly.

Will this work for any load? Am I going to start any fires by overdriving the LED? Luckily, [josh] answers all of these questions and more on the project page, and goes into some detail on the circuit theory as well. Granted, the charge pump doesn’t have the fine control over the power supply that you can get out of a buck or boost converter (or any switch-mode power supply). But it does have good bang-for-the-buck.