A Simple Web-Based Wiring Harness Tool

When building electronic assemblies there is quite often the need to construct custom cables to hook things up. It’s all very well if you’re prototyping by hand, or just building one or two of a thing, but if you’re cranking them out using outside help, then you’re going to want to ensure that cable is described very accurately. [Christian Nimako-Boateng Jr.] presents for us the first version of wirely, a wiring harness tool. This is a web-based tool that allows one to describe the cable ends and connectivity between them, producing a handy graphic and exports to excel in a format that should be easy to follow.

Based around the wireviz Python library running on a flask-based backend, image data are sent to the web assembly front-end and rendered with OpenGL. Configuration files can be imported and exported as JSON, making it easily linkable to other tools if required. Helpfully, the tool also seems to support some kind of revision control, although we didn’t try that yet. The process is straightforward enough, one simply defines a few groups (these relate to individual PCBs or other floating items in the assembly) which each contain one or more connectors. First, the connectors are described with part numbers, and wire gauge data, before defining the list of connections (wires) showing which signal and physical pins are connected together. Nothing more complex than that yet. We think there is still some more functionality that the tool could manage, such as shielding and guarding details, twisted pair definitions and a few others, but for a first pass, wirely looks pretty handy.

If you want a more heavyweight option using IEC 60617 symbols for describing wiring harnesses, then look no farther than QElectroTech, and yes, we have covered wireviz before, just for those that want to cut out the middleman and describe their cables in Python directly.

Visual Cryptography For Physical Keyrings

Visual cryptography is one of those unusual cases that kind of looks like a good idea, but it turns out is fraught with problems. The idea is straightforward enough — an image to encrypt is sampled and a series of sub-pixel patterns are produced which are distributed to multiple separate images. When individual images are printed to transparent film, and all films in the set are brought into alignment, an image appears out of the randomness. Without at least a minimum number of such images, the original image cannot be resolved. Well, sort of. [anfractuosity] wanted to play with the concept of visual cryptography in a slightly different medium, that of a set of metal plates, shaped as a set of keyrings.

Two image ‘share pairs’ needed as a minimum to form an image when combined

Metal blanks were laser cut, with the image being formed by transmitted light through coincident holes in both plate pairs, when correctly aligned. What, we hear you ask, is the problem with this cryptography technique? Well, one issue is that of faking messages. It is possible for a malicious third party, given either one of the keys in a pair, to construct a matching key composing an entirely different message, and then substitute this for the second key, duping both original parties. Obviously this would need both parties to be physically compromised, but neither would necessarily notice the substitution, if neither party knew the originally encrypted message.  For those interested in digging in a little deeper, do checkout this classic paper by Naor and Shamir [pdf] of the Wiezmann Institute. Still, despite the issues, for a visual hack it’s still a pretty fun technique!

Want to learn a little more about crypto techniques you can do at home? Here’s our guide. Encryption too hard to break, but need a way to eavesdrop? Just punt out a flawed system, and you’re good to go.

Continue reading “Visual Cryptography For Physical Keyrings”

ICEBlaster: A Drag’n’Drop Bitstream Loader For ICE40

The iCE40 series of FPGAs gets a fair bit of coverage on these pages, largely due to its accessibility (thanks to huge efforts in reverse engineering and open tool chains) and likely also due to Lattice Semiconductors’ attitude to open source in general. Whilst these devices are small and rather limited, you can’t really beat them for a first foray into the subject. They’re plenty beefy enough for many of the simpler FPGA applications. [TinLethax] over on Hackaday.IO has plenty of experience with the devices, and has added another tool to our collective iCE40 arsenal, namely iCEBlaster, a USB mass storage device (MSC) style bootloader for drag-n-drop bitstream loading. The days of needing dedicated special programmers are starting to be numbered, with many chips now presenting a USB mass storage device to the host in order to upload the firmware image.

FPGAs don’t tend to operate this way, needing a device-specific bitstream loading upon start-up, which (unless they have OTP memory) is usually the job of an external configuration memory. iCEBlaster (a play on the Xilinx ByteBlaster programmer, maybe?) runs on the STM32F4xx series devices at least, but should be easily portable to others. The idea is pretty straightforward — dragging a new bitstream file onto the storage device initiates an FPGA target reset, which in turn allows the STM32 to send the bitstream over to the iCE40 via the SPI interface. Nothing more than that.

If you’ve been looking to get into the iCE40, this guide might be a good starting point, and every learning experience needs a good project to drive it, how about running Doom on a softcore RISC-V?

A Custom Outdoor Cooking Station For City Life

[shoobs] relocated from Australia to Luxembourg, and was really missing the whole outdoor cooking scene that is apparently very common in those parts. Now living in a modest apartment building in the city, he had no easy way to recreate some of his favorite cooking methods — specifically that of Wok Hei (breath of a wok)  — the art of Cantonese stir-frying which uses searing heat and a lot of flinging around of the food to mix it up with the burning oil. This results in a complex set of reactions utilizing smoking, caramelization, and Maillard reactions to produce the classic Cantonese smoky flavor. Not wanting an off-the-shelf solution [shoobs] took it on himself to build a balcony cooking station capable of the temperatures needed for Wok Hei, and documented it for our viewing pleasure.

Nice custom laser cut details on the regulator mounting

The build started with sourcing a free-standing burner unit from Alibaba, which proved to be a little less powerful (at 30 kW) than ideal, but still sufficient. After locating a matching regulator and pressure gauge capable of the needed flow rate to feed the hungry burner, the next task was to construct a sturdy enough bench to mount it all. This was constructed from Douglas fir slabs, butt-jointed using a 3D printed drilling jig for ease of construction.

Using a flatbed scanner, the existing burner base was digitized in order to make a model suitable for laser-cutting a new mounting plate from steel. [Shoobs] isn’t lucky enough to have access to a metal-capable laser cutter — he sent his cad files off to a cutting service.

A second plate was mounted below with a sufficient gap above the bench to act as a heat shield. This keeps the wooden worktop safe from the heat. Whilst he was laser cutting steel, [shoobs] took the opportunity to design a few other custom parts to mount the regulator and other bits, because, why wouldn’t you? We reckon the end result is pretty nice, in a minimalist and understated way.

We’re no strangers to neat cooking hacks ’round these parts, here’s a nice double-sausage burner for those emergency situations and if you need a custom BBQ burner, then look no further.

A Passive Automatic CNC Tool Changer

[Marius Hornberger] has been busy hacking his “Hammer” CNC router again, and now it sports a much desired feature — an automatic tool-changer. Having wanted one for a while, [Marius] was unhappy sacrificing a big chunk of useable bed area just to park the tool-changer magazine. An obvious solution would be to have the magazine retract away from the bed, outside of the working area. Sadly, the CNC controller had only enough spare outputs to drive the pneumatic tool changer (mounted on the spindle) leaving none spare to control the magazine assembly. So, there was only one obvious route to take, use some simple spring-loaded mechanics to move the magazine into tool-picking range with the Y axis motion instead.

Obviously, the whole thing is CNC machined on the machine itself, taking only a couple of iterations and smidge of table-saw action to get everything to fit well and operate smoothly without binding or colliding with the moving gantry. A cunning pair of levers on each end of the magazine allow it to move much further than the advancing gantry, swinging it quickly into position when the Y axis is at the extreme of its travel, and retracting away when the gantry moves back. Another nice addition to the build was a tool depth sensor (AKA: a switch) mounted off to one side, which allows the machine to find the bottom of each tool, if it is not known, so the Z axis can compensate. When combined with the automatically retracting dust shoe, this is a definitely a CNC build we’d love to see in a shop near us!

We’ve had a fair few CNC hacks over the years, including tool changers, like this one, but 3D printers can use some tool changer love too!

Continue reading “A Passive Automatic CNC Tool Changer”

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.

Can You Cheat At Tightrope Walking?

Tightrope walking is no mean feat — it takes years to master (even with a balance rod) — but that’s too much like hard work for [James Bruton]. Obviously, the solution is just a matter of the application of some electronically-controlled balancing technology, and [James] is just the guy for the job. Bearing a passing resemblance to a cross between a prop from Ghostbusters and a medieval torture device, this weighty balancing cheat device almost kind of works!

On a slightly more serious note, bipedal balance is a complex problem to solve. You have multiple limb sections, which can move independently in many ways, as well as the upper body also contributing to shifting around the center of gravity in a hard-to-predict way. So it’s no great surprise that a simple torque reaction device strapped to the torso doesn’t help a great deal, but it sure is fun to watch him trying. The bottom line is this — our bodies are pretty heavy, and the amount of force needed to correct tilt in the plane of interest is hard to generate without the reaction wheel itself being really heavy, and that extra mass doesn’t exactly help with the overall balancing problem. We reckon the overall concept is sound, it’s just that all those extra limbs flopping around make this simplistic sensing and compensation strategy only partly effective.

Stabilizing small robots is probably a bit easier than a human, such as this gyroscopically-stabilized monowheel, but sometimes you don’t even need the gyroscope, as you can control the driving wheels directly.

Continue reading “Can You Cheat At Tightrope Walking?”