Doppler Gesture Sensing In JavaScript

[Daniel] stumbled on an interesting paper (which we featured before) on Doppler gesture sensing using only a computer’s speaker and microphone. Unfortunately the paper didn’t include source code so [Daniel] created his own implementation of Doppler gesture sensing in JavaScript that works right in the browser.

[Daniel]’s JavaScript library generates a sine wave at 20 kHz that’s played through the computer’s speakers. The frequency is high enough that it’s pretty much inaudible. While the tone is being played through the speakers, the computer’s microphone is used to sample the audio and calculate the frequency spectrum of the signal. As you move your hand closer to the computer while the tone is playing, the frequency of the received signal shifts higher; as you move your hand away, it shifts lower. [Daniel]’s script looks for this frequency shift and uses it to trigger events.

doppler

[Daniel] has some awesome examples included on his website where you can test out the functionality for yourself. He has a hands-free scrolling example, spectrum plot, and even a virtual theremin. Since his code is bundled up into an easy-to-use library, it should be fairly easy to integrate into any webpage. The only real limitation to the library is that it only works in Chrome right now (Firefox doesn’t support disabling echo cancellation).

3d printed 2-part mold

3D Printed Molds And Silicone Caulking

Have you ever had a pair of ear buds fit perfectly out of the package? Probably not. Well, [Joe] decided to take matters into his own hands and cast his own silicone ear bud covers custom made for him.

The traditional route would have been to make an ear bud model, make a mold from it, cast a copy from it… etc, etc. But [Joe] wanted to try something else — he designed and 3D printed the two-part mold, and used plain old silicone caulking to fill it.

First he 3D modeled the ear bud covers in SolidWorks, then he had to learn how to design the mold for it, but luckily, there’s a handy tutorial. After printing the mold he opted to use 100% silicone caulking in order to make the part since he had some lying around the house. The problem is, this stuff can take days to cure — unless you mix in some cornstarch.

3d printed ear buds

The golden ratio [Joe] found was about 5:1 silicone to cornstarch, which resulted in a cure time of about 20 minutes.

After curing you just need to trim off the excess silicone. In the molding process this is known as “flash”.

Since this is caulking he’s using, you’re going to want to wash off the part a few times because this type of silicone produces acetic acid as it cures.

The ear buds fit great and inspired [Joe] to try molding even more things, like a custom sleeping mask using the 3D scan of your own face!

Psimax CS40 Control Panel for Kerbal Space Program

Rocket Controls Fit For A Kerbal

Kerbal Space Program is a space simulation game. You design spacecraft for a fictional race called Kerbals, then blast those brave Kerbals into space. Sometimes they don’t make it home.

If controlling spacecraft with your WASD keys isn’t immersive enough for you, [marzubus] has created a fully featured KSP control console. It sports a joystick, multiple displays, and an array of buttons and switches for all your flight control needs. The console was built using a modular approach, so different controls can be swapped in and out as needed.

Under the hood, three Arduinos provide the interface between the game and the controls. One Arduino Mega runs HoodLoader2 to provide joystick data over HID. A second Mega uses KSPSerialIO to communicate with the game over a standard COM port interface. Finally, a Due interfaces with the displays, which provide information on the current status of your spacecraft.

All of the parts are housed in an off the shelf enclosure, which has a certain Apollo Mission Control feel to it. All [marzubus] needs now is a white vest with a Kerbal badge on it.

Broken Bread Maker Rises Again, Drives Tool-Sharpening Turntable

Poor [makendo] had seven broken bread makers lying around, all with failed paddle drivers. Since they also all have big motors and other useful parts in them, he decided to turn one of them into a powered tool-sharpening turntable.

First, [makendo]  salvaged the motor, the gear, and the thick circular glass window from one of the bread makers. He cut a platter from plywood the size of the glass window, chamfering the edge to fit the gear. Next, he built a housing from scrap plywood, separating the motor from the platter with a crosspiece to keep the motor free from dust. A large magnet on a hinge collects metal powder from the system quite effectively. The sharpener spins at about 200RPM: fast enough to do the job and slow enough not to get hot.

According to [makendo], the sharpener restores bevels nicely but doesn’t make edges”scary sharp”. To that end, he used a toaster oven door as a base for a series of micro-abrasive grits of sandpaper as a finishing rig. In order to sharpen his chisels uniformly, he made a jig to hold them firmly in place against either the powered turntable or the fine sandpapers.

[Thanks for the tip, Scott]

 

HDMI Splitter Is Also A Decrypter

It warms our hearts when the community gets together. [esar] needed to get a decrypted HDMI stream for his home theater system. A tip-off in the comments and a ton of good old-fashioned hacking resulted in a HDMI splitter converted into a full-featured HDMI decrypter. Here’s the story.

His amazing custom Ambilight clone got profiled here, and someone asked him in the comments if it worked when High-bandwidth Digital Content Protection (HDCP) is on. [esar] lamented that it didn’t. Hackaday readers to the rescue. [Alan Hightower] and [RoyTheReaper] pointed [esar] to the fact that HDMI splitters need to decrypt and re-encrypt the signal to pass it on, and pointed him to a trick to knock out the on-board microcontroller. [esar] took off from there.

Unfortunately, taking the micro out of the picture messed with a lot of other HDMI functionality. So [esar] started digging in the datasheets for the HDMI splitter chip, looking for registers relevant to the re-encryption. If he could get in between the microcontroller and the splitter chip on the I2C bus and disable the re-encryption, he’d be set.

If you’re at all interested in I2C hacking or abusing HDMI splitters, you need to read his post because he details all of the tribulations and triumphs. He first tries just brute-forcing the I2C by overwriting a 1 bit with a 0. This (correctly) signals the micro that there’s been a conflict on the bus, so it re-sends the command again. Dead end.

He then found another signal that the receiver could use say that it wasn’t decrypting. He tried sending this continuously to the splitter so that it would stop encrypting. That worked, but only for one channel, some of the time. It turns out that his code was taking too long in his bit-banged I2C code. He fixes this up and all is well? Well, 90% of the way there.

To hammer down the last 10% of the functionality, [esar] buys a couple more splitters, experiments around with another splitter chipset that works with 3D, and solders some more wires to enable the Audio Return Channel. And after a ton of well-documented hard work, he wins in the end.

Hackaday Prize Worldwide: SXSW

Having announced the start of the 2015 Hackaday Prize a few days ago, it’s time to take the message to the people. We’ll be evangelizing the message of grass-roots hardware development all over the world this year. The next event starts tomorrow in Austin, Texas and is free for all to attend.

Friday Mid-Day Meetup

Join the Hackaday Crew at the Hackaday South by Southwest Meetup on Friday from 11am-12pm. We’ll be discussing the bright future of small shop and grass roots hardware development. This concept ties into the 2015 Hackaday Prize which calls on you do develop solutions to some of the problems found in your community. Want to organize your own #HackadayPrize event to help get the word out? Great! Email prize -at- hackaday.com and we’ll help with the planning.

Friday Night at Hardware House

Find us on Friday Night at Hardware House. They are presenting several talks; notably from [Huge Fiennes] (Co-founder of Electric Imp), [Sam de Brouwer] (Co-founder of Scanadu), [Nick Yulman] (from Kickstarter), and [Jason Johnson] (Co-Founder of August). In between there will be some lightning talks and [Sophi] will be giving one on the 2015 Hackaday Prize. and we’ll be sticking around for the socializing as well. It runs from 6-9pm… don’t forget to RSVP.

Stuffing 150 sq. ft. with Hardware

The finalists from last year’s Hackaday Prize were gracious enough to lend us their prototypes to exhibit at our SXSW Create Booth which is open Friday through Sunday. These are SatNOGS, ChipWhisperer, PortableSDR, Open Science Tricorder, and RamanPi. Thank you to them all, we’ll make sure to bring some of those along to the meetup. We’re also happy to have one of [Radu Motisan’s] uRADMonitor modules on hand, one of the Mooltipass beta units which were the topic of the Developed on Hackaday series, and one of [Macetech’s] new LED glasses (which we might just be giving away to someone who stops by).

Tacos or Drinks or Hangouts, oh my

The midway is open 11-6 everyday but you can bet after that (and perhaps before) we’ll be looking to do some socializing. Hit us up on Twitter if you have any suggestions or wonder what we’re up to. Assuming the Internet is working we’ll be checking and Tweeting regularly. On site we’ll be using the following accounts: @Hackaday, @Hackaday.io, @HackadayPrize.

Spectrum Analyzer On The Cheap

Provided you have an NTSC-compatible TV you can build yourself a really inexpensive spectrum analyzer. From there you just need one trivial piece of hardware to complete this build. [Bruce Land] has come up with a spectrum analyzer that shouldn’t cost any more than $5, if that’s what’s been keeping you from adding this tool to your workbench!

The spectrum analyzer is based on a PIC32 microcontroller which was previously proven in his Oscilloscope project. [Bruce] has managed to squeeze quite a bit out of this robust chip; the spectrum analyzer has 450 kHz bandwidth and runs a 256 Hz TV display and can output over 30 updates per second. The microcontroller runs the Fast Fourier Transform (FFT) to do calculations, with great results.

[Bruce] notes that the project was based on TV framework from another project, and that the FFT was added on top of that. Be sure to check out the source code on the project site if you’ve been on the hunt for an inexpensive spectrum analyzer, and if you need something with more processing power but only slightly more money, check out the FFT that runs on the Raspberry Pi’s GPU.