A Volume Control From A VCR Drum

The VHS VCR has now passed from widespread use, and can thus be found as a ready supply of interesting parts for the curious hardware hacker. [Clewsy] has a novel use for a VCR head scanning drum, the part that is supposed to be tasked with reading information off of magnetic tape. Instead, it’s reading information from fingers as the knob for a USB volume control. Underneath the drum is an optical encoder disk which is read by an ATmega32U4 for USB interfacing with a host computer.

The helical-scan video recorder was a mechanically complex solution to the problem of recording a high-bandwidth video signal onto a tape that could be made slow-moving enough to be practical. By recording the video in diagonal stripes across the tape from a fast-moving spinning head they avoided the need for huge reels of tape, enabling hours of video to be fitted into a roughly book-size cassette.

While over time the mechanics of a VCR mechanism were simplified and cheapened to a great extent, the heads and drum were the one area that could not be compromised. Thus the VCR head was for a time the most high-precision mechanical device owned by most consumers, and the drums usually have exceptionally nice bearings. All of this makes one a particularly good choice for a volume knob or indeed any other large rotational control, so much so that we’re surprised it hasn’t become a more frequent occurrence. So scour the electronic junk, and you might just find the ultimate in free high quality control hardware.

Of course, this isn’t the only thing a VCR head drum can do.  How about a centrifuge?

Racing Game Crashes Into Its Next Life As A Sound Bender

They say the best things in life are free, but we would loudly argue that a dollar can go a long way, too. It all depends on what you do with it. When [lonesoulsurfer] saw this busted-up handheld racing game at the junk store, he fell in love with the lines of the case and gladly forked over a buck in order to give it a new life as a wicked little sound-bending machine with dancing LEDs.

Here’s how it works: [lonesoulsurfer] records a few seconds of whatever into the mic with the looping function switched off, then turns it back on to start the fun. He can vary the pitch with the speed controller pot, or add in some echo and reverb. Once the sound is dialed in, he works the pause button on the left to make melodies by stopping and restarting the loop, or just pausing it momentarily depending on the switch setting.

The electronics are a mashup of modules mixed with a custom PCB that combines the recording module with an LM386 amplifier and holds the coolest part of this build — those LEDs that dance to the music behind the toy’s original lenticular screen. Like most of [lonesoulsurfer]’s builds, it’s powered by an old cell phone battery that’s buck-boosted to 5 V. Check out the build and bleep-bloop video after the break.

Lenticular lenses are all kinds of fun. Get one that’s big enough, and you can use it to disappear for a while.

Continue reading “Racing Game Crashes Into Its Next Life As A Sound Bender”

Signal Conditioning Hack Chat This Wednesday

Join us on Wednesday, February 17 at noon Pacific for the Signal Conditioning Hack Chat with Jonathan Foote!

The real world is a messy place, because very little in it stays in a static state for very long. Things are always moving, vibrating, heating up or cooling down, speeding up or slowing down, or even changing in ways that defy easy description. But these changes describe the world, and understanding and controlling these changes requires sensors that can translate them into usable signals — “usable” being the key term.

Making a signal work for you usually requires some kind of signal processing — perhaps an amplifier to boost a weak signal from a strain gauge, or a driver for a thermocouple. Whatever the case, pulling a useful signal that represents a real-world process from the background noise of all the other signals going on around it can be challenging, as can engineering systems that can do the job in sometimes harsh environments. Drivers, filters, amplifiers, and transmitters must all work together to get the clearest picture of what’s going on in a system, lest bad data lead to bad decisions.

To help us understand the world of signal conditioning, Jonathan Foote will drop by the Hack Chat. You may remember Jonathan as the “recovering scientist” who did a great Remoticon talk on virtual modular synthesizers. It turns out that synths are just a sideline for Dr. Foote, who has a Ph.D. in Electrical Engineering and a ton of academic experience. He’s a bit of a Rennaissance man when it comes to areas of interest — machine learning, audio analysis, robotics, and of course, signal processing. He’ll share some insights on how to pull signals from the real world and put them to work.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, February 17 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Continue reading “Signal Conditioning Hack Chat This Wednesday”

The Rotary-X Engine Is A Revolution In Thermodynamics

If you’re running an army, chances are good that you need a lot of portable power for everything from communications to weapons control systems. When it comes to your generators, every ounce counts. The smaller and lighter you can get them, the better.

Connecticut-based company LiquidPiston is developing a high-powered generator for the US Army that uses the company’s own rotary x-engine — a small, light, and powerful beast that sounds like a dream come true. It can run on gasoline, diesel, natural gas, kerosene, or jet fuel, and is scalable from 1 to 1,000 horsepower (PDF).

Co-founder and CEO Alex Schkolnik describes the design as a combination of the best parts of the Otto and Atkinson cycle engines, the Diesel, and the Wankel rotary while solving the big problems of the latter two. That sounds impressive, but it doesn’t mean much unless you understand how each of these engines work and what their various advantages and disadvantages are. So let’s take a look under the hood, shall we?

Continue reading “The Rotary-X Engine Is A Revolution In Thermodynamics”

Print-in-Place Connectors Aim To Make Wiring Easier

One thing some of us here in the United States have always been jealous of is the WAGO connectors that seem so common in electrical wiring everywhere else in the world. We often wonder why the electrical trades here haven’t adopted them more widely — after all, they’re faster to use than traditional wire nuts, and time is money on the job site.

Wago 221 compact lever connector via the Wago YouTube channel

This print-in-place electrical connector is inspired by the WAGO connectors, specifically their Lever Nut series. We’ll be clear right up front that [Tomáš “Harvie” Mudruňka’s] connector is more of an homage to the commercially available units, and should not be used for critical applications. Plus, as a 3D-printed part, it would be hard to compete with something optimized to be manufactured in the millions. But the idea is pretty slick. The print-in-place part has a vaguely heart-shaped cage with a lever arm trapped inside it.

After printing and freeing the lever arm, a small piece of 1.3-mm (16 AWG) solid copper wire is inserted into a groove. The wire acts as a busbar against which the lever arm squeezes conductors. The lever cams into a groove on the opposite wall of the cage, making a strong physical and electrical connection. The video below shows the connectors being built and tested.

We love the combination of print-in-place, compliant mechanisms, and composite construction on display here. It reminds us a bit of these printable SMD tape tamers, or this print-in-place engine benchmark.

Continue reading “Print-in-Place Connectors Aim To Make Wiring Easier”

Ghidra Used To Patch Fahrenheit Into An Air Quality Meter

Even though most of the world population couldn’t tell you what room or body temperature is in Fahrenheit, there are some places on this globe where this unit is still in common use. For people in those areas, it’s therefore a real hassle when, say, a cheap Chinese air quality measurement systems only reports in degrees Celsius. Fortunately, [BSilverEagle] managed to patch such a unit to make it display temperature in Fahrenheit.

The reverse engineering begins by finding a way to dump the firmware. It’s nice to hear that [BSilverEagle] used some the skills demonstrated in [Eric Shlaepfer’s] PCB reverse engineering workshop from Hackaday Remoticon last November to trace out the debug header and the SWD pins of STM32F103C8 MCU. After that, OpenOCD could be used to dump the firmware image, with no read protection encountered. The firmware was then reverse-engineered using Ghidra, so that [BSilverEagle] could figure out where the temperature was being calculated and where the glyph for the Celsius symbol was stored. From there this it was a straight-forward rewrite of those two parts of the original firmware to calculate the temperature value in Fahrenheit, change the glyph and reflash the MCU.

So why buy this thing in the first place if it didn’t spit out units useful for your current locale? Cost. Buying this consumer(ish) device was about the same cost as buying the individual parts, designing and manufacturing the PCB, and writing the firmware for it. The only downside for their use case was the lack of Fahrenheit. Not a problem for those who demand full control of the hardware they own.

Need a boot camp for using Ghidra? Matthew Alt put together a spectacular video series on Reverse Engineering with Ghidra.

Machine Learning Helps You Track Your Internet Misery Index

We all seem to intuitively know that a lot of what we do online is not great for our mental health. Hang out on enough social media platforms and you can practically feel the changes your mind inflicts on your body as a result of what you see — the racing heart, the tight facial expression, the clenched fists raised in seething rage. Not on Hackaday, of course — nothing but sweetness and light here.

That’s all highly subjective, of course. If you’d like to quantify your online misery more objectively, take a look at the aptly named BrowZen, a machine learning application by [Nick Bild]. Built around an NVIDIA Jetson Xavier NX and a web camera, BrowZen captures images of the user’s face periodically. The expression on the user’s face is classified using a facial recognition model that has been trained to recognize facial postures related to emotions like anger, surprise, fear, and happiness. The app captures your mood and which website you’re currently looking at and stores the results in a database. Handy charts let you know which sites are best for your state of mind; it’s not much of a surprise that Twitter induces rage while Hackaday pushes [Nick]’s happiness button. See? Sweetness and light.

Seriously, we could see something like this being very useful for psychological testing, marketing research, or even medical assessments. This adds to [Nick]’s array of AI apps, which range from tracking which surfaces you touch in a room to preventing you from committing a fireable offense on a video conference.

Continue reading “Machine Learning Helps You Track Your Internet Misery Index”