JavaScript App Uses Advanced Math To Make PCBs Easier To Etch

We all remember the litany from various math classes we’ve taken, where frustration at a failure to understand a difficult concept bubbles over into the classic, “When am I ever going to need to know this in real life?” But as we all know, even the most esoteric mathematical concepts have applications in the real world, and failure to master them can come back to haunt you.

Take Voronoi diagrams, for example. While we don’t recall being exposed to these in any math class, it turns out that they can be quite useful in a seemingly unrelated area: converting PCB designs into easy-to-etch tessellated patterns. Voronoi diagrams are in effect a plane divided into different regions, or “cells”, each centered on a “seed” object. Each cell is the set of points that are closer to a particular seed than they are to any other seed. For PCBs the seeds can be represented by the traces; dividing the plane up into cells around those traces results in a tessellated pattern that’s easily etched.

To make this useful to PCB creators, [Craig Iannello] came up with a JavaScript application that takes an image of a PCB, tessellates the traces, and spits out G-code suitable for a laser engraver. A blank PCB covered with a layer of spray paint, the tessellated pattern is engraved into the paint, and the board is etched and drilled in the usual fashion. [Craig]’s program makes allowances for adding specific features to the board, like odd-shaped pads or traces that need specific routing.

This isn’t the first time we’ve seen Voronoi diagrams employed for PCB design, but the method looks so easy that we’d love to give it a try. It even looks as though it might work for CNC milling of boards too.

Thousands Of Discrete MOSFETs Make Up This Compact CPU-Less Computer

How long has it been since a computer could boast about the fact that it contained 2,500 transistors? Probably close to half a century now, at a guess. So in a world with a couple of billion transistors per chip, is a 2,500-transistor computer really something to brag about? Yes. Yes, it is.

The CPU-less computer, called the TraNOR by its creator [Dennis Kuschel], is an elaboration on his previous MyNOR, another CPU-less machine that used a single NOR-gate made of discrete transistors as the core of its arithmetic-logic unit (ALU). Despite its architectural simplicity, MyNOR was capable of some pretty respectable performance, and even managed to play a decent game of Tetris. TraNOR, on the other hand, is much more complicated, mainly due to the fact that instead of relying on 74HC-series chips, [Dennis] built every single gate on the machine from discrete MOSFETs. The only chips on the four stacked PCBs are a trio of memory chips; we don’t fault him at all for the decision not to build the memory — he may be dedicated, but even art has its limits. And TraNOR is indeed a work of art — the video below shows the beautiful board layouts, with seemingly endless arrays of SMD transistors all neatly arranged and carefully soldered. And extra points for using Wintergatan’s marble machine melody as the soundtrack, too.

As much as we loved the original, TraNOR is really something special. Not only is it beautiful, but it’s functional — it’s even backward-compatible with MyNOR’s custom software. Hats off to [Dennis] for pulling off another wonderful build, and for sharing it with us.

Continue reading “Thousands Of Discrete MOSFETs Make Up This Compact CPU-Less Computer”

Transparent Hard Drive Gives Peek At The Platters

Solid-state drives (SSDs) are all the rage these days, and for good reason. But that doesn’t mean the era of the spinning disk is over, as traditional mechanical hard drives still offer a compelling value for mass storage applications where access times aren’t as critical. But the components inside these “slow” mechanical drives are still moving at incredible speeds, which [The Developer Guy] has nicely illustrated with his transparent hard drive.

Now unfortunately the technology to produce a fully transparent hard drive doesn’t exist, but laser cutting a new top plate out of acrylic is certainly within the means of the average hacker. The process is pretty straightforward: cut out a piece of clear plastic in the same shape and size as the drive’s original lid, put the appropriate mounting holes in it, and find some longer screws to accommodate the increased thickness.

Because this is just for a demonstration, [The Developer Guy] doesn’t need to worry too much about dust or debris getting on the platters; but we should note that performing this kind of modification on a drive you intend on actually using would be a bad idea unless you’ve got a cleanroom to work in.

In the videos below [The Developer Guy] records the drive while it’s in use, and at one point puts a microscope on top of the plastic to get a close-up view of the read/write head twitching back and forth. We particularly liked the time-lapse of the drive being formatted, as you can see the arm smoothly moving towards the center of the drive. Unfortunately the movement of the platters themselves is very difficult to perceive given their remarkably uniform surface, but make no mistake, they’re spinning at several thousand RPM.

Have an old mechanical drive of your own that you’re not sure what to do with? We’ve seen them turned into POV clocks, impromptu rotary encoders, and even surprisingly powerful blower fans.

Continue reading “Transparent Hard Drive Gives Peek At The Platters”

River Cleanup Aims To Expand In Earnest To Tackle Plastic Pollution

The Great Pacific Garbage Patch is just one of a number of pollution disasters affecting the world’s oceans. All over the globe, huge amounts of plastic enter waterways every day, causing havoc in delicate ecosystems.

Heading up the charge to deal with the problem, The Ocean Cleanup have been working on a variety of projects to help clean up plastic pollution. Chief among these is their river cleanup efforts, aiming to stop plastic pollution from reaching the ocean in the first place. The non-profit group intends to rapidly scale up its efforts, partnering with Finnish industrial manufacturer Konecranes in order to put its latest river cleaning design into series production.

We last reported on the group’s efforts in 2020, with their Interceptor craft operating in rivers in Malaysia, Indonesia, and the Dominican Republic. They’ve since refined the design for better functionality and easier deployment. Let’s jump in and see what they’ve learned and how their hunt for plastic pollution is shaping up.

Continue reading “River Cleanup Aims To Expand In Earnest To Tackle Plastic Pollution”

Linus Åkesson’s ‘A Mind Is Born’ Commodore 64 Demo In Just 256 Bytes

It would be an understatement to say that the Commodore 64 demo scene is quite amazing. For those who are unaware, a ‘demo’ in this context is essentially a technological demonstration. Usually to show off particular effects or other (visual) properties that either push the limits of the platform on which it is being run, or use its hardware in a special fashion.  In the case of [Linus Åkesson]’s A Mind Is Born demo, the challenge was to do as much as possible in 256 bytes, while providing an audiovisual experience.

Although at first glance 256 bytes may sound like a lot to work with, this code has to generate the entire melody that is output via the Commodore 64’s SID audio chip, while simultaneously generating an attractive visual pattern. This is quite an undertaking, as the video capture of the result (included after the break) makes clear. The secret sauce here is to make use of the C64’s SID audio & VIC-II video chips.

Driven by a 60 Hz timer interrupt, the three voices of the SID are used to play the kick drum and bass, melody and drone respectively, creating the 64 total bars of the music using a linear-feedback shift register (LFSR). This means that the melody is in a sense randomly generated, but deterministically enough to sound pleasing to the human ear.

For the visual side, the C64 runs in Extended Character Mode, using fonts along with a background color to create interesting patterns using what is essentially a cellular automaton algorithm. While there are some visual glitches due overwriting of video data, and a race condition, these end up adding to the charm. The resulting audio track is pretty catchy too, and absolutely worthy of a listen.

Thanks for the tip, Johannes!

(That banner image?  That _is_ the whole code.)

Continue reading “Linus Åkesson’s ‘A Mind Is Born’ Commodore 64 Demo In Just 256 Bytes”

Raspberry Pi RP2040: Hands-On Experiences From An STM32 Perspective

The release of the Raspberry Pi Foundation’s Raspberry Pi Pico board with RP2040 microcontroller has made big waves these past months in the maker community. Many have demonstrated how especially the two Programmable I/O (PIO) state machine peripherals can be used to create DVI video generators and other digital peripherals.

Alongside this excitement, it raises the question of whether any of this will cause any major upheaval for those of us using STM32, SAM and other Cortex-M based MCUs. Would the RP2040 perhaps be a valid option for some of our projects? With the RP2040 being a dual Cortex-M0+ processor MCU, it seems only fair to put it toe to toe with the offerings from one of the current heavyweights in the 32-bit ARM MCU space: ST Microelectronics.

Did the Raspberry Pi Foundation pipsqueak manage to show ST’s engineers how it’s done, or should the former revisit some of their assumptions? And just how hard is it going to be to port low-level code from STM32 to RP2040? Continue reading “Raspberry Pi RP2040: Hands-On Experiences From An STM32 Perspective”

jellyandmarshmallows windTunnel close-up

Perfecting Paper Planes Peering Past Perspex Portals

This wind tunnel is a pile of junk and we love it! When making science and engineering accessible to kids, it really helps to show that it doesn’t require a fancy research lab. [Jelly & Marshmallows] show kids that it takes little more than cardboard, duct tape, and dumpster-diving to up your paper airplane game to NASA levels of engineering.

[Jelly & Marshmallows] built their wind tunnel for a Maker Faire using the aforementioned cheap and free materials for the straightener, collector, diffuser, and fan sections. We especially love the efficient hack of using stacked ceiling light diffusers rather than hundreds of straws for the straightener.

 

The most time went into the working section, custom-built from plywood frames and acrylic windows. Many 3D printed parts came together to convert a smoke-ring gun to emit smoke trails and LEDs were employed to make those trails a little easier to see. We think the magnetic clips for quick changes of aircraft and their position along a steel ruler were inspired.

The kids attending the Maker Faire (we miss those!) loved the exhibit, having the best time hitting a big green arcade button to spin up the fan. It’s the little things in life. How would you get the kids even more involved with analyzing aerodynamics and make the smoke trails more visible?

 

Thanks for the tip [Rómulo Antão]