Coronavirus Testing: Just The Facts

The news these days is dominated by the one big story: the COVID-19 pandemic. Since the first reports of infection surfaced in China sometime in late 2019, the novel coronavirus that causes the disease, bloodlessly dubbed SARS-CoV-19, has swept around the globe destroying lives, livelihoods, and economies. Getting a handle on the disease has required drastic actions by governments and sacrifices by citizens as we try to slow the rate of infection

As with all infectious diseases, getting ahead of COVID-19 is a numbers game. To fight the spread of the virus, we need to know who has it, where they are, where they’ve been, and whom they’ve had contact with. If we are unable to gather the information needed to isolate potential carriers, all that we can do is impose mass quarantines and hope for the best. Hence the need for mass COVID-19 testing, and the understandable hue and cry about its slow pace and the limited availability of test kits.

But what exactly do these test kits contain? What makes mass testing so difficult to implement? As we shall see, COVID-19 testing is anything but simple, even if the underlying technology, PCR, is well-understood and readily available. A lot of the bottlenecks are, as usual, bureaucratic, but there are technical limits too. Luckily, there are clever ways around those restrictions, but understanding the basics of COVID-19 testing is the best place to start.

Continue reading “Coronavirus Testing: Just The Facts”

Breaking Into A Secure Facility: STM32 Flash

In a perfect world, everything would be open source. Our current world, on the other hand, has a lot of malicious actors and people willing to exploit trade secrets if given the opportunity, so chip manufacturers take a lot of measures to protect their customers’ products’ firmware. These methods aren’t perfect, though, as [zapb] shows while taking a deeper look into an STM microcontroller.

The STM32F0 and F1 chips rely on various methods of protecting their firmware. The F0 has its debug interface permanently switched off, but the F1 still allows users access to this interface. It uses flash memory read-out protection instead, which has its own set of vulnerabilities. By generating exceptions and exploiting the intended functions of the chip during those exceptions, memory values can be read out of the processor despite the memory read-out protection.

This is a very detailed breakdown of this specific attack on theses controllers, but it isn’t “perfect”. It requires physical access to the debug interface, plus [zapb] was only able to extract about 94% of the internal memory. That being said, while it would be in STM’s best interests to fix the issue, it’s not the worst attack we’ve ever seen on a piece of hardware.

Inverse Kinematics Robot Arm Magna-Doodles The Time For You

Following a surge of creativity fueled by the current lockdown, [Diglo] writes in with his tabletop clock driven by a robotic arm drawing on a Magna Doodle tablet. And if you have one of those still lying around with some old toys and don’t mind cannibalizing it for the project, you too can follow along the source files to build your own.

The clock works by exploiting the principle that Magna Doodle tablets work by being drawn on with a magnetic stylus. That way, to draw on one of them you don’t need to add a point of articulation to bring the pen up and down, [Diglo] simply attached a controllable electromagnet to the end of a two-dimensional SCARA arm. In total, the whole build uses three stepper motors, two to control the movement of the arm, and one on the back of the tablet to sweep a magnetic bar which “erases” it.

This clock is similar to another we’ve featured a few years ago, which also used a Magna Doodle, but greatly improves on the idea. If a Magna Doodle seems too childish to build a magnetic clock however, there’s always ferrofluidic displays to try to dip your fingers into, but we really think you should watch this one in action after the break first.

Continue reading “Inverse Kinematics Robot Arm Magna-Doodles The Time For You”

Ingenious Hacks That Brought The Original Prince Of Persia To Life

For many 8-bit computing veterans, the original Prince of Persia game was our first exposure to fluid life-like animation on screen. This groundbreaking technical achievement earned the game’s place in nostalgia and history. Ars Technica invited its original creator [Jordan Mechner] to sit in front of a camera and talk through many technical and game design challenges he had to solve. (Video embedded below. Bonus: correct pronunciation of Karateka directly from the creator’s mouth.)

Enjoy the journey back in time as [Jordan] broke down the convoluted process behind Prince of Persia‘s rotoscope animation. Starting with VCR footage, to film negatives, to tracing out with black markers and white correction fluid to generate a high contrast reference suitable for the (then) state-of-the-art digitizer. But generating those frames was just the beginning! They consumed majority of an Apple II’s memory, thus fighting memory constraints was a persistent headache. Fortunately for us, that limitation also motivated memorable elements such as our “Shadow Man” alter ego.

This Prince of Persia feature is the latest episode of Ars Technica’s “War Stories” series, inviting people behind notable games to talk about their work behind the scenes. The creators of Myst put a lot of effort into minimizing the impact of CD-ROM seek times, an entirely theoretical endeavour as they had no CD burner for verification. The creators of Crash Bandicoot paged in game content from CD in 64kb chunks as a player progressed, allowing creation of levels too large to fit in a PlayStation’s memory all at once. Read over these and other short synopsis of episodes so far or go straight to their YouTube playlist.

If this talk of wrangling bits with 6502 assembly code has whet your appetite for more, the source code for Prince of Persia is available for digging into. Don’t worry if you have long since lost track of your Apple II (or never had one) as the code can run in an emulator.

Continue reading “Ingenious Hacks That Brought The Original Prince Of Persia To Life”

The Drone That Can Play Dodgeball

Drones (and by that we mean actual, self-flying quadcopters) have come a long way. Newer ones have cameras capable of detecting fast moving objects, but aren’t yet capable of getting out of the way of those objects.  However, researchers at the University of Zurich have come up with a drone that can not only detect objects coming at them, but can quickly determine that they’re a danger and get out of the way.

The drone has cameras and accompanying algorithms to detect the movement in the span of a couple of milliseconds, rather than the 20-40 milliseconds that regular quad-copters would take to detect the movement. While regular cameras send the entire screens worth of image data to the copter’s processor, the cameras on the University’s drone are event cameras, which use pixels that detect change in light intensity and only they send their data to the processor, while those that don’t stay silent.

Since these event cameras are a new technology, the quadcopter processor required new algorithms to deal with the way the data is sent. After testing and tweaking, the algorithms are fast enough that the ‘copter can determine that an object is coming toward it and move out of the way.

It’s great to see the development of new techniques that will make drones better and more stable for the jobs they will do. It’s also nice that one day, we can fly a drone around without worrying about the neighborhood kids lobbing basketballs at them. While you’re waiting for your quadcopter delivered goods, check out this article on a quadcopter testbed for algorithm development.

LEGO My Colorful Custom Clock

[Sofia] spent a lot of time looking around for the perfect LEGO clock. Eventually, she realized that the perfect LEGO clock is, of course, the one you build yourself. So if you find yourself staring at the same old boring clock, contemplating time and the meaning of time itself, why not spend some time making a new timepiece?

You probably already had the LEGO out (no judgment here). This build doesn’t take a whole lot of building blocks — just a microcontroller, a real-time clock module, some LED matrices to display the digits, shift registers if they’re not already built into the matrices, and a pair of buttons for control. [Sofia] used an Arduino Nano, but any microcontroller with enough I/O ought to work. Everybody needs a colorful new way to block out their time.

We love the way this clock looks, especially the transparent panels in front of the LED panels. Given the countless custom pieces out there from all the special sets over the years, we bet you could come up with some really interesting builds.

If your kid is too young to tell time, try building a kid-friendly clock to give them segmented structure.

Via r/duino

MIT Ventilator Designed With Common Manual Resuscitator; Submitted For FDA Testing

In many parts of the world the COVID-19 pandemic is causing shortages in hospital space, staff, medical supplies, and equipment. Severe cases may require breathing support, but there are only so many ventilators available. With that in mind, MIT is working on FDA approval of an emergency ventilator system (E-Vent). They have submitted the design to the FDA for fast track review. The project is open source, so once they have approval the team will release all the data needed to replicate it.

The design is actually made simple by using something that is very common: a manual resuscitator. You have doubtlessly seen these on your favorite medical show. It is the bag someone squeezes while the main character struggles valiantly to save their patient. Of course, having someone sit and squeeze the bag for days on end for thousands of people isn’t very practical and that’s where they’ve included an Arduino-controlled motor to automate the process.

Continue reading “MIT Ventilator Designed With Common Manual Resuscitator; Submitted For FDA Testing”