Turning Everything Into A Tap Controller

Our entire life is staring at glowing rectangles, and all our surroundings are hard, flat surfaces. [Ben] had the idea to turn those flat surfaces into a generic tap interface controller, and his project for the Hackaday Prize might just do that.

Some of the prior art that went into this project includes Ping Pong Plus Plus, an augmented-reality-ish implementation of ping pong that puts projected light wherever a ping pong ball hits the table. The game does this by mounting piezos to the bottom of a table and just a slight bit of math to determine where on the table the ball hit. There’s also MicLoc, a door lock that responds to knocking.

With this prior art, it’s all about microcontrollers and peripherals, and for that, [Ben] turned to the STM32F303RE, which sports four very fast ADCs and op-amps. There’s a lot of DMA usage on there, and the code is using a ton of signal processing. The important bit here is finding the difference between whatever the tabletop equivalent to an earthquake’s P-waves and S-waves are — [Ben] only wants the first bit of a waveform that travels through the table longitudinally, not the much louder vibrations of the entire table.

If [Ben] manages to put this together, an entire wall could be a light switch or a dimmer. You could add a secret knock to your door, and your desk could control your computer. It’s a promising idea, and the engineering that’s going into this project is just fantastic.

4 thoughts on “Turning Everything Into A Tap Controller

    1. That just uses the accelerometer tap detection that exists in it already. Some accelerometers might also constantly fill in a FIFO and allow the data to be downloaded only when a tap is detected if you want to do a more thorough analysis, so you don’t really need a dedicated controller to constantly analyze the data (MMA8450).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.