Hi, I need help finding the best way to tell if someone has hit the end of a PVC pipe. I'm working on a project for my scout troop that will be used in our gateway at the 2010 national jamboree. Our gateway theme is the blue man group so we decided to put PVC pipe instruments for people to play. What I want to do is have lights inside each pipe so when you push one of the four buttons on the panel the pipes will start lighting up in a certain order to tell you wich ones to hit to play a song. When a button is pushed the pipes you need to hit light up and stay lit until you hit them. then the next pipes in the sequence will light up.
I first tried to use piezo elements to sense the hit but the holder we made for the pipes acts as a shock absorber and the piezo picks up almost no vibration. I am thinking of using some infrared emiters and detectors and mounting them on the inside of the pipe so that they point out the pipe. Then, when a paddle hits the pipe, it will reflect the IR back in to the detector. the problem with that is that you don't need to hit the pipe for the sensors to detect it. Are there any other ways to determine if the pipe has been hit? Any help is appreciated.
If the mounting and strike location are right, you could use a laser module mounted at one end, aimed at a photodiode mounted at the other. When the pipe flexes, the photodiode moves out of the "line of fire" of the laser. You'd probably need to make sure the diode is behind a very small aperture to minimize the amount of flexing needed.
Depending on how the pipe flexes, you may find that the light is diminished, but not cut to zero, because it reflects off the inside of the pipe such that part of it still reaches the diode. You'll probably need to do some experimenting to set "on" and "off" thresholds.
I think sciguy's idea of a rangefinder would work. Another possibilty is turn it on its head and detect the impact from the paddle. Obviously this wouldn't be as good as hitting the wrong pipe would work.