3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Knock Block

Knock Block
Knock Block: a modern knocking framework

Man has long wrestled with Time. Also, with knocking on things and not getting the time of day. We propose a knocking platform through which these fundamental needs are met. This is illustrated with the Knock Block KUI and accompanying Clock Knock Block application. The Knock Block possesses realistic knocking action with a human-like variation in frequency and amplitude of knocks.

Just knock on the Knock Block, or even the surface on which it's resting, and it will knock back the time to you. First it will knock the number of hours, and then the quarter hours.

If you knock several times, the Mock Knock Block application will take over, and repeat back your knocking pattern.

Video: http://www.vimeo.com/6713094
 
Remove these adsRemove these ads by Signing Up
 

Step 1Inside the Knock Block

Inside the Knock Block
What's inside that rich mahogany exterior? An Arduino that reads vibrations from a piezoelectric sensor and relays back information with a solenoid tapping against the resonant lid of the block. It's all powered by one or two 9V batteries.

Parts list:
- any Arduino can handle this
- a TIP31C high current transistor for the switch
- the exotically named Jameco 191172-001 solenoid, prized for its low price ($3!) and current
- a Measurement Specialties DT-series piezo film element (pretty sure that's the model)
- a 1M ohm resistor (your mileage may vary)
- 9V battery
- block case of your choice
« Previous StepDownload PDFView All StepsNext Step »
32 comments
Apr 2, 2012. 10:46 PMAdielFernandez says:
Hey, great project! Very simple idea but a rich human-computer interaction.

I am having a big problem using a piezo sensor in a project I am working on. I just cant get it to sense anything practically. If I hold it and flick it I get a big spike of course, but once I tape it to a surface I can knock all I want and I get almost nothing, maybe 5-6 out of the 1023 of the analog sensing range from the arduino.

Can you explain how you're attaching it a little better. I just dont know what I'm doing wrong. Thanks for your help.

Apr 3, 2012. 11:30 AMAdielFernandez says:
My gut tells me that the sampling rate isnt the issue as when I clamped the piezo into some helping hands it managed to get the vibration into the right part of the sensor because it seemed nice and sensitive then.

The capacitor sounds interesting. What rating would you recommend and how would you recommend I connect it?

Thanks!
Oct 2, 2009. 4:00 PMn0ukf says:
Ok, how many of us hobbyists have a CNC router?
Dec 18, 2010. 11:14 PMhintss says:
how many have makerbots?
Oct 1, 2009. 9:49 AMjeff-o says:
Also, how do you set the time?
Dec 18, 2010. 11:14 PMhintss says:
or upload at midnight?
Jun 13, 2010. 8:34 PMqwertyboy says:
knock block rocks all blocky rocks!
Oct 25, 2009. 3:22 PMsaxmaster765 says:
 Well, the video is nice and dramatic.
Oct 24, 2009. 4:33 PMAndyGadget says:
You may be interested in my take on the Knock Block.
(PLEASE don't call it a schlock mock knock block ;¬)

Oct 1, 2009. 8:31 PMBig Nasty says:
if you hit it with a sword, will it say "boing boing" then tell you the time?
Oct 17, 2009. 2:57 PMandross52 says:
lol!
Oct 2, 2009. 3:01 PMH3xx says:
WIN!!
Oct 8, 2009. 12:21 PMsklemp says:
This is such an awesome project. 

How long does the battery last in it? I can't imagine it would drain them too quickly. Also, would it be possible make a plug on it to plug it into say a USB port for charging only?

Sep 30, 2009. 6:59 AMbuteomont says:
This is a great idea! The only suggestion I can make is that you may want to put a reverse-biased diode across the solenoid, to keep the back EMF from destroying the transistor. Apparently the particular transistor that you are using can handle it, but a less robust one might not.
Oct 5, 2009. 10:24 AMjo_mo says:
This is great. I got it to work with a servo too. Use the servo library to attach it and use two settings for on and off. Increase the delay between "high" and "low" to let the servo swing into position.
Oct 3, 2009. 4:47 PMSquid Tamer says:
I love all of the tongue twisters in the video.
Oct 3, 2009. 8:21 AMBobS says:
Your block seems to be from 'rubberwood', not mahogany. Rubberwood is a very nice hardwood cut from rubber trees. Natural rubber is not much in demand anymore, so the plantations are being cut down, mostly for oil palms
Oct 1, 2009. 7:06 AMKoosie says:
Thats awesome! A knocking block, lol Now you have something to "talk" morse code to.
Sep 30, 2009. 12:40 PMBerkin says:
That video was epic win. 5 stars!
Sep 30, 2009. 8:49 PMjeff-o says:
Video Win! Embed it on the first page!
Sep 29, 2009. 11:09 PMsrhadaham says:
I have no intentions of making this item, due only to my lack of skill Having watched the video I love the knock block but alas my knocks will have to go unused until i acquire the skills required to harness their true potential
Sep 29, 2009. 8:45 AMcrapflinger says:
it'd be nice to have a parts list and a video...i could see adding a bunch of these together and having an automated xylophone
Sep 29, 2009. 8:23 AMAndyGadget says:
I really like this. Novel, well built, attractive and a total time-waster. BRILLIANT! I can't see any amplification on the piezo. What sort of voltage peaks do you get from it?
Sep 29, 2009. 12:26 PMycc2106 says:
The shape maybe too foppish, sophisticated...
Sep 29, 2009. 9:14 AMMarcosLE says:
The wood block is awesome!! I want one. I think this could be extended to have phantom knocks to confuse your friends and co-workers.
Sep 29, 2009. 10:30 AMcrapflinger says:
or just don't put it in a block...and hook it all up to the door of your house...that way when someone knocks...it knocks back

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
5
Followers
1
Author:jkestner