Tiny Prisms Let You See What Lies Beneath A BGA Chip

Compared to through-hole construction, inspecting SMD construction is a whole other game. Things you thought were small before are almost invisible now, and making sure solder got where it’s supposed to go can be a real chore. Add some ball grid array (BGA) chips into the mix, where the solder joints are not visible by design, and inspection is more a leap of faith than objective proof of results.

How it works.

Unless, of course, you put the power of optics to work, as [Petteri Aimonen] does with this clever BGA inspection tool. It relies on a pair of tiny prisms to bounce light under one side of a BGA chip and back up the other. The prisms are made from thin sheets of acrylic; [Petteri] didn’t have any 1-mm acrylic sheet on hand, so he harvested material from a razor blade package. The edge of each piece was ground to a 45-degree angle and polished with successively finer grits until the surfaces were highly reflective. One prism was affixed to a small scrap of PCB with eleven SMD LEDs in a row, forming a light pipe that turns the light through 90 degrees. The light source is held along one edge of a BGA, shining light underneath to the other prism, bouncing light through the forest of solder balls and back toward the observer.

The results aren’t exactly crystal clear, which is understandable given the expedient nature of the materials and construction employed. But it’s certainly more than enough to see any gross problems lying below a BGA, like shorts or insufficiently melted solder. [Petteri] reports that flux can be a problem, too, as excess of the stuff can crystalize between pads under the BGA and obstruct the light. A little extra cleaning should help in such cases.

Haven’t tackled a BGA job yet? You might want to get up to speed on that.

Manta project logo - a manta ray, with cursive 'manta' written next to it

Manta: An Open On-FPGA Debug Interface

We always can use more tools for FPGA debugging, and the Manta project by [Fischer Moseley] delivers without a shadow of a doubt. Manta lets you add a debug and data transfer channel between your computer and your FPGA, that you can easily access with helpfully included Python libraries.

With just a short configuration file as input, it gives you cores you add into your FPGA design, tapping the signals of interest as an FPGA-embedded logic analyzer, interacting with registers, and even letting you quickly transfer tons of data if you so desire.

Manta is easy to install, is developer-friendly, has been designed in Amaranth, and is fully open source as you would expect. At the moment, Manta supports both UART and Ethernet interfaces for data transfer. As for embedding the Manta cores into your project, they can be exported to both Amaranth and Verilog. You should check out the documentation website — it contains everything you might want to know to get started quick.

The Manta project has started out as our hacker’s MIT thesis, and we’re happy that we can cover it for you all. FPGA-embedded logic analyzers are a fascinating and much-needed tool, and we’ve had our own [Al Williams] tell you about his on-FPGA logic analysis journey!

Programming Ada: Packages And Command Line Applications

In the previous installment in this series we looked at how to set up an Ada development environment, and how to compile and run a simple Ada application. Building upon this foundation, we will now look at how to create more complex applications, along with how to parse and use arguments passed to Ada applications on the command line (CLI). After all, passing flags and strings to CLI applications when we launch them is a crucial part of user interaction, as well as when automating systems as is the case with system services.

The way that a program is built-up is also essential, as well-organized code eases maintenance and promotes code reusability through e.g. modularity. In Ada you can organize subprograms (i.e. functions and procedures) in a declarative fashion as stand-alone units, as well as embed subprograms in other subprograms. Another option is packages, which roughly correspond to C++ namespaces, while tagged types are the equivalent of classes. In the previous article we already saw the use of a package, when we used the Ada.Text_IO package to output text to the CLI. In this article we’ll look at how to write our own alongside handling command line input, after a word about the role of the binding phase during the building of an Ada application.

Continue reading “Programming Ada: Packages And Command Line Applications”

This Arduino Is Feeding The Fishes

Depending on the species, a fish can be a fairly low-maintenance pet. But of course even the most laid back of creatures needs to eat, so you’ll have to make sure to feed them regularly. If you’re a fish owner who would like to simplify tending to your creatures, you might find value in this project from [CrazyScience].

This fish feeder is based on an Arduino Uno, the 8-bit microcontroller development board which has done so much for so many. The Arduino drives a stepper motor, which rotates a 3D printed disc mechanism for dispensing food. Each slot of the disc is loaded with a small amount of fish food, so that when it rotates, a slot dumps its contents through a slot into the water.

Activating the system is as easy as a wave of the hand. That’s thanks to an ultrasonic sensor, which detects movement close by, and triggers the food delivery mechanism in turn. We’d love to see this upgraded with a timer mode too, though it would require the addition of a real-time clock module to the humble Arduino Uno.

It’s a simple project, but one that teaches all kinds of useful skills, from programming to design and 3D printing. We just worry that the fish bowl in the demo is a far too small for fish to remain healthy. We’ve seen some other similar projects before, too.

Continue reading “This Arduino Is Feeding The Fishes”

Supercon 2023: Jose Angel Torres On Building A Junkyard Secure Phone

If you ever wondered just what it takes to build a modern device like a phone, you should have come to last year’s Supercon and talked with [Jose Angel Torres]. He’s an engineer whose passion into investigating what makes modern devices tick is undeniable, and he tells us all about where his forays have led so far – discovering marvels that a Western hacker might not be aware of.

Six years ago, he has moved to China, having previously been responsible for making sure that their Chinese subcontractors would manufacture things in the right ways. Turns out, doing that while being separated by an ocean set up more than just the timezone barriers – they were communicating between different worlds.

[Jose] tells us of having learned Chinese on the spot, purely from communicating with people around him, and it’s no wonder he’s had the motivation! What he’s experienced is being at the heart of cycle of hardware life, where devices are manufactured, taken apart and rebuilt anew. Here’s how he tapped into that cycle, and where he’s heading now.

Continue reading “Supercon 2023: Jose Angel Torres On Building A Junkyard Secure Phone”

Pssst… Wanna Buy An Old Supercomputer?

If you spend your time plotting evil world domination while stroking your fluffy white cat in your super-villain lair, it’s clear that only the most high-performance in computing is going to help you achieve your dastardly aims. But computers of that scale are expensive, and not even your tame mad scientist can whistle one out of thin air. Never mind though, because if your life lacks a supercomputer, there’s one for sale right now in Wyoming.

The Cheyenne Supercomputer was ranked in the top 20 of global computing power back in 2016, when it was installed to work on atmospheric simulation and earth sciences. There’s a page containing exhaustive specs, but overall we’re talking about a Silicon Graphics ICE XA system with 8,064 processors at 18 cores each for a total of 14,5152 cores, and a not inconsequential 313,344 GB of memory. In terms of software it ran the SuSE Linux Enterprise Server OS, but don’t let that stop you from installing your distro of choice.

It’s now being sold on a government auction site in a decommissioned but able to be reactivated state, and given that it takes up a LOT of space we’re guessing that arranging the trucks to move it will cost more than the computer itself. If you’re interested it’s standing at a shade over $40,000 at the time of writing with its reserve not met, and you have until the 3rd of May to snag it.

It’s clear that the world of supercomputing is a fast-moving one and this computer has been superseded. So whoever buys it won’t be joining the big boys any time soon — even though it remains one heck of a machine by mere mortal standards. We’re curious then who would buy an old supercomputer, if anyone. Would its power consumption for that much computing make it better off as scrap metal, or is there still a place for it somewhere? Ideas? Air them in the comments.

Cheap Musical Tesla Coil Put Through Its Paces

Once upon a time, musical Tesla coils were something you primarily saw at high-voltage hobby meets. They’ve become more popular in recent years, and now you can even buy cheap examples online. [mircemk] decided to buy one and gave it a whirl.

The device comes with a power supply capable of delivering 2 amps at 48 V.  It’s a solid-state design, relying on SMD MOSFETs to generate high-voltage, high-frequency output that makes the sparks we all know and love. The pancake coil is key to the design, and is made using a trace on the PCB — a neat technique compared to making one with a laborious winding operation.

The coil can be used to simply generate sparks, or it can be modulated musically. In this mode of operation, it’s intended to be driven by square wave audio for simplicity’s sake. As seen in [mircemk]’s video, the sound quality is pretty decent for a cheap device, and the Super Mario theme is readily recognizable. As a guide, he also demonstrates how to drive the device using an Arduino set up for square wave audio output.

If you prefer to build your own singing Tesla coil, you can go that route instead. Or, you could buy one of these and hack it, and drop us a line with what you come up with! Similar devices are all over the ‘net. Continue reading “Cheap Musical Tesla Coil Put Through Its Paces”