Hackaday Links Column Banner

Hackaday Links: July 4, 2021

With rescue and recovery efforts at the horrific condo collapse in Florida this week still underway, we noted with interest some of the technology being employed on the site. Chief among these was a contribution of the Israeli Defense Force (IDF), whose secretive Unit 9900 unveiled a 3D imaging system to help locate victims trapped in the rubble. The pictures look very much like the 3D “extrusions” that show up on Google Maps when you zoom into a satellite view and change the angle, but they were obviously built up from very recent aerial or satellite photos that show the damage to the building. The idea is to map where parts of the building — and unfortunately, the building’s occupants — ended up in the rubble pile, allowing responders to concentrate their efforts on the areas most likely to hold victims. The technology, which was developed for precision targeting of military targets, has apparently already located several voids in the debris that weren’t obvious to rescue teams. Here’s hoping that the system pays off, and that we get to learn a little about how it works.

Radio enthusiasts, take note: your hobby may just run you afoul of authorities if you’re not careful. That seems to be the case for one Stanislav Stetsenko, a resident of Crimea who was arrested on suspicion of treason this week. Video of the arrest was posted which shows the equipment Stetsenko allegedly used to track Russian military aircraft on behalf of Ukraine: several SDR dongles, a very dusty laptop running Airspy SDR#, an ICOM IC-R6 portable communications receiver, and various maps and charts. In short, it pretty much looks like what I can see on my own desk right now. We know little of the politics around this, but it does give one pause to consider how non-technical people view those with technical hobbies.

If you could choose a superpower to suddenly have, it really would take some careful consideration. Sure, it would be handy to shoot spider webs or burst into flames, but the whole idea of some kind of goo shooting out of your wrists seems gross, and what a nuisance to have to keep buying new clothes after every burn. Maybe just teaching yourself a new sense, like echolocation, would be a better place to start. And as it turns out, it’s not only possible for humans to echolocate, but it’s actually not that hard to learn. Researchers used a group of blind and sighted people for the test, ranging in age from 21 to 79 years, and put them through a 10-week training program to learn click-based echolocation. After getting the basics of making the clicks and listening for the returns in an anechoic chamber, participants ran through a series of tasks, like size and orientation discrimination of objects, and virtual navigation. The newly minted echolocators were also allowed out into the real world to test their skills. Three months after the study, the blind participants had mostly retained their new skill, and most of them were still using it and reported that it had improved their quality of life.

As with everything else he’s involved with, Elon Musk has drawn a lot of criticism for his Starlink satellite-based internet service. The growing constellation of satellites bothers astronomers, terrestrial ISPs are worried the service will kill their business model, and the beta version of the Starlink dish has been shown to be flakey in the summer heat. But it’s on equipment cost where Musk has taken the most flak, which seems unfair as the teardowns we’ve seen clearly show that the phased-array antenna in the Starlink dish is being sold for less than it costs to build. But still, Musk is assuring the world that Starlink home terminals will get down in the $250 to $300 range soon, and that the system could have 500,000 users within a year. There were a couple of other interesting insights, such as where Musk sees Starlink relative to 5G, and how he’s positioning Starlink to provide backhaul services to cellular companies.

Well, this is embarrassing. Last week, we mentioned that certain unlucky users of an obsolete but still popular NAS device found that their data had disappeared, apparently due to malefactors accessing the device over the internet and forcing a factory reset. Since this seems like something that should require entering a password, someone took a look at the PHP script for the factory restore function and found that a developer had commented out the very lines that would have performed the authentication:

    function get($urlPath, $queryParams=null, $ouputFormat='xml'){
//        if(!authenticateAsOwner($queryParams))
//        {
//            header("HTTP/1.0 401 Unauthorized");
//            return;
//        }

It’s not clear when the PHP script was updated, but support for MyBook Live was dropped in 2015, so this could have been a really old change. Still, it was all the hacker needed to get in and wreak havoc; interestingly, the latest attack may be a reaction to a three-year-old exploit that turned many of these devices into a botnet. Could this be a case of hacker vs. hacker?

Hack Together Your Own Bat Signal

Bats use echolocation to see objects in front of them. They emit an ultrasonic pulse around 20 kHz (and up to 100 kHz) and then sense the pulses as they reflect off an object and back to the bat. It’s the same type of mechanism used by ultrasonic proximity sensors for object-avoidance. Humans (except perhaps the very young ones) can’t hear the ultrasonic pulses since the frequency is too high, but an inexpensive microphone in a simple bat detector could. As it turns out bat detectors are available off the shelf, but where’s the fun in that? So, like any good hacker, [WilkoL] decided to build his own.

[WilkoL’s] design is composed primarily of an electret microphone, microphone preamplifier, CD4040 binary counter, LM386 audio amplifier, and a speaker. Audio signals are analog and their amplitudes vary based on how close the sound is to the microphone. [WilkoL] wanted to pick up bat sounds as far away as possible, so he cranked up the gain of the microphone preamplifier by quite a bit, essentially railing the amplifiers. Since he mostly cares about the frequency of the sound and not the amplitude, he wasn’t concerned about saturating the transistor output.

The CD4040 then divides the signal by a factor of 16, generating an output signal within the audible frequency range of the human ear. A bat signal of 20 kHz divides down to 1.25 kHz and a bat signal of up to 100 kHz divides down to 6.25 kHz.

He was able to test his bat detector with an ultrasonic range finder and by the noise generated from jingling his keychain (apparently there are some pretty non-audible high-frequency components from jingling keys). He hasn’t yet been able to get a recording of his device picking up bats. It has detected bats on a number of occasions, but he was a bit too late to get it on video.

Anyway, we’re definitely looking forward to seeing the bat detector in action! Who knows, maybe he’ll find Batman.

Continue reading “Hack Together Your Own Bat Signal”

Dual Sensor Echo Locator Gives High Accuracy At Low Cost

Infrared certainly has its uses, but if you’re trying to locate objects, ultrasonic detection is far superior. It’s contact-less, undetectable to the human ear, and it isn’t affected by smoke, dust, ambient light, or Silly String.

If you have one ultrasonic sensor and a microcontroller, you can detect plenty of useful things, like the water level in a rain barrel or the distance traveled by a tablet along a rail. If you have two sensors and a microcontroller, you can pinpoint any object within a defined range using trigonometry.

[lingib]’s dual sensor echo locator uses two HY-SRF05s, but the cheap and plentiful HC-SR04s will work, too. Both sensors are arranged for maximum beam overlap and wired up to an Arduino Uno. One sensor’s emitter is blocked with masking tape, so all it does is listen.

When the system registers the object, it shows up as a red dot on a grid inside a Processing sketch along with a bunch of details like the object’s coordinates, its distance from each sensor, and the area of the triangle formed by the two sensors and the object. [lingib] reports that the system is quite accurate and will work for much larger playgrounds than the 1 meter square in the demo after the break.

Don’t want to detect objects? Ultrasonic sensors are cheap enough to hack into other things, like this one-way data communications module.

Continue reading “Dual Sensor Echo Locator Gives High Accuracy At Low Cost”

Hackaday Prize Entry: SNAP Is Almost Geordi La Forge’s Visor

Echolocation projects typically rely on inexpensive distance sensors and the human brain to do most of the processing. The team creating SNAP: Augmented Echolocation are using much stronger computational power to translate robotic vision into a 3D soundscape.

The SNAP team starts with an Intel RealSense R200. The first part of the processing happens here because it outputs a depth map which takes the heavy lifting out of robotic vision. From here, an AAEON Up board, packaged with the RealSense, takes the depth map and associates sound with the objects in the field of view.

Binaural sound generation is a feat in itself and works on the principle that our brains process incoming sound from both ears to understand where a sound originates. Our eyes do the same thing. We are bilateral creatures so using two ears or two eyes to understand our environment is already part of the human operating system.

In the video after the break, we see a demonstration where the wearer doesn’t need to move his head to realize what is happening in front of him. Instead of a single distance reading, where the wearer must systematically scan the area, the wearer simply has to be pointed the right way.

Another Assistive Technology entry used the traditional ultrasonic distance sensor instead of robotic vision. There is even a version out there for augmented humans with magnet implants covered in Cyberpunk Yourself called Bottlenose.

Continue reading “Hackaday Prize Entry: SNAP Is Almost Geordi La Forge’s Visor”

Hackaday Prize Semifinalist: Superhero Powers

The inspiration for [K.C. Lee]’s project for The Hackaday Prize didn’t come from seeing a grave injustice or inhuman suffering. He was watching Daredevil on Netflix. A show about a blind guy who fights crime in his spare time. People don’t have superhuman senses, and radioactive material falling off a truck in New York City leads to Ninja Turtles, not superheros. Still, a crude form of echolocation is well within the reach of the a capable hacker and would be very useful for those who are legally blind.

[K.C.]’s idea for human echolocation is a small wearable with ultrasonic sensors, 6DOF IMUs, and audio and haptic feedback. With a bit of math and a lot of practice, it’s possible to walk down a hallway, avoid obstacles, and find your way around without sight.

Human echolocation is a real thing, and it’s great to see a device that makes this minor human superpower a little more accessible. [K.C.] says there are 40 million people world wide that could use a device like this, and for an idea that was inspired by a superhero on TV, it’s one of the more interesting inspirations for an entry to The Hackaday Prize.

 

The 2015 Hackaday Prize is sponsored by:

Echolocation Pinpoints Where A Gunshot Came From

echolocating-gunshots

[Kripthor] suspected that hunters were getting too near his house. When thinking of a way to quantify this belief he set out to build a triangulation system based on the sound of gunshots. The theory behind it is acoustic location, which is a specialized type echolocation.

The most common example of echolocation is in Bats, who emit ultrasonic noise and listen for its return (echo) to judge the location of objects. [Kripthor] doesn’t need to generate the sound himself, he just needs to pick it up at different points. The time difference from the three samples can be used to triangulate coordinates as seen in the image above.

He first tried using a PC sound card to collect the samples. The stereo input only provides two channels so he tinkered around with a 555-based multiplexing circuit to sample from three. The circuit noise created was just too great so he transitioned to using an Arduino. The ADC samples from each microphone via an NPN transistor which is used as a simple amplifier.

This brings to mind a homebrew sonar hack from way back.

Build A Simple Bat Detector


[Tony Messina] had been fascinated with bat’s echolocation since he was a kid. After he retired, he decided to act on this fascination and built a simple bat detector.

The simple bat detector uses frequency division to lower the bat’s chirping to a frequency we can hear. For example, if a bat is calling at 91kHz the system will divide it by 16 and put out 5.7kHz. The system is digital, so all amplitude is lost. You’ll just hear clicks like a Geiger counter. Being digital has its advantages though. Unlike similar analog devices that have to be tuned to a small frequency range, the simple bat detector can detect a much wider window.

Continue reading “Build A Simple Bat Detector”