Getting Root On Linux Amplifier Adds New Inputs

We remember when getting Linux on your average desktop computer was a tricky enough endeavor that only those with the most luxurious of graybeards would even attempt it. A “Linux box” in those heady days was more than likely an outdated machine salvaged from the dumpster, side panel forever removed, cranking away in a basement or garage. Fast forward today, and Linux is literally everywhere: from smartphones and luxury cars, to TVs and refrigerators. Ironically it’s still not on most desktop computers, but that’s a discussion for another time.

So when [Michael Nothhard] sent in the fascinating account of how he hacked his Linux-powered Bluesound Powernode N150 amplifier to unlock more inputs, the least surprising element was that there was a “smart amplifier” out there running the free and open source operating system. What piqued our interest was that he was able to bust his way in with relative ease and enable some impressive new capabilities that the manufacturer would probably have rather been kept under wraps.

Configuring the CM6206’s audio settings.

[Michael] explains that the N150 has a USB port on the back side of it, and that officially, it only works with mass storage devices and a handful of approved peripherals such as a Bluetooth dongle. But as he was hoping to connect some more devices to the input-limited amplifier, he wondered if he could get a USB audio adapter recognized by the OS. After using a known exploit to get root access, he started poking around at the underlying Linux system to see what kind of trickery the developers had done.

Based on a fairly common C-Media CM6206 chipset, the StarTech 7.1 USB audio adapter was picked up by the kernel without an issue. But to actually get it working with the amplifier’s stock software, he then needed to add a new <capture> entry to the system’s sovi_info.xml configuration file and make some changes to its default ALSA settings. With the appropriate files modified, the new USB audio input device popped up under the official Bluesound smartphone application.

At the end of the write-up [Michael] notes that you’ll need to jump through a few additional hoops to make sure that an upstream firmware update doesn’t wipe all your hard work. Luckily it sounds like backing up the configuration and returning it to the newly flashed Powernode is easy enough. We’ve certainly seen more elaborate methods of gaining control of one’s sound system over the years.

IoT toilet paper sheet counter

Keep Track Of Toilet Paper Usage With This IoT Roll Holder

Remember the Great Toilet Paper Crisis of 2020? We sure do, and it looks like our old friend [Vije Miller] does as well, while seemingly harboring a somewhat morbid fascination about how much paper every bathroom visitor is consuming. And to that end, we present his IoT toilet sheet tracker.

His 3D printed roll holder has a Hall effect sensor that counts revolutions of the roll and sends it to a NodeMCU. The number of sheets per roll is entered when the roll is changed, so some simple math yields the number of sheets each yank consumes. Or at least a decent estimate — [Vije] admits that there’s some rounding necessary. The best part of the build is the connection to Thingspeak, where sheet usage is plotted and displayed. Go ahead and check it out if you dare; at the time of writing, there was an alarming spike in sheet usage — a sudden need for 68 sheets where the baseline usage is in single digits. We shudder to think what might have precipitated that. The video below is — well, let’s just say there’s a video.

This isn’t the first time we’ve seen bathroom-based projects from [Vije Miller]. A few years back there was an attempt to freshen the air with plasma, and his IoT shower valve controller probably never scalded anyone accidentally.

Continue reading “Keep Track Of Toilet Paper Usage With This IoT Roll Holder”

Remoticon 2021 // Colin O’Flynn Zaps Chips (And They Talk)

One of the many fascinating fields that’s covered by Hackaday’s remit lies in the world of hardware security, working with physical electronic hardware to reveal inner secrets concealed in its firmware. Colin O’Flynn is the originator of the ChipWhisperer open-source analysis and fault injection board, and he is a master of the art of glitching chips. We were lucky enough to be able to welcome him to speak at last year’s Remoticon on-line conference, and now you can watch the video of his talk below the break. If you need to learn how to break RSA encryption with something like a disposable camera flash, this is the talk for you.

This talk is an introduction to signal sniffing and fault injection techniques. It’s well-presented and not presented as some unattainable wizardry, and as his power analysis demo shows a clearly different trace on the correct first letter of a password attack the viewer is left with an understanding of what’s going on rather than hoping for inspiration in a stream of the incomprehensible. The learning potential of being in full control of both instrument and target is evident, and continues as the talk moves onto fault injection with an introduction to power supply glitching as a technique to influence code execution.

Schematic of an EM injector built from a camera flash.
Schematic of an EM injector built from a camera flash.

Continue reading “Remoticon 2021 // Colin O’Flynn Zaps Chips (And They Talk)”

Supersized Power Bank Built From An EV Battery

Perhaps one day in the future when our portable electronics are powered by inexhaustible dilithium crystals, we’ll look back fondly on the 2020s when we carried around power banks to revive our flagging tech. Oh how we laughed as we reached for those handy plastic bricks only to find them drained already of juice, we’ll say. [Handy Geng] won’t be joining us though, because he’s made the ultimate power bank, a 27,000 AH leviathan that uses an electric car battery for storage and supplies mains power through a brace of sockets on its end.

The vehicle battery is mounted on a wheeled trolley along with what appears to be either the in-car charging unit or a mains inverter. The whole thing is styled to look like a huge version of a pocket power bank, with a curved sheet metal shell and white hardboard end panels. The demonstration pushes the comedy further, as after charging a huge pile of phones he replenishes an electric scooter before settling sown by a chilly-looking river for a spot of fishing — along with his washing machine, TV, and electric hotpot for a spot of cooking. We appreciate the joke, and as we know him of old we’re looking forward to more.

Continue reading “Supersized Power Bank Built From An EV Battery”

As apples travel down the conveyor belt, they are scanned using InGaAs and CMOS cameras. The InGaAs camera will show defects beginning to form under the skin that a human eye cannot see; the CMOS camera will show visible defects. (Credit: Hamamatsu)

Shining A Different Light On Reality With Short-Wave Infrared Radiation

As great as cameras that operate in the visual light spectrum are, they omit a lot of the information that can be gleaned from other wavelengths. There is also the minor issue that visibility is often impacted, such as when it’s raining, or foggy. When this happens, applications such as self-driving cars which rely on this, have a major issue. Through the use of sensors that are sensitive to other wavelengths, we can however avoid many of these issues.

Short-wave infrared radiation (SWIR) is roughly the part of the electromagnetic spectrum between 1.4 μm – 3 μm, or 100 THz – 214 THz. This places it between visible light and microwaves, and above long-wave IR at 20 THz – 37 THz. LWIR is what thermal cameras use, with LWIR also emitted by warm objects, such as the human body.

SWIR is largely unaffected by water in the atmosphere, while also passing through materials that are opaque to visible light. This allowing SWIR to be used for the analysis and inspection of everything from PCBs and fruit to works of art to capture details that are otherwise invisible or very hard to see.

Unfortunately, much like thermal camera sensors, SWIR sensors are rather expensive. Or they were, until quite recently, with the emergence of quantum-dot-based sensors that significantly decrease the costs of these sensors.

Continue reading “Shining A Different Light On Reality With Short-Wave Infrared Radiation”

Arduino Activated Automotive Aerodynamic Apparatus Is… (Spoiler Alert!)

Sometimes a great hack is great for no other reason than that it’s fun, and [Michael Rechtin]’s DIY Active Aero Spoiler and Air Brake certainly qualifies as a fun hack. This is a mod designed to live in a world where looks are everything, stickers add horsepower, and a good sound system is more important than good wheel alignment. Why is that? Because like the switch that exists only to activate the mechanism that turns it off, the DIY Active Aero Spoiler and Air Brake seen below is almost completely useless. So to understand its allure, we must understand its inspiration.

For a few decades now, luxury sports car manufacturers have been adding active aerodynamic components to their vehicles. For example, several Porsche models feature adaptive spoilers that adjust to driving conditions. Super cars such as the Bugatti Veyron have spoilers that flip up at high angles during braking to increase drag and reduce braking distance. All of these features are sadly missing from the average two or four door family-car-turned-wannabe-track-fiend. Until now!

[Michael] has created a new active spoiler for every mall-bound muffler-challenged hand me down. The build starts with a CNC cut foam wing which is covered with fiberglass, Bondo (an automotive necessity) and some faux carbon fiber for that go-fast feel. An Arduino, IMU, two servos, and a battery pack detect deceleration and automatically increase the spoiler angle just like the big boys, but without needing any integration into the vehicles systems. Or bolts, for that matter.

It’s unlikely that the braking force is enough to slow down the vehicle though, given that it’s not enough to pop the suction cups holding it to the trunk lid. But does it have the “wow” factor that it was designed to induce? Spoiler Alert: It does!

As it turns out, this isn’t the first adjustable spoiler featured here at Hackaday, and this adjustable spoiler on a car that’s made for actual racing is quite interesting.

Continue reading “Arduino Activated Automotive Aerodynamic Apparatus Is… (Spoiler Alert!)”

PCB Stepper Motor Micro Robots

[Kevin Lynagh] is interested in tiny PCB stepper motors, and after reviewing the various projects and patents to-date, decided to give it a try himself. These are basically a stepper motor that’s been unrolled and made flat — traces on the PCB act as the coils and tiny magnetic “robots” act as the rotor.

If you want to try this concept yourself, [Kevin]’s post contains an excellent survey of prior art and projects, as well as exploring the theory behind how these things work. He has taken a deep dive in to the theory, deep enough to grasp what’s going on and to build some preliminary prototypes with a bit of confidence. First off was just a hand-wound flat coil as a proof-of-concept. Next was a PCB version that worked almost exactly as planned, although he confesses to burning out a motor driver circuit before stepping back and making some calculations.

We covered one such project back in 2014 and wrote about a Hackaday.io magnetic robot project from reader [bobricius] in 2018. Have you ever used this technology for anything besides a demonstration? Let us know in the comments below.

Thanks to [Adrian] for sending us the tip.