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.

Ping Organ

Ping Organ
I was trying to think of a quick toy I could build for my kids.  I came up with this idea of an ultrasonic range finder, an Arduino, and a speaker.  Basically the Arduino plays a tone out of the speaker based on the distance from the range finder.  The result works pretty well and can be built in minutes.  You can play this from anything from your entire body, to just your feet.



http://www.youtube.com/watch?v=6F4xoe1rQMs
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

Parts
1. Arduino
2. Range Sensor (I used a Parallax Ping))) that I picked up a Defcon a couple of years ago, anything like this would work as well http://www.sparkfun.com/products/639)
3. A small speaker (I pulled mine out of an toy moose that sang Blue Christmas)

Ultrasonic range finders basically work by sending out an ultrasonic signal and then they sense how long it takes to come back.  Think sonar for a submarine.
« Previous StepDownload PDFView All StepsNext Step »
1 comment
May 6, 2012. 11:41 AMelectfire says:
Good little "ible!
I've tried it and it works ok, though the code might need a bit of tweaking as sometime it latches on a single "note" This though might be due to the limitations though of the Ping sensor...

Also I am curious if one could modify the code or circuit so that it could send out CV/Gate messages to a drum machine/synth.. Also maybe adding more "ranges" or "notes"....

Also *note* if you want to view the distances the Ping sensor is reading the Serial Monitor has to be set at 9600baud, anything below 9600baud yields gibberish in the serial monitor, also anything set higher 2800baud also yields gibberish.

Other than that this is a really easy one to wire up and is quite fun...
(fun as in annoying to everyone else!)

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!
8
Followers
5
Author:sketchsk3tch