Hackaday Links Column Banner

Hackaday Links: May 10, 2020

It’s a meme come true: DEF CON is canceled. Or at least canceled as the large, IRL conference that the hacker gathering has grown into. Rather than risk drawing people from all over the world and stuffing them into a Las Vegas convention hall in August, Dark Tangent has taken the prudent step of switching DEF CON 28 to a virtual meeting. If you’re interested in his reasoning behind the switch, check out his blog post on the decision. For more details on participating in DEF CON 28 in “Safe Mode”, see the FAQ.

Think that wearing a mask in public protects you from the surveillance state? Think again. Facial recognition software concern Rank One has announced new algorithms that only need to see your face from the mask up to make a match. It would seem to us that the limited number of mappable features in the periocular space would increase the error rate, and according to Rank One’s published data, that seems to be the case. But the relative error rate is still low, so expect to see this and similar periocular algorithms deployed widely. Your only defense may be to adopt the tactical shemagh as everyday wear. If only they made an N95 version.

The tech news this week was abuzz with descriptions of a new “non-fossil fuel jet engine” that could soon be powering aircraft devoid of paying passengers across our skies and perhaps directly into space using only battery power. Those reports were a bit overwrought since the experiment in question was a laboratory-scale setup using a magnetron that could have come from a smallish microwave to generate a plasma-air stream with 11 Newtons of thrust. That corresponds to an efficiency that beats that of current electric airplane engines, like those used on the Airbus E-Fan, if the extrapolation holds. So the technology is promising, but it still has a long way to go.

In what’s perhaps the longest beta in history, Inkscape 1.0 was officially released this week.

Something big — literally — is going on at Dalibor Farný’s Nixie tube factory. He dropped a video this week teasing the production of enormous Nixies for a large display installation. Each tube in the 11 by 11 tube display will be 150 mm in diameter, making them the largest Nixies ever made. Dalibor has already done much of the design work and has even started on the glasswork; the resulting tube looks a bit like the old iconoscope tubes from early TV cameras. We expect that scaling up a Nixie and producing 121 of them will present some interesting challenges, and we look forward to watching his progress.

If you’re part of a hackerspace, you should probably look at Vancouver Hackspace’s virtual tour. Not only does it show off what appears to be a great hackerspace, the video style is a great lesson in building up the excitement needed to recruit new members. There are also some great ideas in there about space layout and organization that you can leverage for your own hackerspace or even your home shop.

And finally, it’s Mother’s Day here in the US and almost 100 other countries, and circumstances may sadly keep many of us from being with Mom today. So here’s to the women who tolerated the often messy hobbies many of us pursued in our youths, who were always attentive audiences as we showed off our latest blinkenlights, and perhaps even inspired us to follow in their footsteps. Thanks, Mom!

No More Floppy Drives For This Agilent Scope

When [kiwih] picked up an Agilent 54621A scope, he was amused that it had a floppy disk. At one time, it was high-tech to use a disk to transfer scope data to your computer. Today, not so much. However, on the back was a serial port. Surely it was possible to read data from there. It is, and what results is a nice walkthrough of finding the port’s info and interfacing with it using Python.

Normally, you’d use the included BenchLinkXL software to grab data from the port, but that software is so old it would not run under Windows 10 or Wine. Searching didn’t turn up much on the serial port, but it did locate a manual for a similar Agilent scope. That manual wasn’t too helpful since it assumed you were connecting via a LAN or USB. However, it did make reference to an older model that was also similar and that was the key to finding a manual that did explain the serial port protocol.

The command set looks suspiciously like SCPI — Standard Commands for Programmable Instruments — which is a layer on top of the GPIB protocol. Many scopes speak that language, so that’s not surprising. That also means if you are in the mood to communicate with an SCPI scope, you might find the code useful, even if you don’t use a serial port or have this exact Agilent model.

SCPI has a lot of uses. For example, try talking to your scope. The cheap Rigol and similar scopes usually have SCPI and you can control and read them using the same kind of techniques.

512 Bytes Ought To Be Enough For Dinosaurs

It’s said that slow internet is worse than no internet at all, which is mainly a matter of continuously crushing all hope and sanity vs. finding peace in accepting a fate out of your control. Plus, you can easily pass the time of being catapulted back to the prehistoric ages by navigating a jumpy little creature from that same age through a field of cacti — at least if you’re using Chrome or Chromium. But neither a browser nor actually an operating system are really necessary for that, as [franeklubi] shows with a boot sector implementation of the same game.

Sure, the graphics aren’t quite on par, but compared to the original’s 3000+ lines of JavaScript, [franeklubi] managed to implement it in a few hundred lines of assembly, and was of course constrained by the 512 bytes of the boot sector itself (well, 510 plus the signature). This constraint causes a few limitations, like a slight lack of randomness in the obstacle arrangements, and a constant running speed, but it also makes it the perfect playground and starting point to delve into the world of nifty knacks and hacks, trying to squeeze every last byte.

If you want to give it a try for yourself, all you need is NASM and QEMU — and while you’re at it, why not have some Tetris along the way? We could also see this nicely combined with the real-world jumping version from a few weeks back, and turn it into a standalone arcade game. Bounce Crouch Revolution anyone?

Help Us Throw More Cycles At The Coronavirus Problem

The Hackaday community has answered the call and put their computers put to work folding proteins found in the coronavirus. Team_Hack-a-Day ranks #44 in the world so far this month, and I’ve seen us rank as high as #19 on 24-hour leaderboards.

Want to join the fight? Donate some of those computing cycles you’re not using to battling SARS‑CoV‑2. You’re probably not an epidemiologist or a vaccine researcher, but you can make their jobs easier by providing them with the data they need through the Folding@home Project.

As Dan Maloney explained in his excellent article on protein folding, understanding the incredibly complex folding behavior of the proteins in the virus will be key to finding treatments and possibly a vaccine. Folding@home connects countless computers via the internet and is now the largest supercomputer in the world, consisting of over 3.5 million CPUs and over half a million GPUs. The resulting data is freely available to researchers.

Let’s take a look at how easy it is to get up and running, how a GPU can supercharge a setup, and dip into the stats for Team_Hack-a-Day’s effort.

Continue reading “Help Us Throw More Cycles At The Coronavirus Problem”

Pulling A Crystal By Grinding It

If you own a radio transmitter, from a $10 Baofeng handheld to a $1000 fancy all-band transceiver, setting the frequency is simply a case of dialing in where you want to go. A phase-locked-loop frequency synthesizer or a software-defined radio will generate your frequency, and away you go. There was a time though when synthesizers were impossibly complex and radio amateurs were faced with a simple choice. Use an LC oscillator and put up with drifting in frequency, or use a crystal oscillator, and be restricted to only the frequencies of the crystals you had. [Mark Erdle, AE2EA] modified a 1950s broadcast AM broadcast transmitter for the 1.8MHz amateur band, and his friend [Andy Flowers, K0SM] thought it needed its crystal back for originality rather than the external frequency source [Mark] had provided. He documents the process of modifying a crystal oven and moving a crystal frequency in the video below the break.

A crystal oven is a unit containing the crystal itself alongside a thermostatic heater, and in this one, the crystal was a 1970s-vintage hermetically sealed HC6 device. He modified the oven to take a socket for older FT243 crystals because the quartz element can easily be accessed. [Andy] picked a crystal as close as he could find below the required frequency. He then ground it down with very fine grit on a glass plate, reducing its mass and thus its resonant frequency. We’re taken through the process of getting it close to frequency, but sadly don’t see the etching that he uses for the very last stage. At the end of the video, we see a QSO on the transmitter itself, which is something of an oddity in an age when AM on amateur bands has been supplanted by other modes for decades.

If you’re curious about the transmitter there’s a video thread following its restoration, and if the guts of older radio gear interests you then take a look at this aircraft receiver lovingly brought back to life.

Continue reading “Pulling A Crystal By Grinding It”

Turn An Unused Pi Zero Into A Parts Bin WiFi Extender

We know a lot of you are sitting on an unused Raspberry Pi Zero W, maybe even several of them. The things are just too small and cheap not to buy in bulk when the opportunity presents itself. Unfortunately, the Zero isn’t exactly a powerhouse, and it can sometimes be tricky to find an application that really fits the hardware.

Which is why this tip from [Tejas Lotlikar] is worth taking a look at. Using the Pi Zero W, a cheap USB WiFi adapter, and some software trickery, you can put together a cheap extender for your wireless network. The Pi should even have a few cycles left over to run ad-blocking software like Pi-hole while it shuffles your packets around the tubes.

[Tejas] explains every step of the process, from putting the Raspbian image onto an SD card to convincing wpa_supplicant to put the Pi’s WiFi radio into Access Point mode. Incidentally, this means that you don’t need to be very selective about the make and model of the USB wireless adapter. Something with an external antenna is preferable since it will be able to pull in the weak source signal, but you don’t have to worry about it supporting Soft AP.

With the software configured, all you need to finish this project off is an enclosure. A custom 3D printed case large enough to hold both the Pi and the external WiFi adapter would be a nice touch.

Reverse Engineering Saves Trashed LED Panels

While out riding his bike, [Hammond Pearce] came across a dumpster overflowing with large LED panels. Despite the fact that the model numbers didn’t reveal anything helpful after some online searching, he decided to pedal off with as many as he could safely carry. The COVID-19 lockdown left him with only a limited set of tools, be he still managed to crack the protocol used to control his e-waste score and document it for our reading pleasure.

Between the helpful labels on the PCB silkscreen and the advice of a friend that used to work on digital road signs, it didn’t take [Hammond] long to get a general idea of what the panels were looking for in terms of power and control. Especially once he noticed the MBI5024 shift registers dotting the board.

The next step was to take an ATmega328PB based development board and start throwing data at the panel’s input lines to see if he could elicit a response. With careful attention and some custom code, he eventually figured out that each byte of data sent down the line would control a 4 x 2 section of LEDs.

Once he had the basics down, the next step was to start expanding his code to handle things like shapes, text, and daisy-chained panels. After posting some of his work to Reddit, cyber-sleuths determined that the protocol appeared to be some variation of HUB75, which gave [Hammond] hints on what some of the other pins in the connector might be used for. He’s released all of his code online for anyone who might find it useful, but since he still doesn’t know who made these panels and why there’s really no telling how many of them are actually floating around out there.

Figuring out how to talk to an unknown or undocumented piece of hardware can be intimidating, but success stories like these are reminders of why it’s worth putting the effort in. As we’ve seen, the difference between trash and treasure is often a keen eye and a few lines of code.