Inside 3D Printing Shoes

If you’ve ever thought about 3D printing shoes, you’ll enjoy watching the video below about a Portland-based company that creates shoes on demand using an HP MJF 5200 3D printer. Granted, this isn’t a printer you likely have in your basement. The one-ton printer costs up to a half-million dollars but watching it do its thing is pretty interesting.

The printer doesn’t create the entire shoe, but just a spongy foam-like TPU footbed and heel. They run the printer overnight and get about a dozen pairs out at once. There’s quite a bit of clean-up to get the piece ready. Of course, there’s also the assembly of the rest of the shoe to take into account.

Continue reading “Inside 3D Printing Shoes”

Teensy Spectrum Analyzer Has 170 Channels

While high-fidelity audio has come a long way in the past several decades, a lot of modern stereo equipment is still missing out on some of the old analog meters that were common on amplifiers and receivers of the 60s through the 80s. Things like VU meters don’t tend to be common anymore, but it is possible to build them back in to your sound system with the help of some microcontrollers. [Mark] shows us exactly how to reclaim some of the old-school functionality with this twin audio visualizer display.

Not only does this build include two displays, but the microcontroller is keeping up with 170 channels in real-time in order to drive the display. What’s more impressive is that it’s being done all on a Teensy 4.1. To help manage all of the data and keep the speed as fast as possible it uses external RAM soldered to the board, and a second Teensy audio board is used to do the real time FFT analysis. Most of the channels are sent to the display hosting the spectrum analyzer but two are reserved for left and right stereo VU meters on the second display.

The project from [Mark] is originally based on this software from [DIYLAB] so everything is open-source. While it was originally built for a specific piece of hardware, [Mark] has it set up with a line in and line out plus a microphone input so it can be used for virtually any audio hardware now. For another take on the classic VU meter, take a look at this design based on an Arudino instead.

Continue reading “Teensy Spectrum Analyzer Has 170 Channels”

Casting Parts In Urethane: Tips From A Master

When you want a couple copies of a thing, you can 3D print ’em. When you want a ton of them, you might consider making a mold. If those are the shoes you’re in, you should check out this video from [Robert Tolone] (embedded below). Or heck, just check out all of his videos.

Even just in this single video from a couple years back, there are a ton of tips that’ll help you when you’re trying to pour resin of just the right color into a silicone mold. Mostly, these boil down to testing everything out in small quantities before pouring it in bulk, because a lot changes along the way. And that’s where [Robert]’s experience shines through — he knows all of the trouble spots that you need to test for.

For instance? Color matching. Resin dyes are incredibly concentrated, so getting the right amount is tricky. Mixing the color at a high concentration first and then sub-diluting it slowly allows for more control. But even then, the dried product is significantly lighter than the mixture, so some experimentation is necessary. [Robert] sneaks up on just the right color of seafoam green and then pours some test batches. And then he pours it in the exact shape of the mold just to be sure.

That’s just one of the tips in this video, which is just the tip of the mold-casting iceberg. Pour yourself a coffee, settle down, and you’ll learn something for sure. If you’re into more technical parts and CNC machining, we still love the Guerilla Guide after all these years.

Much thank to [Zane] for tipping us off to this treasure trove.

Continue reading “Casting Parts In Urethane: Tips From A Master”

Edging Ahead When Learning On The Edge

“With the power of edge AI in the palm of your hand, your business will be unstoppable.

That’s what the marketing seems to read like for artificial intelligence companies. Everyone seems to have cloud-scale AI-powered business intelligence analytics at the edge. While sounding impressive, we’re not convinced that marketing mumbo jumbo means anything. But what does AI on edge devices look like these days?

Being on the edge just means that the actual AI evaluation and maybe even fine-tuning runs locally on a user’s device rather than in some cloud environment. This is a double win, both for the business and for the user. Privacy can more easily be preserved as less information is transmitted back to a central location. Additionally, the AI can work in scenarios where a server somewhere might not be accessible or provide a response quickly enough.

Google and Apple have their own AI libraries, ML Kit and Core ML, respectively. There are tools to convert Tensorflow, PyTorch, XGBoost, and LibSVM models into formats that CoreML and ML Kit understand. But other solutions try to provide a platform-agnostic layer for training and evaluation. We’ve also previously covered Tensorflow Lite (TFL), a trimmed-down version of Tensorflow, which has matured considerably since 2017.

For this article, we’ll be looking at PyTorch Live (PTL), a slimmed-down framework for adding PyTorch models to smartphones. Unlike TFL (which can run on RPi and in a browser), PTL is focused entirely on Android and iOS and offers tight integration. It uses a react-native backed environment which means that it is heavily geared towards the node.js world.

Continue reading “Edging Ahead When Learning On The Edge”

A Simple RP2040-Based Audio DSP Board

If you’re one of those people who got into building electronics for the purpose of making music, then this Raspberry Pi RP2040-based audio DSP project by [DatanoiseTV] might be of interest. Provided is a FreeRTOS template application for creating Eurorack compatible synthesizers, effects processors, and similar DSP-based audio widgets.

The hardware platform has the usual Eurorack connectivity, including MIDI in, Control Voltages (CV) and the usual 5V-compatible triggers. An audio output is provided to send the audio out to the system mixer or any other analog modules. Additionally, connections are provided for a rotary encoder, a few push buttons, and an OLED display to allow construction of a rudimentary user interface on the module, if that is required.

The application template is generic enough, however the project is intended to be used with the Vult DSP transcompiler. Vult is a high-level programming language designed to enable easy creation of audio synthesizers and similar, producing C++ code as an output of the compilation process. This is then wrapped up with the RTOS goodies (although you don’t actually need them) to drop onto the RP2040 in the usual way, via the handy USB-C port. So, if you’re looking to get into DSP-based Eurorack modules for your homebrew synth rack, this might be a good place to start.

Just like the RP2040 isn’t the most obvious choice for a DSP application, neither is the ESP32 for that matter, but who cares? many modern micros are more than capable of audio DSP these days, with or without the dedicated functionality.

Linux Fu: Docking Made Easy

Most computer operating systems suffer from some version of “DLL hell” — a decidedly Windows term, but the concept applies across the board. Consider doing embedded development which usually takes a few specialized tools. You write your embedded system code, ship it off, and forget about it for a few years. Then, the end-user wants a change. Too bad the compiler you used requires some library that has changed so it no longer works. Oh, and the device programmer needs an older version of the USB library. The Python build tools use Python 2 but your system has moved on. If the tools you need aren’t on the computer anymore, you may have trouble finding the install media and getting it to work. Worse still if you don’t even have the right kind of computer for it anymore.

One way to address this is to encapsulate all of your development projects in a virtual machine. Then you can save the virtual machine and it includes an operating system, all the right libraries, and basically is a snapshot of how the project was that you can reconstitute at any time and on nearly any computer.

In theory, that’s great, but it is a lot of work and a lot of storage. You need to install an operating system and all the tools. Sure, you can get an appliance image, but if you work on many projects, you will have a bunch of copies of the very same thing cluttering things up. You’ll also need to keep all those copies up-to-date if you need to update things which — granted — is sort of what you are probably trying to avoid, but sometimes you must.

Docker is a bit lighter weight than a virtual machine. You still run your system’s normal kernel, but essentially you can have a virtual environment running in an instant on top of that kernel. What’s more, Docker only stores the differences between things. So if you have ten copies of an operating system, you’ll only store it once plus small differences for each instance.

The downside is that it is a bit tough to configure. You need to map storage and set up networking, among other things. I recently ran into a project called Dock that tries to make the common cases easier so you can quickly just spin up a docker instance to do some work without any real configuration. I made a few minor changes to it and forked the project, but, for now, the origin has synced up with my fork so you can stick with the original link.

Continue reading “Linux Fu: Docking Made Easy”

Up In The Sky… It’s A Bird… It’s A Drone… Oh Yeah, It’s A Drone

One staple of science fiction is the ornithopter, which is a plane with moving wings. While these haven’t proved very practical in the general sense, a recent paper talks about mimicking natural wings changing shape to improve maneuverability in drones and other aircraft. In particular, the paper talks about how the flight performance of many birds and bats far exceeds that of conventional aircraft.

The technical term for being more maneuverable than a conventional aircraft is, unsurprisingly, called supermaneuverability. Aircraft performing things like the Pugachev Cobra maneuver (watch the video below, or the latest Top Gun movie) require this type of operation, and with modern aircraft, this means using thrust-vector technology along with unstable airframes and sophisticated computer control. That’s not how birds or bats operate, though, and the paper uses modern flight simulation techniques to show that biomimicry and thrust vector technology don’t have to be mutually exclusive.

Continue reading “Up In The Sky… It’s A Bird… It’s A Drone… Oh Yeah, It’s A Drone”