Putting 3D Printed Speaker Drivers To The Test

Over the years, we’ve seen numerous projects that attempted to 3D print speaker enclosures that deliver not only a bit of custom flair, but hopefully halfway decent sound. Though as you’d probably expect, the drivers themselves are always standard run-of-the mill hardware mounted into the plastic enclosure. But given the research being conducted by [Paul Ellis], that might not be a safe assumption for much longer.

His quest to develop a full-range 3D speaker has taken him through several design revisions over the last two years, with each one being put through testing procedure that compared its frequency response to “real” speakers from manufacturers like Dayton and Bose. The project is very much ongoing, but a recently completed iteration of the driver design managed to exceed 80 dB at 1 W. In terms of audio quality, [Paul] reports they can hold their own against commercially available drivers. You can hear for yourself in the video after the break.

Ultimately, he hopes to be able to sell his 3D printed speakers in kit form to anyone who’s looking for the last word in bespoke audio hardware. The idea being that the drivers and enclosure will be completely modular, allowing the user to swap out individual components for ones printed (or not) in different materials so they can tune the in-person sound to their exact specifications. To facilitate this rapid reconfiguring of the drivers, the designs use some neat tricks like having the magnets be removable rather than glued in so they could be swapped out non-destructively.

This isn’t the first fully 3D printed speaker driver we’ve ever seen, Formlabs showed one off that was made on their SLA printer back in 2015, and we actually saw a rudimentary take on the same idea earlier this year. But the work that [Paul] has done here is certainly the most thorough, and dare we say practical, take we’ve ever seen on the concept.

Continue reading “Putting 3D Printed Speaker Drivers To The Test”

Complex Impedances Without The Pain

Any grizzled electronic engineer will tell you that RF work is hard. Maintaining impedance matching may be a case of cutting wires to length at lower frequencies, but into the low centimetre and millimetre wavelengths it becomes a Dark Art aided by mysterious and hugely expensive test equipment beyond the reach of mere mortals. A vector network analyser or VNA may be beyond the reach of many, but [Tomasz Wątorowski] is here to tell us about how with some resistors, mathematics, and a bit of lateral thinking its functions may be replicated with a more modestly equipped bench.

It’s not a method for the faint-hearted as the mathematics are of the variety that you probably learned as an undergraduate but let slip from your memory with thanks after the course ended. The method involves measuring the return loss both with and without a resistor of known value in series with the antenna, these figures allow the real and imaginary components of the antenna’s impedance to be calculated. There is a further piece of work though, this method doesn’t determine whether the antenna is capacitive or inductive. Repeating the measurement with either a capacitive or inductive matching network allows this to be determined, and the value of the appropriate matching component to be calculated.

If you are interested in this kind of work, start with a primer on RF design.

Complex impedance matching using scalar measurements, math and resistors

Homebrew Oscillator Is In A Glass By Itself

Great things happen when we challenge ourselves. But when someone else says ‘I bet you can’t’ and you manage to pull it off, the reward is even greater. After [WilkoL] successfully made a tuning fork oscillator, his brother challenged him to make one out of a wine glass. We’ll drink to that!

First, [WilkoL] needed to find a way to make the wine glass vibrate continuously without having to stand there running a moistened finger around the edge. A piezo speaker mounted close by did the trick. Then he had to detect the sound waves, amplify them, and feed them back in.

After toying with the idea of making a laser microphone, and tossing aside the idea of a regular microphone (because squealing feedback), he settled on using light. LEDs didn’t work, probably because the light is too divergent. But he found out that by aiming a laser just right, the curve of the wine glass modulates the light, and the waves can be detected with a phototransistor.  Then it was just a matter of amplifying the the sound and feeding it back to the piezo.

In the demo video after the break, you can see the vibrations in the glass manifest once he pours in some water. As anyone who’s ever played the water glasses can tell you, this also changes the frequency. [Editor’s note: I expected a much larger change in pitch. Not sure what’s going on here.]

Speaking of, here’s a steampunky glass armonica that uses an old turntable motor to rotate the wine glass, and a pneumatic cylinder to raise and lower the water level.

Continue reading “Homebrew Oscillator Is In A Glass By Itself”

Portable PS2 With A Side Of Pi

Home games consoles have occupied a special space in the marketplace over the last 3 decades. The crowning jewels of their respective companies, they inspired legions of diehard fans and bitter enmities against followers of alternative hardware. For some, a mere handheld is a watered down experience that simply won’t do. Nay, the console itself must become portable!

It’s this line of thinking that may have inspired [Darkwing Mod] to produce this elegant portable PlayStation 2. Started at the end of 2013, it’s the product of six years of on-and-off work, a situation familiar to many a hacker. It packs an original PS2 motherboard inside a slick black-and-blue case, expertly crafted with plastic and putty for a smooth finish. A Raspberry Pi 2 also lives inside, serving up games over a Samba share. This method was chosen for its short load times and robustness for the portable form factor, versus trying to squeeze a full DVD drive inside. It’s used in combination with Free MCBoot to load the games.

The worklog is extensive, detailing the long road to completion. It’s clear that this was a labor of love, and we hope it sees many hours of use now that it’s up and running. It’s not the first portable PS2 we’ve seen, and it likely won’t be the last. Video after the break.

Continue reading “Portable PS2 With A Side Of Pi”

Linux Fu: Interactive SSH Applications

[Drew DeVault] recently wrote up some interesting instructions on how to package up interactive text-based Linux commands for users to access via ssh. At first, this seems simple, but there are quite a few nuances to it and [Drew] does a good job of covering them.

One easy way — but not very versatile — is to create a user and make the program you want to run the default shell. The example used is to make /usr/bin/nethack the shell and now people can log in as that user and play nethack. Simple, right? However, there are better ways to get there.

Continue reading “Linux Fu: Interactive SSH Applications”

Who Needs Four Wheels When You’ve Got A Gyro?

Your garden variety car generally comes with four wheels, plus a spare in the boot. It’s a number landed upon after much consideration, with few vehicles deviating from the norm. That doesn’t mean there aren’t other possibilities however, and [RCLifeOn] decided to experiment in just such a manner.

The result is a gyro-stabilized two-wheeled RC car, or as we might have put it, a motorcycle of sorts. A brushless motor drives the rear wheel, while steering up front is handled by a servo controlling the front wheel. A large spinning disc acts as a gyro in the center of the vehicle, and it’s all packaged in a simple 3D printed frame.

Results are impressive, with the gyro making a demonstrable difference to the vehicle’s performance. While it can be driven without the gyro enabled, it requires continual steering corrections to stay upright. With the gyro spun up, it rides much more like a bicycle, with few stability issues.

It’s a fun project, and a great way to learn about gyroscopic stability. Of course, there are great primers on the topic, too. Video after the break. Continue reading “Who Needs Four Wheels When You’ve Got A Gyro?”

Reading The Water Meter In A Literal Sense With An ESP8266

In our info-obsessed culture, hackers are increasingly interested in ways to quantify the world around them. One popular project is to collect data about their home energy or water consumption to try and identify any trends or potential inefficiencies. For safety and potentially legal reasons, this usually has to be done in a minimally invasive way that doesn’t compromise the metering done by the utility provider. As you might expect, that often leads to some creative methods of data collection.

The latest solution comes courtesy of [Keilin Bickar], who’s using the ESP8266 and a serial TTL camera module to read the characters from the LCD of his water meter. With a 3D printed enclosure that doubles as a light source for the camera, the finished device perches on top of the water meter and sends the current reading to HomeAssistant via MQTT without any permanent wiring or mounting.

Of course, the ESP8266 is not a platform we generally see performing optical character recognition. Some clever programming was required to get the Wemos D1 Mini Lite to reliably read the numbers from the meter without having to push the task to a more computationally powerful device such as a Raspberry Pi. The process starts with a 160×120 JPEG image provided by a VC0706 camera module, which is then processed with the JPEGDecoder library. The top and bottom of the image are discarded, and the center band is isolated into blocks that correspond with the position of each digit on the display.

Within each block, the code checks an array of predetermined points to see if the corresponding pixel is black or not. In theory this allows detecting all the digits between 0 and 9, though [Keilin] says there were still the occasional false readings due to inherent instabilities in the camera and mounting. But with a few iterations to the code and the aid of a Python testing program that allowed him to validate the impact of changes to the algorithm, he was able to greatly improve the detection accuracy. He says it also helps that the nature of the data allows for some basic sanity checks;  for example the number only ever goes up, and only by a relatively small amount each time.

This method might not allow the per-second sampling required to pull off the impressive (if slightly creepy) water usage data mining we saw recently, but as long as you’re not after very high resolution data this is an elegant and creative way to pull useful data from your existing utility meter.