New Tech And The Old Ways

This week on Hackaday, we featured a project that tickled my nostalgia bone, and proved that there are cool opportunities when bringing new tech to old problems. Let me explain.

[Muth] shared a project with us that combines old-school analog photography printing with modern LCD screens. The basic idea is to use a 4K monochrome screen in place of a negative, making a contact print by placing the screen directly on top of photographic paper and exposing it under a uniform light source. Just like the old ways, but with an LCD instead of film.

LCD exposure animationBut what’s the main difference between a screen and film? You can change the image on the LCD at will, of course. So when [Muth] was calibrating out exposures, it dawned on him that he could create a dynamic, animated version of his image and progressively expose different portions of the paper, extending the available dynamic range and providing him the ability to control the slightest nuances of the resulting image contrast.

As an old photo geek, this is the sort of trick that we would pull off manually in the darkroom all the time. “Dodging” would lighten up a section of the image by covering up the projected light with your hand or a special tool for a part of the exposure time. With [Muth]’s procedure, he can dodge the image programmatically on the per-pixel level. We would have killed for this ability back in the day.

The larger story here is that by trying something out of the box, applying a new tool to an old procedure, [Muth] stumbled on new capabilities. As hackers, we’re playing around with the newest tech we can get our hands on all the time. When you are, it might be that you also stumble on new possibilities simply afforded by new tech. Keep your eyes open!

Building A Swiss Army Lab With Software Defined Instrumentation

It’s a fair bet that anyone regularly reading Hackaday has a voltmeter within arm’s reach, and there’s a good chance an oscilloscope isn’t far behind. But beyond that, things get a little murky. We’re sure some of you have access to a proper lab full of high-end test gear, even if only during business hours, but most of us have to make do with the essentials due to cost and space constraints.

The ideal solution is a magical little box that could be whatever piece of instrumentation you needed at the time: some days it’s an oscilloscope, while others it’s a spectrum analyzer, or perhaps even a generic data logger. To simplify things the device wouldn’t have a physical display or controls of its own, instead, you could plug it into your computer and control it through software. This would not only make the unit smaller and cheaper, but allow for custom user interfaces to be created that precisely match what the user is trying to accomplish.

Wishful thinking? Not quite. As guest host Ben Nizette explained during the Software Defined Instrumentation Hack Chat, the dream of replacing a rack of test equipment with a cheap pocket-sized unit is much closer to reality than you may realize. While software defined instruments might not be suitable for all applications, the argument could be made that any capability the average student or hobbyist is likely to need or desire could be met by hardware that’s already on the market.

Ben is the Product Manager at Liquid Instruments, the company that produces the Moku line of multi-instruments. Specifically, he’s responsible for the Moku:Go, an entry-level device that’s specifically geared for the education and maker markets. The slim device doesn’t cost much more than a basic digital oscilloscope, but thanks to the magic of software defined instrumentation (SDi), it can stand in for eleven instruments — all more than performant enough for their target users.

So what’s the catch? As you might expect, that’s the first thing folks in the Chat wanted to know. According to Ben, the biggest drawback is that all of your instrumentation has to share the same analog front-end. To remain affordable, that means everything the unit can do is bound by the same fundamental “Speed Limit” — which on the Moku:Go is 30 MHz. Even on the company’s higher-end professional models, the maximum bandwidth is measured in hundreds of megahertz.

Additionally, SDI has traditionally been limited to the speed of the computer it was attached to. But the Moku hardware manages to sidestep this particular gotcha by running the software side of things on an internal FPGA. The downside is that some of the device’s functions, such as the data logger, can’t actually live stream the data to the connected computer. Users will have to wait until the measurements are complete before they  pull the results off, though Ben says there’s enough internal memory to store months worth of high-resolution data.

Of course, as soon as this community hears there’s an FPGA on board, they want to know if they can get their hands on it. To that end, Ben says the Moku:Go will be supported by their “Cloud Compile” service in June. Already available for the Moku:Pro, the browser-based application allows you to upload your HDL to the Liquid Instruments servers so it can be built and optimized. This gives power users complete access to the Moku hardware so they can build and deploy their own custom features and tools that precisely match their needs without a separate development kit. Understanding that obsolescence is always a problem with a cloud solution, Ben says they’re also working with Xilinx to allow users to do builds on their own computers while still implementing the proprietary “secret sauce” that makes it a Moku.

It’s hard not to get excited about the promise of software defined instrumentation, especially with companies like Liquid Instruments and Red Pitaya bringing the cost of the hardware down to the point where students and hackers can afford it. We’d like to thank Ben Nizette for taking the time to talk with the community about what he’s been working on, especially given the considerable time difference between the Hackaday Command Center and Liquid’s Australian headquarters. Anyone who’s willing to jump online and chat about FPGAs and phasemeters before the sun comes up is AOK in our book.


The Hack Chat is a weekly online chat session hosted by leading experts from all corners of the hardware hacking universe. It’s a great way for hackers connect in a fun and informal way, but if you can’t make it live, these overview posts as well as the transcripts posted to Hackaday.io make sure you don’t miss out.

Hackaday Podcast 166: Engraving With The Sun, Explosive Welding, Juggling Chainsaws, And Torturing Wago Connectors

Join Hackaday Editor-in-Chief Elliot Williams and Staff Writer Dan Maloney as they dive into the last week of Hackaday articles. If you love things that go boom, you won’t want to miss the discussion about explosive welding. Ever use the sun to burn something with a magnifying glass? Now you can CNC that, if you dare. We’ll take a quick trip through the darkroom and look at analog-digital photography as well as a tactical enlarger you can build, watch someone do terrible things to Wago and Wago-adjacent connectors, and talk about how suborbital chainsaws can be leveraged into a mass storage medium. Not enough for you? Then don’t miss our bafflement at one corporation’s attitude toward 3D printing, the secret sauce of resin casting, and our rundown of the 2022 Sci-Fi Contest winners.

 

Direct download!

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments below!

Continue reading “Hackaday Podcast 166: Engraving With The Sun, Explosive Welding, Juggling Chainsaws, And Torturing Wago Connectors” →

This Week In Security: Android And Linux, VirusTotal, More Psychic Signatures

To start our week of vulnerabilities in everything, there’s a potentially big vulnerability in Android handsets, but it’s Apple’s fault. OK, maybe that’s a little harsh — Apple released the code to their Apple Lossless Audio Codec (ALAC) back in 2011 under the Apache License. This code was picked up and shipped as part of the driver stack for multiple devices by various vendors, including Qualcomm and MediaTek. The problem is that the Apple code was terrible, one researcher calling it a “walking colander” of security problems.

Apple has fixed their code internally over the years, but never pushed those updates to the public code-base. It’s a fire-and-forget source release, and that can cause problems like this. The fact that ALAC was released under a permissive license may contribute to the problem. Someone (in addition to Apple) likely found and fixed the security problems, but the permissive license doesn’t require sharing those fixes with a broader community. It’s worth pondering whether a Copyleft license like the GPL would have gotten a fix distributed years ago.

Regardless, CVE-2021-0674 and CVE-2021-0675 were fixed in both Qualcomm and MediaTek’s December 2021 security updates. These vulnerabilities are triggered by malicious audio files, and can result in RCE. An app could use this trick to escape the sandbox and escalate privileges. This sort of flaw has been used by actors like the NSO group to compromise devices via messaging apps. Continue reading “This Week In Security: Android And Linux, VirusTotal, More Psychic Signatures” →

2022 Sci-Fi Contest: The Winners Are In

The Sci-Fi Contest closed out on Monday, and we put our heads together and picked our favorites. And it was no easy task, because in addition to many of the projects simply looking stellar, many went all-out on the documentation as well, making these stellar examples that we can all learn from, whether you’re into sci-fi or not. But who are we kidding? From the responses we got, you are.

The Winners

[RubenFixit]’s Star Trek Shuttle Console is a Trek themed escape room in a box. The project’s extraordinary attention to detail and exhaustive project logs absolutely won our judges heart. From the LCARS graphics to the 3D printed isolinear chip bays and mimetic crystals, it’s all there. [Ruben] estimates about 300 hours of work went into this one, and it shows.

We had no shortage of robotic projects in the contest, but [RudyAramayo]’s R.O.B. won our judges over. This one is not a joke, weighing in at over 140 lbs of custom metalwork and righteous treads. It’s also made out of some expensive hardware all around, so maybe this isn’t your weekend-build robot. We love the comment on the Arduino test code suite: “For gods sake man, you must test your code when it becomes an autonomous vehicle.”

Finally, [zapwizard]’s Functional Razor Crest Control Lever is a prop and a video game controller in one. We can totally see Grogu playing with this, and we were wowed by the attention to detail in the physical build — with custom gears and a speed limiter — as well as the attention to prop-making detail. Some parts are custom-cut stainless steel plates. 3D printed parts are covered in aluminum tape and chemically aged. Awesome. Oh yeah, it’s also a working USB joystick.

These three winners will be receiving a $150 shopping spree at Digi-Key.

Continue reading “2022 Sci-Fi Contest: The Winners Are In” →

2022 Hackaday Prize: Get Your Planet-Friendly Power On!

Time flies! This weekend marks the end of the first stage of the 2022 Hackaday Prize, and your chance to enter your alternative-energy projects. There are ten $500 prizes up for grabs, and there’s still time to whip up a project page over on Hackaday.io to showcase it.

In this round, we’re looking for projects that harvest their own energy — solar, wind, heat, vibration, you name it — or projects that make it easier to collect, store, or use renewable energy. Whether this is microwatts or megawatts, the scale of the project is up to you! As long as it’s using or making it easier to use clean energy, we want to see it.

So far, we’ve seen some great projects, ranging from a optimizes the tilt angle of a home solar installation to a demonstration of using a new type of lithium-ion capacitor to add solar power to smaller projects. We really love [MartMet]’s simple Bluetooth thermometer hack, which adds a supercapacitor and solar cell to an outdoor thermometer, and then uses hacked firmware to log the charge status over a year of use! We’re suckers for good data.

The sun is not the only game in town, though. There are a surprising number of projects based on human energy production in emergency situations, from cranking to shaking. Thermionic converters were new to us, but we love explorations of fringe tech. Other traditional favorites like wind and water may make more sense for larger applications. And don’t forget how you’re going to store all this juice you’ve collected.

In short, we’ve got a bunch of great entries, but we’re still missing yours! There’s no minute like the last minute: if you’ve done some work in clean or renewable energy, set yourself up a Hackaday.io project page now. You’ll help make all our projects cleaner, and stand a good chance of taking home some real money to boot!

Once we’ve handled power, the next round is “Reuse, Recycle, Revamp” where any tech that uses recycled parts or facilitates reuse, repair, or recycling is fair game!

Modern Wildfires And Their Effect On The Ozone Layer

The ozone layer is a precious thing, helping protect the Earth from the harshest of the sun’s radiative output. If anything were to damage this layer, we’d all feel the results in a very short order indeed.

In the past, humanity has worked to limit damage to the ozone layer from our own intentional actions. However, it’s not just aerosol cans and damaged air conditioning systems that are putting it at risk these days. The fierce wildfires we’ve seen so much of in recent years are also having a negative effect. Let’s take a look at why the ozone layer matters, and how it’s being affected by these wildfires.

Continue reading “Modern Wildfires And Their Effect On The Ozone Layer” →