Optical Theremin Makes Eerie Audio With Few Parts

[Fearless Night]’s optical theremin project takes advantage of the kind of highly-integrated parts that are available to the modern hacker and hobbyist in all the right ways. The result is a compact instrument with software that can be modified using the Arduino IDE to take it places the original Theremin design could never go.

The design is based on a ‘Blue Pill’ STM32 MCU development board and two Avago APDS-9960 gesture sensor breakout boards, along with a few other supporting components. Where the original Theremin sensed hand proximity using two antenna-like capacitive sensors to control note frequency and volume, this design relies on two optical sensors to do the same job.

[Fearless Night] provides downloads for the schematic, code, parts list, and even 3D models for the enclosure. PCB files are also included for a convenient assembly, but since the component count is fairly low, a patient hacker should be able to get away with soldering it up by hand without much trouble.

This project creates the audio using the STM32’s Direct Digital Synthesis (DDS) capability and a simple low-pass filter, and has several ways to fine-tune the output. What’s DDS? Our own Elliot Williams explains it in terms of audio output for microcontrollers, and if you’d like a more comprehensive overview, Bil Herd will happily tell you all about it.

Laptop Gets Fixed By Simply Removing Problem Component

We wouldn’t go so far as to say “don’t try this at home”, but the way [Troy] brought an expensive (but out of warranty) laptop back to life is interesting, even if it shouldn’t be anyone’s Plan A for repair work.

It started with a friend’s Alienware laptop that would only boot to a black screen and get very hot in the process. With the help of a thermal imaging camera and some schematics, [Troy] was able to see that one of the closely-spaced MOSFETs in the power supply appeared to be the culprit. Swapping the power MOSFETs out with replacements seemed a reasonable approach, so armed with a hot air rework station he got to work. But that’s where problems began.

The desoldering process was far from clean, in part because the laptop’s multi-layer PCB had excellent thermal management, sucking away heat nearly as fast as [Troy]’s hot air gun could lay it down. It ended up being a messy slog of a job that damaged some of the pads. As a result, the prospects of soldering on a replacement was not looking good. But reviewing the schematic and pondering the situation gave [Troy] an idea.

An open laptop showing a diagnostic tool on the screen
One expensive laptop, brought back to service.

According to the schematic, the two MOSFETs (at least one of which was faulty) had parallel counterparts on the other side of the board. This is typically done to increase capacity and spread the thermal load somewhat. However, according to the current calculations on the schematic, these parts are expected to handle about 20 A in total, but the datasheets show that each of the MOSFETs could handle that kind of current easily (as long as heat sinking could keep up.) In theory, the laptop didn’t need the extra capacity.

Could the laptop “just work” now that the faulty part had simply been removed? [Troy] and his friend [Mike] were willing to give it a shot, so after cleaning up the mess as best they could, they powered the laptop on, and to their mild surprise, everything worked! Some stress testing with intensive gaming showed that the thermal problems were a thing of the past.

Simply removing a part may not be the best overall repair strategy, but much like shrinking a hot air rework station by simply cutting it in half, it’s hard to argue with results.

Trigger assembly for PS5 controller in palm of hand

How The PS5’s Genuinely Clever Adaptive Triggers Work

Sony’s Playstation 5 console and its DualSense controllers aren’t exactly new, but the triggers of the controllers have a genuinely interesting design that is worth examining. The analog triggers on the PS5 controllers are generally described as having “variable resistance”, but it turns out that’s not the whole story. Not only is the trigger capable of variable resistance when being pressed, but it can also push back in variable ways and with varying amounts of force. How it works is pretty clever.

Trigger assembly being moved in palm of handThe feedback for the trigger assembly is handled by a lever, a geared wheel, and a worm gear on an electric motor. Under normal circumstances, nothing interferes with the trigger at all and it works like a normal analog trigger. But when the motor moves the lever into place, trigger movement now has to overcome the added interference with a mechanical disadvantage. The amount of resistance felt can be increased a surprising amount by having the motor actively apply additional force to counter the trigger’s movement.

That’s not all, either. The motor can also actively move the lever into (or out of) position, which means that pulling the trigger not only has the ability to feel smooth, mushy, or stiff in different places, but it can also actively push back. This feedback can be introduced (or removed) at any arbitrary point along the trigger’s range of motion. A trigger pull can therefore feel like it has a sharp breakpoint, a rough travel, a hard stop, an active recoil, or any combination of those at any time.

It’s a little hard to describe, but you can get a better idea of it all works in practice by watching part of this teardown by [TronicsFix] (video cued to about 9:17 where the trigger teardown begins.) It’s also embedded below, so give it a peek.

A small amount of force applied in the right place can produce outsized results, but a force feedback project doesn’t have to be subtle. One can always shake things up by mounting a whole bunch of solenoids onto a mouse.

Continue reading “How The PS5’s Genuinely Clever Adaptive Triggers Work”

Two hands on a book labeled "hardware crowdfunding"

Successfully Crowdfunded Hardware: Everything Behind The Scenes

Crowdfunding hardware has its own unique challenges, and [Uri Shaked] wrote a fascinating report that goes into excellent detail about his experience bringing a crowdfunded hardware project to life.

A skull-shaped PCB with two red eyes[Uri]’s project was The Skull CTF, an electronic hardware puzzle that came in the shape of a PCB skull, and his detailed look behind the scenes covers just about every angle, from original concept to final wrap-up, along with his thoughts and feedback at every stage. His project reached its funding goal, got manufactured and shipped, and in the end was a success.

[Uri] started with a working project, but beyond that was virtually a complete novice when it came to crowdfunding. He eventually settled on using Crowd Supply to make his idea happen, and his writeup explains in great detail every stage of that process, including dollar amounts. What’s great to see is that not only does [Uri] explain the steps and decisions involved, but explains the research that went into each, and how he feels each of them ended up working out.

The entire thing is worth a read, but [Uri] summarizes the experience of crowdfunding a hardware project thus: an excellent way to test out the demand for an idea and bring a product into existence, but be aware that unless a project is a runaway success it probably won’t be much of an income generator at that stage. It was a great learning experience, but involved a lot of time and effort on his part as well.

[Uri] really knows his stuff, and considering his skill at hunting down pesky bugs, it’s probably no surprise that this wasn’t his first hardware puzzle.

Small synth held in two hands

3D Printed Synth Kit Shares Product Design Insights

We’ve always been delighted with the thoughtful and detailed write-ups that accompany each of [Tommy]’s synth products, and the background of his newest instrument, the Scout, is no exception. The Scout is specifically designed to be beginner-friendly, hackable, and uses 3D printed parts and components as much as possible. But there is much more to effectively using 3D printing as a production method than simply churning out parts. Everything needed to be carefully designed and tested, including the 3D printed battery holder, which we happen to think is a great idea.

3d printed battery holder, showing inserted spring contacts
3D printed battery holder, with spring contacts inserted by hand.

[Tommy] also spends some time explaining how he decided which features and design elements to include and which to leave out, contrasting the Scout with his POLY555 synth. Since the Scout is designed to be affordable and beginner-friendly, too many features can in fact be a drawback. Component costs go up, assembly becomes less straightforward, and more complex parts means additional failure points when 3D printing.

[Tommy] opted to keep the Scout tightly focused, but since it’s entirely open-sourced with a hackable design, adding features is made as easy as can be. [Tommy] designed the PCB in KiCad and used OpenSCAD for everything else. The Scout uses the ATmega328, and can be easily modified using the Arduino IDE.

STL files can be downloaded here and all source files are on the project’s GitHub repository, which also contains detailed assembly and modification guides. Watch it in action in the video, embedded below.

Continue reading “3D Printed Synth Kit Shares Product Design Insights”

Small sensor built into audio jack, held in tweezers

Measuring LED Flicker, With Phototransistor And Audio App

No one likes a flickering light source, but lighting is often dependent on the quality of a building’s main AC power. Light intensity has a close relation to the supply voltage, but bulb type plays a role as well. Incandescent and fluorescent bulbs do not instantly cease emitting the instant power is removed, allowing their output to “coast” somewhat to mask power supply inconsistencies, but LED bulbs can be a different story. LED light output has very little inertia to it, and the quality of both the main AC supply and the bulb’s AC rectifier and filtering will play a big role in the stability of an LED bulb’s output.

Mobile phone spectrum analyzer pointed at light source
The DIY photosensor takes the place of the microphone input.

[Tweepy] wanted to measure and quantify this effect, and found a way to do so with an NPN phototransistor, a resistor, and a 3.5 mm audio plug. The phototransistor and resistor take the place of a microphone plugged into the audio jack of an Android mobile phone, which is running an audio oscilloscope and spectrum analyzer app. The app is meant to work with an audio signal, but it works just as well with [Tweepy]’s DIY photosensor.

Results are simple to interpret; the smoother and fewer the peaks, the better. [Tweepy] did some testing with different lighting solutions and found that the best performer was, perhaps unsurprisingly, a lighting panel intended for photography. The worst performer was an ultra-cheap LED bulb. Not bad for a simple DIY sensor and an existing mobile phone app intended for audio.

Want a closer look at what goes into different LED bulbs and how they tick? We have you covered. Not all LED bulbs are the same, either. Some are stripped to the bone and others are stuffed with unexpected goodness.

Art of 3D printer in the middle of printing a Hackaday Jolly Wrencher logo

3D Printering: Is Hassle-Free Bed Leveling Finally Here?

3D printers have come a long way over the past several years, but the process of bed leveling remains a pain point. Let’s take a look at the different ways the problem has been tackled, and whether recent developments have succeeded in automating away the hassle.

Anycubic Vyper 3D printer, front view
Anycubic Vyper, with an auto-leveling feature we decided to take a closer look at.

Bed leveling and first layer calibration tends to trip up novices because getting it right requires experience and judgment calls, and getting it wrong means failed prints. These are things 3D printer operators learn to handle with time and experience, but they are still largely manual processes that are often discussed in ways that sound more like an art than anything else. Little wonder that there have been plenty of attempts to simplify the whole process.

Some consumer 3D printers are taking a new approach to bed leveling and first layer calibration, and one of those printers is the Anycubic Vyper, which offers a one-touch solution for novices and experienced users alike. We accepted Anycubic’s offer of a sample printer specifically to examine this new leveling approach, so let’s take a look at the latest in trying to automate away the sometimes stubborn task of 3D printer bed leveling.

Continue reading “3D Printering: Is Hassle-Free Bed Leveling Finally Here?”