Your Phone Is Now Helping To Detect Earthquakes

Most people’s personal experience with seismographs begins and ends with simple childhood science experiments. Watching a pendulum make erratic marks on a piece of paper while your classmates banged on the table gave you an idea on how the device worked, and there’s an excellent chance that’s the last time you gave the concept much thought. Even among hackers, whose gear in general tends to be more technologically equipped than the norm, you’re unlikely to find a dedicated seismograph up and running.

But that’s not because the core technology is hard to come by or particularly expensive. In fact, one could say with almost absolute certainty that if you aren’t actively reading these words on a device with a sensitive accelerometer onboard, you have one (or perhaps several) within arm’s reach. Modern smartphones, tablets, and even some laptops, now pack in sensors that could easily be pushed into service as broad strokes seismometers; they just need the software to collect and analyze the data.

Or at least, they did. By the time you read this article, Google will have already started rolling out an update to Android devices which will allow them to use their onboard sensors to detect possible earthquakes. With literally billions of compatible devices in operation all over the planet, this will easily become the largest distributed sensor network of its type ever put into operation. But that doesn’t mean you’re going to be getting a notification on your phone to duck and cover anytime soon.

Continue reading “Your Phone Is Now Helping To Detect Earthquakes”

3D On The ZX Spectrum 48K

There are times when a project becomes such a big part of a maker’s life that they find themselves revisiting it even years later. [Thanassis] combined this phenomena with his love for the ZX Spectrum when he ported one of his old 3D rendering projects to the ZX Spectrum 48K. The video below shows the result, and they speak for themselves.

The roots of this project go back around three years, when [Thanassis] posted a similar project for the ATMega328 which employed fixed point math tricks for achieving the graphics. The code needed to be even tighter to run on the Spectrum, eventually getting boiled down to just a handful of calculations. This got the proof of concept working with the z88dk compiler, but it wasn’t quite fast enough.

In the end, hand assembly optimizations nearly doubled the performance to a blistering 10 frames per second. There’s also a version that kicks it all the way up to 40 FPS, but only if you give it a few minutes to do the calculations ahead of time. With a few teaks and the right display, this project could produce some very cool retro visuals.

Continue reading “3D On The ZX Spectrum 48K”

GridSound – An Audio Workstation In Your Browser

If you’re into creating music, you’ll have a surprisingly large variety of open source options at your disposal, ranging from Audacity as rather simple audio editor to Ardour as a full-blown, studio-worthy DAW — and LMMS, Rosegarden, MusE etc. for anything in between. With [Thomas Tortorini]’s GridSound project, you’ll have one additional choice on your list now, except this one runs in your browser. So if you find yourself in a sudden moment of inspiration, all you’ll need is a browser and off you go.

From the feature set’s point of view, GridSound leans towards LMMS and offers a drum kit, piano roll, and synthesizer. It appears that you won’t be able to record real world instruments at this point, but it’s also a work in progress, so who knows what the future will bring. The code is available on GitHub and you can explore GridSound itself here — no login required, unless you want to save your work. Running in a browser, GridSound is naturally written in JavaScript and uses the Web Audio API to perform the actual audio tasks.

What’s impressive is that [Thomas] opted against any UI framework-of-the-week, but instead implemented everything from scratch in pure vanilla JavaScript. In fact, the entire code base seems to be self-contained without any third party dependencies, and that alone deserves some respect. Sure, JavaScript isn’t everybody’s cup of tea — “real developers use assembly” — so if you prefer something more physical, how about some cardboard music?

Modified Bricks Can House Energy, Too

What if building an emergency battery were as easy as painting conductive plastic onto bricks, stacking them, and charging them up? Researchers at Washington University in St. Louis have done just that — they’ve created supercapacitors by modifying regular old red bricks from various big-box hardware stores.

The bricks are coated in poly(3,4-ethylenedioxythiophene) polystyrene sulfonate (PEDOT:PSS), a conductive polymer that soaks readily into the bricks’ porous surface. When the coated brick is connected to a power source such as a solar panel, the polymer soaks up ions like a sponge. PEDOT:PSS reacts with the iron oxide in the bricks, the rust that gives them their reddish-orange color. Check out the demonstration after the break — it’s a time lapse that shows three PEDOT-coated bricks powering a white LED for ten minutes.

We envision a future where a brick house could double as a battery backup when the power goes out. The researchers thought of that too, or at least had their eye on the outdoors. They waterproofed the PEDOT-coated bricks in epoxy and found they retain 90% of their capacitance and are still efficient after 10,000 charge-discharge cycles. Since this doesn’t take any special kind of brick, it seems to us that any sufficiently porous material would work as long as iron oxide is also present for the reaction. What do you think?

If you can get your hands on the stuff, PEDOT:PSS has all kinds of uses from paper-thin conductors to homebrew organic LEDs.

Continue reading “Modified Bricks Can House Energy, Too”

Hydraulic Lifting Workbench To Save Your Back

Working on heavy mechanical machines at awkward heights can be a real back breaker. [Workshop From Scratch] knows this all to well, so he built himself a very clean hydraulic lifting workbench to use around the workshop.

As we’ve come to expect from this aptly named channel, everything on the device has been built from scratch. Though he did use an off-the-shelf manually operated hydraulic piston. The lifting mechanism consists of a parallel bar linkage which allows the benchtop to stay parallel through its entire range of motion. The hand lever of the hydraulic piston was converted to a foot pedal for comfort, and the base has some sturdy trolley wheels to move it around the workshop. Raising the table is admittedly quite slow due to the manual pumping required, but it gets the job done eventually.

Making your own tools and equipment provides a lot of satisfaction, especially if you end up using it a lot. [Workshop From Scratch] builds some excellent tools, like this magnetic drill press, magnetic vice and a workshop crane. We hope to see many more.

Continue reading “Hydraulic Lifting Workbench To Save Your Back”

Hackaday Links Column Banner

Hackaday Links: August 16, 2020

Potentially bad news for those of us who prefer not to be assimilated into the Google hive mind: Mozilla seems to be on the rocks. Citing revenue problems, the maker of Firefox and other popular tools will be trimming 250 employees, about a quarter of its workforce, and shuttering its office in Taipei. CEO Mitchell Baker specifically mentioned that “development tools, internal tooling, and platform feature development” in the Firefox team would see reduced investment. Like a lot of companies do these days, she managed to blame COVID-19 for the company’s woes. That seems a little specious to us, but whatever the reason for the downturn in revenue, here’s hoping that Mozilla can keep Firefox alive.

Speaking of our evil overlords, looks like it another one of those “oopsies” moment for Google when it “accidentally” activated some of its smart speakers to listen into household events without the wake word. In this case, a user reported getting a text about a smoke alarm going off in their home. The alarm was not a surprise, since the user was cooking at the time, but the notification was, since they didn’t opt into that particular service. Google’s response was that an update pushed to the speaker accidentally activated that feature, a situation that they say has since been rectified. To be clear, this is an interesting feature and one of the more compelling use cases we’ve seen for a smart speaker, but it’s something we’d certainly want to sign off on before it’s activated. Yes, accidents happen, but these kinds of accidents seem to happen to Google an awful lot lately.

We’ve probably all had the experience over the last few months of being in public when the urge to cough hits. Masked or not, you struggle to fight back the tickle, lest someone hear you and think you’re infected. But now it’s possible for a computer to cough-shame you, thanks to a deep learning cough locater. The model was trained against recordings of people coughing and is coupled to an acoustic camera, which identifies the cougher with a bounding box and a contour image of the cough which looks for all the world like a virtual cloud of microbes. It’s genuinely interesting technology, sort of the public health version of ShotSpotter, but we doubt it’ll be of much practical use in public; if you want to find someone who has just coughed, someone acting like this will likely already be on the case.

Modern jet fighter technology is advancing rapidly, so much so that the forces they can apply during extreme maneuvers can quickly be lethal to pilots. Given that humans aren’t likely to evolve the ability to resist turning into a puddle of goo under high g-forces anytime soon, fighters of the future will likely incorporate AI of some sort. To prepare for that eventuality, the Defense Advanced Research Projects Agency (DARPA) is running some AI fighter competitions this week that really look interesting. Dubbed Alpha Dogfight Trials, the challenge starts with simulated dogfights between AI systems. The winner of those rounds will go up against a human pilot in the final match, which will be streamed live with commentary and multi-screen coverage. You need to register to get in on the action, and time is limited.

And finally, let these three words roll around in your head for a minute: robotic chameleon tongue. It’s actually nowhere near as disturbing as it sounds, since at its heart the “Snatcher” is actually just a beefed-up tape measure. Designed for remote retrieval tasks, the Snatcher can shoots it steel proboscis out almost a meter in just 600 milliseconds. Its designers envision uses for it on drones, but we can see it potentially being deployed on satellites too. It shouldn’t be too hard to build something like this at home, either.

Building A Gimballed Motorcycle Helmet Camera From Scratch

[Nixie Guy] has hit all of important design elements in a single motorcycle helmet-cam project which packs in so much that the build log spans three posts. These cameras need to stand up to the elements and also to being pelted by insects at 80 MPH. They need to attach securely to the helmet without interfering with vision or movement of the head. And you should be able to adjust where they are pointing. The balance of features and cost available in consumer cameras make this list hard to satisfy — but with skills like these the bootstrapped camera came out great!

Where can you get a small, high quality camera? The drone industry has been iterating on this problem for a decade now and that’s where the guts of this creation come from. That produced an interesting issue, the board of the CADDX Turtle V2 camera gets really hot when in use and needs to have air flowing over it. So he threw a custom-milled heat sink into the side of the SLA resin printed housing to keep things somewhat cool.

Since the mill was already warmed up, why not do some mold making? Having already been working on a project to use a casting process for soft PCB membranes, this was the perfect technique to keep the buttons and the SD card slots weather tight on the helmet cam. A little pouch battery inside provides power, and the charging port on the back is a nice little magnet job.

Everything came together incredibly well. [Nixie Guy] does lament the color of the resin case, but that could be easily fixed by reprinting with colored resin.

While you’re bolting stuff onto your helmet, maybe some excessive bling is in order?

Continue reading “Building A Gimballed Motorcycle Helmet Camera From Scratch”