Even Faster Fourier Transforms On The Raspbery Pi Zero

Oftentimes in computing, we start doing a thing, and we’re glad we’re doing it. But then we realise, it would be much nicer if we could do it much faster. [Ricardo de Azambuja] was in just such a situation when working with the Raspberry Pi Zero, and realised that there were some techniques that could drastically speed up Fast Fourier Transforms (FFT) on the platform. Thus, he got to work.

The trick is using the Raspberry Pi Zero’s GPU to handle the FFTs instead of the CPU itself. This netted Ricardo a 7x speed upgrade for 1-dimensional FFTs, and a 2x speed upgrade for 2-dimensional operations.

The idea was cribbed from work we featured many years ago, which provided a similar speed up to the very first Raspberry Pi. Given the Pi Zero uses the same SoC as the original Raspberry Pi but at a higher clock rate, this makes perfect sense. However, in this case, [Ricardo] implemented the code in Python instead of C as suits his use case.

[Ricardo] uses the code with his Maple Syrup Pi Camera project, which pairs a Coral USB machine learning accelerator with a Pi Zero and a camera to achieve tasks such as automatic licence plate recognition or facemask detection. Fun!

3D Printed Sensor Detects Glyphosate

Typically, detecting glyphosate — a herbicide — in a beverage requires a sophisticated test setup. But Washington State University has a 3D printed sensor that uses nanotubes to simplify the detection of the toxin.

The idea is very similar to inexpensive blood glucose monitors. The test will eventually find use for human samples, but the initial testing was for detecting contamination in orange juice.

Continue reading “3D Printed Sensor Detects Glyphosate”

3D printed rocket laying on grass

3D Printed Rocket’s Features Are Out Of This World

We’re delighted to see the progress on [Foaly]’s 3D-printed Cortex 2 rocket, and the latest build log is full of beautiful pictures and design details. Not only is this rocket jam-packed with an efficiency of electronics and smart design, but it almost seems out to single-handedly prove that 3D-printing is far from the novelty some think it is.

Electronics and wires packing the fuselage of a model rocket
Cable management and component layout is far from a trivial task in a rocket like this.

There is so much going on in the Cortex 2 that it simply wouldn’t be possible to do everything it does without the ability to make one’s own parts exactly to specification. In fact, there is so much going on that cable management is its own challenge.

Everything in the build log is interesting, but the design of the parachute system is of particular note. [Foaly]’s original Cortex rocket met it’s end when the parachute failed to deploy, and Cortex 2 is determined to avoid that fate if it can. For the parachute and any cords and anchors, a careful layout maximizes the chances of a successful deployment without anything tangling, but there are some extra features as well. The panel covering the parachute is mounted with the help of four magnets, which are mounted with opposing polarities. This provides an initial repulsing force when the door is unlocked by a servo, which should help wind immediately rush in to the opening to blow the panel away. The recovery system even has its own dedicated microcontroller and can operate autonomously; even if software for everything else crashes, the parachute will still get deployed. Locking connectors for all cables also ensure that acceleration forces don’t dislodge any contacts.

Everything about the rocket looks great, and the amount of work that has gone into the software is particularly evident. The main controller even has an interactive pre-flight checklist, which is a fantastic feature.

The last time we saw the Cortex 2 it was still only about half built, and we can’t wait to see how it performs. Rocketry is a field that has benefited greatly from things like 3D printing, the availability of highly-integrated electronics, and even such things as a rocket design workbench for FreeCAD. Better tools enable better work, after all.

Firmware Find Hints At Subscription Plan For ReMarkable Tablet

We’ve been keeping a close eye on the development of electronic paper tablets such as the reMarkable for a while now. These large-format devices would be a great way to view schematics and datasheets, and with the right software, could easily become an invaluable digital sidekick. Unfortunately, a troubling discovery made in a beta version of the reMarkable firmware is a strong indication the $400 USD device may be heading down a path that many in this community wouldn’t feel comfortable with.

While trying to get a reMarkable tablet running firmware version 2.10.0.295 synced up to self-hosted server using rmfakecloud, Reddit user [dobum] was presented with a very unusual prompt. The tablet displayed several subscription levels, as well as brief description of what each one unlocked. It explained that standard users would get “basic functions only”, while the highest tier subscription would unlock an “expanding universe of powerful tools” for the e-paper tablet. In addition, only recently used documents would be synced with the cloud unless you had a paid subscription.

Continue reading “Firmware Find Hints At Subscription Plan For ReMarkable Tablet”

An Entirely Frivolous Way To Measure Data

[lexie] is a librarian, and librarians live in the real world. They’re not concerned with vague digital notions about the size of data, but practical notions of space. Thus, she created a tool to answer an important question: how long do your shelves need to be if you’re storing all your information on 3.5″ floppy disks?

It’s a great question, and one we find ourselves asking, well, pretty much never. [lexie]’s tool is also built using modern web technologies, and 3.5″ floppy disks were never really used for bulk storage, either. It just makes the whole thing all the more frivolous, and that makes it more fun.

You can key in any quantity from megabytes to exabytes and the tool will spit out the relevant answer in anything from millimeters to miles as appropriate. Despite the graphics on the web page, it does assume rational shelving practices of placing disks along the shelves on their thinner 4 mm edge.

We’d love to see a expanded version that covers other storage methods, like tape, hard drives, or burnt media. It could actually become pretty useful for those building their own mass storage farms at home. With CHIA cryptocurrency that could become more popular, even if it does run us all out of hard drives along the way. Altnernatively, you might consider hooking up a floppy controller for your Raspberry Pi.

 

Ask Hackaday: What Can Only A Computer Do?

It is easy to apply computers to improve things we already understand. For example, instead of a piano today, you might buy a synthesizer. It looks and works — sometimes — as a piano. But it can also do lots of other things like play horns, or accompany you with a rhythm track or record and playback your music. There’s plenty of examples of this: word processors instead of typewriters, MP3 players instead of tape decks, and PDF files instead of printed material. But what about something totally new? I was thinking of this while looking at Sonic Pi, a musical instrument you play by coding.

But back to the keyboard, the word processor, and the MP3 player. Those things aren’t so much revolutionary as they are evolutionary. Even something like digital photography isn’t all that revolutionary. Sure, most of us couldn’t do all the magic you can do in PhotoShop in a dark room, but some wizards could. Most of us couldn’t lay out a camera-ready brochure either, but people did it every day without the benefit of computers. So what are the things that we are using computers for that are totally new? What can you do with the help of a computer that you absolutely couldn’t without?

Continue reading “Ask Hackaday: What Can Only A Computer Do?”

Home Automation Terminal With Cyberpunk Style

The OLKB-Terminal designed by [Jeff Eberl] doesn’t have a battery, can’t fold up (even if it seems like it could), and is only portable in the sense that you can literally pick it up and move it somewhere else. So arguably it’s not really a cyberdeck per se, but it certainly does look the part. If you need to be furiously typing out lines of code in a dimly lit near-future hacker’s den, this should do you nicely.

[Jeff] has provided everything you’d need to recreate this slick little machine on your own, though he does warn that some of the hardware decisions were based simply on what he had on-hand at the time, and that better or cheaper options may exist. So for example if you don’t want to use the Raspberry Pi 4, you can easily swap it out for some other single-board computer. Though if you want to change something better integrated, like the LCD panel, it will probably require modifications to the 3D printed components.

The rear electronics tray offers plenty of room for expansion.

The slim mechanical keyboard that [Jeff] used for the OLKB-Terminal, which in some ways set the tone for the whole design, is actually a completely separate open source project from [Victor Lucachi]. The VOID30 is a 3D printed, 30% handwired ortholinear keyboard that runs the popular QMK firmware on an Arduino Pro Micro. He’s implemented a couple tweaks, namely using a USB-C equipped Arduino clone, but otherwise it’s the same as upstream. So if you’re not in the market for a little bedside cyberpunk terminal but love its sleek keyboard, you’re in luck.

Software wise, [Jeff] has the OLKB-Terminal hooked into his larger Home Assistant system. This gives him an attractive status display of the whole network, and with just a tap on the terminal’s seven inch touch screen, he’s able to directly control devices around the home. That said, at the end of the day it’s just a Raspberry Pi, so it could really run whatever you want.

While cyberdeck builds might be all the rage right now, we do appreciate projects that bring those same design tenets to the desktop. From the gorgeous faux-retro designs of [Oriol Ferrer MesiĆ ] to modernized pieces of vintage hardware, truly personal computers that can be easily upgraded and repaired don’t have to be limited to something you can lug around with a guitar strap.