Meet The 20 Finalists In The 2019 Hackaday Prize

The Hackaday Prize is our global engineering initiative, now in its sixth year. For 2019, the focus is on product development: with great engineering and a working prototype, can you also go the distance to embrace the user’s needs and ensure the project can be produced in quantity? Throughout the Spring and Summer we’ve been watching as hundreds step into the spotlight to share their projects with the world. Now we’re in the final stretch as these twenty entries all try to claim the grand prize of $125,000. Let’s take a look!

Continue reading “Meet The 20 Finalists In The 2019 Hackaday Prize”

Why Ada Is The Language You Want To Be Programming Your Systems With

The Ada programming language was born in the mid-1970s, when the US Department of Defense (DoD) and the UK’s Ministry Of Defence sought to replace the hundreds of specialized programming languages used for the embedded computer systems that increasingly made up essential parts of military projects.  Instead, Ada was designed to be be a single language, capable of running on all of those embedded systems, that offered the same or better level of performance and reliability.

With the 1995 revision, the language also targeted general purpose systems  and added support for object-oriented programming (OOP) while not losing sight of the core values of reliability, maintainability and efficiency. Today, software written in Ada forms the backbone of not only military hardware, but also commercial projects like avionics and air-traffic control systems. Ada code controls rockets like the Ariane 4 and 5, many satellites, and countless other systems where small glitches can have major consequences.

Ada might also be the right choice for your next embedded project. Continue reading “Why Ada Is The Language You Want To Be Programming Your Systems With”

Because Conventional Laser Harps Aren’t Dangerous Enough

In the late 1980s, the French musician [Jean-Michel Jarre] famously toured with a laser harp. The word among teenage fans was that he had to wear special gloves to stop his hands getting burned, because 1980s teens were both impressionable and didn’t know much about lasers. In fact we’re told by a member of our community who was part of his road crew that the glove was a matter of reflectivity, so laser harps remain relatively harmless and French harpists retain their fingers. To add a bit of spice to the laser harp experience, [James Cochrane] hooked up a laser rangefinder to a Tesla coil to make an instrument with a bit more crackling energy in its performance than the [Jarre] model.

It starts with a laser tape measure modified to serve as an Arduino rangefinder, coupled to custom MIDI code to make a laser harp MIDI controller. The Tesla coil in question happens also to be a MIDI instrument, so the one can control the other with ease. The addition of an earthed chain mail glove allows it to be played in close proximity to the coil, and he rewards us with a rendition of the Star Trek theme. Tesla fun and games behind us, he then gives us a demonstration with a more conventional MIDI instrument.

We’ve had innumerable Tesla coil projects here over the years, if you’re hungry for more we suggest starting with this unusual planar PCB coil design. Meanwhile you can see the laser harp coil in the video below the break.

Continue reading “Because Conventional Laser Harps Aren’t Dangerous Enough”

Norovirus Smartphone: Using Megapixels And Microfluidics To Fight The Other Kind Of Virus Infection

Chances are pretty good that at some time in your life, you’ve crossed paths with a norovirus. And chances are that you remember the encounter vividly, or at least its aftermath. I recall a run-in with the bug one Christmas, when my parents brought over more than just toys for the kids when they visited. Within a day, everyone in the house was sharing the joy. Twas the season; they don’t call it the winter vomiting bug for nothing.

Most of the 685 million norovirus infections each year resolve after a few miserable days, but some require hospitalization and 200,000 of them result in death, mainly from dehydration and mainly children. An easy to use, cheap, and accurate means of detecting the virus in the field would be quite a boon to public health. And soon, smartphones may be able to do just that.

Continue reading “Norovirus Smartphone: Using Megapixels And Microfluidics To Fight The Other Kind Of Virus Infection”

Detecting Cars With An ESP8266 Magnetometer

Having a motorized gate on your driveway is great, but only if there’s an easy way to trigger it. [Andrew] says the gate at his parent’s place could only be controlled by manually pushing a button on the panel or with a dinky remote that didn’t have nearly the range they wanted. So he decided to build his own magnetometer allowing the gate to automatically open when a car was trying to leave.

Naturally, there are commercial offerings that would solve this problem. But with a sticker price of more than $150 USD, [Andrew] was more than happy to spend a bit of time tinkering to get the job done for less than 1/10th the cost with an ESP8266 and a QMC5883X series magneto-resistive sensor. Of course, this is one of those projects that seems simple enough in your head, but ends up taking a bit of finesse to pull off in the real-world.

For one, [Andrew] had to figure out how to prevent false positives. Pretty much any object brought close enough to the sensor, including his hand, would cause it to react. He ended up coming up with a way to use a rolling average to prevent the gate from firing off just because a squirrel ran past. The built-in safeties are designed to ensure that the gate only opens when an actual car is sitting in the appropriate spot for long enough.

Speaking of, we love how [Andrew] deployed the QMC5883X sensor for this project. The small sensor board and a few moisture-absorbing packets were placed in a Sonoff IP66 waterproof enclosure, and buried under the rocks of the driveway. A standard CAT5 cable is used to tether it to the ESP8266, relay, and assorted other goodies that now live in the gate’s control box. In the future he says the cable will likely have to go into a conduit, but for now the system is working more or less how he expected.

If your estate isn’t quite palatial enough to have a motorized gate out front, we’ve seen plenty of projects that add some much-needed intelligence to the humble garage door opener which might be more your speed.

Core Rope Memory Makes One Of The Oddest LED Flashers We’ve Ever Seen

If you’ve heard of core rope memory, it will probably be in the context of vintage computing equipment such as Apollo-era NASA hardware. A string of magnetic cores and sense wires form a simple ROM arrangement, which though long-ago-superceded by semiconductor memory remains possible to recreate by the experimenter. It’s a path [Nicola Cimmino] has trodden, as he’s not only made a few nibbles of core rope memory, but incorporated it with an Arduino as part of one of the most unusual LED flashers we’ve ever seen. The memory holds a known sequence of bits which is retrieved in sequence by the Arduino, and the LED is kept flashing as long as the read values conform to those expected.

The memory itself is simple enough (and not to be confused with magnetic core memory). The cores are ferrite rings that form a sequence of small transformers that become the bits of the memory. Individual bits are set high or low by either passing a sense wire through a core to create a primary, or bypassing it. Multiple sense wires can be used for separate nibbles in the same cores, so for example his four nibbles all share the same four cores. Pulses are sent down the wires, either passing through a core or not, and equivalently picked up or not on sense lines.

In this case the sense wire is driven directly to ground by Arduino pins which means that the circuit is relying upon the current limiting of the ATmega328 to avoid destroying itself, it’s possible we’d add a driver transistor. The bits are read meanwhile from the secondary windings through a diode rectifier and capacitor to an Arduino analogue pin.

Core memory has been paired with an Arduino before on these pages, though of the RAM variety.

This CT Scan Of A PCB Is The Accidental ASMR We Didn’t Know We Needed

At risk of getting any ASMR buffs who might be reading cranky because there’s no audio, [Chris], or [@no1089] on Twitter, has gifted us with this visually stunning scan of his Maxim MAX86160 in-ear heart monitor mounted on a rigidflex PCB. You can take a look, in the video below the break.

If you’re wondering why anyone would scan a board, other than boredom, know that it’s actually quite common. X-Ray machines are commonly used as a quick, passive way to check a board that’s fresh off the production line. These aren’t the X-Rays like those of broken bones you’re (hopefully not too) used to seeing though, they’re Computed Tomography scans (CT scans, CAT scans), in effect just 3D X-Rays.

CT Scan of a BGA

For electronics manufacturers and assemblers, CT scans are incredibly useful because they provide a non-destructive way to check for errors. For example, how do you know if that middle BGA pin is actually soldered correctly? You could run a functional test and make sure everything is working (at least, everything you check), but that takes time. The longer it takes to validate, the higher the manufacturing cost. In manager speak: “cost bad. Fast good.”

It’s also common to use a CT scan to create a full 3D model of a board. This makes it easy to check every little detail, especially the ones that are visually obscured by surface mount devices or critical signal paths that are buried under board layers.

Highlight of solder joints on small-outline integrated circuit (SOIC) to a PCB’s pads.

If you want to geek out on CT scans, you can learn more about the lab that did this scan or by wading into this unclassified research paper from Australia’s Cyber and Electronic Warfare Division.

But we know you really want more of this video, but better. And we’ve got the goods. For the chill folk among you, here’s a 55-minute version without all the CT scan info cluttering the screen. For those of you currently blasting eDM in your headphones, here’s a 30 second clip of it looping at ~5x speed. Eat your heart out:

Continue reading “This CT Scan Of A PCB Is The Accidental ASMR We Didn’t Know We Needed”