Deriving The Reactance Formulas

If you’ve dealt with reactance, you surely know the two equations for computing inductive and capacitive reactance. But unless you’ve really dug into it, you may only know the formula the way a school kid knows how to find the area of a circle. You have to have a bit of higher math to figure out why the equation is what it is. [Old Hack EE] wanted to figure out why the formulas are what they are, so he dug in and shared what he learned in a video you can see below.

The key to understanding this is simple. The reactance describes the voltage over the current through the element, just like resistance. The difference is that a resistance is just a single number. A reactance is a curve that gives you a different value at different frequencies. That’s because current and voltage are out of phase through a reactance, so it isn’t as easy as just dividing.

If you know calculus, the video will make a lot of sense. If you don’t know calculus, you might have a few moments of panic, but you can make it. If you think of frequency in Hertz as cycles per second, all the 2π you find in these equations convert Hz to “radian frequency” since one cycle per second is really 360 degrees of the sine wave in one second. There are 2π radians in a circle, so it makes sense.

We love developing intuition about things that seem fundamental but have a lot of depth to them that we usually ignore. If you need a refresher or a jump start on calculus, it isn’t as hard as you probably think. Engineers usually use vectors or imaginary numbers to deal with reactance, and we’ve talked about that too, if you want to learn more.

EclairM0

EclairM0, The Pocket Notepad

Roughly the size of a Tic Tac container, this project packs a punch in a compact package. [Matt] sent in this beautifully documented pocket device that brings back great memories of texting on early cellphones.

The EclairM0’s firmware is written in TinyGo, a language he hadn’t used before but found perfect for a microcontroller project where storage space is tight. The 14-button input mimics early phone keypads, using multi-tapping and combo key presses to offer various functions. The small SSD1306 OLED display is another highlight. Building on an earlier CircuitPython project, [Matt] optimized the screen’s performance, speeding up its response time for a snappy user experience. The battery picked was only 3 mm thick, however the protection circuity on the battery added another 2 mm so he moved that protection circuity to the main PCB itself to keep it as thin as initially planned.

Weighing just 15 grams, this lightweight device runs on a SAMD21 microcontroller, which supports USB host functionality. This allows the EclairM0 to act as a keyboard, mouse, or even USB peripherals. Housed in a 3D-printed case, the entire project is open-source, with design and firmware files available on GitHub.

We love small handheld projects around here and this well-documented, fun pocket device is no exception, if you want your own he has a page dedicated to helping you build a EclairM0.

Continue reading “EclairM0, The Pocket Notepad”

Tinycorder Isn’t Quite A Tricorder, But…

The Star Trek tricorder was a good example of a McGuffin. It did anything needed to support the plot or, in some cases, couldn’t do things also in support of the plot. We know [SirGalaxy] was thinking about the tricorder when he named the Tinycorder, but the little device has a number of well-defined features. You can see a brief video of it working below the break.

The portable device has a tiny ESP32 and a battery. The 400×240 display is handy, but has low power consumption. In addition to the sensors built into the ESP32, the Tinycorder has an AS7341 light sensor, an air quality sensor, and a weather sensor. An odd combination, but like its namesake, it can do lots of unrelated things.

Continue reading “Tinycorder Isn’t Quite A Tricorder, But…”

A graph is shown of the percentage reflection of visible light as a function of wavelength. Four lines are traced on the graph, which all approximate the same shape. In the top left, two purple shapes are shown, which the spectral chart describes.

Paint Mixing Theory For Custom Filament Colors

Recycling 3D filament is a great idea in theory, and we come across homemade filament extruders with some regularity, but they do have some major downsides when it comes to colored filaments. If you try to recycle printer waste of too many different colors, you’ll probably be left with a nondescript gray or brown filament. Researchers at Western University, however, have taken advantage of this pigment mixing to create colors not found in any commercial filament (open access paper).

They started by preparing samples of 3D printed waste in eight different colors and characterizing their spectral reflectance properties with a visible-light spectrometer. They fed this information into their SpecOptiBlend program (open source, available here), which optimizes the match between a blend of filaments and a target color. The program relies on the Kubelka-Munk theory for subtractive color mixing, which is usually used to calculate the effect of mixing paints, and minimizes the difference which the human eye perceives between two colors. Once the software calculated the optimal blend, the researchers mixed the correct blend of waste plastics and extruded it as a filament which generally had a remarkably close resemblance to the target color.

In its current form, this process probably won’t be coming to consumer 3D printers anytime soon. To mix differently-colored filaments correctly, the software needs accurate measurements of their optical properties first, which requires a spectrometer. To get around this, the researchers recommend that filament manufacturers freely publish the properties of their filaments, allowing consumers to mix their filaments into any color they desire.

This reminds us of another technique that treats filaments like paint to achieve remarkable color effects. We’ve also seen a number of filament extruders before, if you’d like to try replicating this.

Supercon 2024: Sketching With Machines

When it comes to our machines, we generally have very prescribed and ordered ways of working with them. We know how to tune our CNC mill for the minimum chatter when its chewing through aluminium. We know how to get our FDM printer to lay perfect, neat layers to minimize the defects in our 3D prints.

That’s not what Blair Subbaraman came down to talk about at the 2024 Hackaday Supercon, though. Instead, Blair’s talk covered the magic that happens when you work outside the built-in assumptions and get creative. It’s all about sketching with machines.

Continue reading “Supercon 2024: Sketching With Machines”

X-Rays From An Overdriven Magnetron

If you say that you’re “nuking” something, pretty much everyone will know that you mean you’re heating something in the microwave. It’s technically incorrect, of course, as the magnetron inside the oven emits only non-ionizing radiation, and is completely incapable of generating ionizing radiation such as X-rays. Right?

Perhaps not, as these experiments with an overdriven magnetron suggest. First off, this is really something you shouldn’t try; aside from the obvious hazards that attend any attempt to generate ionizing radiation, there are risks aplenty here. First of all, modifying magnetrons as [SciTubeHD] did here is risky thanks to the toxic beryllium they contain, and the power supply he used, which features a DIY flyback transformer we recently featured, generates potentially dangerous voltages. You’ve been warned.

For the experiment, [SciTubeHD] stripped the magnets off a magnetron and connected his 40-kV AC power supply between the filament and the metal case of the tube. We’re not completely clear to us how this creates X-rays, but it appears to do so given the distinctive glow given off by an intensifying screen harvested from an old medical X-ray film cassette. The light is faint, but there’s enough to see the shadows of metallic objects like keys and PCBs positioned between the tube and the intensifying screen.

Are there any practical applications for this? Probably not, especially considering the potential risks. But it’s still pretty cool, and we’re suitably impressed that magnetrons can be repurposed like this.

Continue reading “X-Rays From An Overdriven Magnetron”

Life On K2-18b? Don’t Get Your Hopes Up Just Yet

Last week, the mainstream news was filled with headlines about K2-18b — an exoplanet some 124 light-years away from Earth that 98% of the population had never even heard about. Even astronomers weren’t aware of its existence until the Kepler Space Telescope picked it out back in 2015, just one of the more than 2,700 planets the now defunct observatory was able to identify during its storied career. But now, thanks to recent observations by the James Web Space Telescope, this obscure planet has been thrust into the limelight by the discovery of what researchers believe are the telltale signs of life in its atmosphere.

Artist’s rendition of planet K2-18b.

Well, maybe. As you might imagine, being able to determine if a planet has life on it from 124 light-years away isn’t exactly easy. We haven’t even been able to conclusively rule out past, or even present, life in our very own solar system, which in astronomical terms is about as far off as the end of your block.

To be fair the University of Cambridge’s Institute of Astronomy researchers, lead by Nikku Madhusudhan, aren’t claiming to have definitive proof that life exists on K2-18b. We probably won’t get undeniable proof of life on another planet until a rover literally runs over it. Rather, their paper proposes that abundant biological life, potentially some form of marine phytoplankton, is one of the strongest explanations for the concentrations of dimethyl sulfide and dimethyl disulfide that they’ve detected in the atmosphere of K2-18b.

As you might expect, there are already challenges to that conclusion. Which is of course exactly how the scientific process is supposed to work. Though the findings from Cambridge are certainly compelling, adding just a bit of context can show that things aren’t as cut and dried as we might like. There’s even an argument to be made that we wouldn’t necessarily know what the signs of extraterrestrial life would look like even if it was right in front of us.

Continue reading “Life On K2-18b? Don’t Get Your Hopes Up Just Yet”