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.

A position sensitive midi drum pad

Step 8Building the circuit

Building the circuit
The pad uses a very simple electronic circuit to feed the sensor signals from the pad into the arduino. All this really does is make a false ground at half the 5v power supply produced by the arduino. The circuit diagram is attached below - I don't want to describe every step you need to take to build this on breadboard or stripboard, but it's not too hard.

« Previous StepDownload PDFView All StepsNext Step »
9 comments
Nov 28, 2010. 2:13 PMH4T says:
I was wondering if you could generally explain how your circuit works? Am I correct in thinking that your circuitry on the left is basically a fancy diode / one-way valve? It looks to me like it is supplying a constant 5V power to all piezo sensors when none of them are in use, and uses the op-amp to supply voltage directly from the piezo sensors themselves if they are hit with enough force to overcome the 5V battery.

But I was just wondering, why not just use a diode?
Dec 12, 2010. 2:47 PMH4T says:
cool, thanks!

I've taken another look at the circuit and brought up the datasheet for the TS912 and noticed a problem. In your schematic you have your ~2.5V output of the voltage divider section going into pin 1 of the TS912. According to the datasheet below, pin 1 is for output....are the pin numbers just incorrect in your schematic, or did you use a slightly different chip?

http://www.st.com/stonline/products/literature/ds/2325/ts912.pdf
Dec 12, 2010. 5:27 PMH4T says:
Thanks, things make a little more sense now! :P

Did you also happen to change the resistor values across each piezo from 10M to 1M? Or am I remembering it wrong?
Mar 29, 2011. 4:05 PMwrybread says:
Thanks for the fantastic instructable. I'm trying to adapt your circuit to make a detector for a BB gun shooting range, so we know when we hit the targets. The way I have the circuit set up now is too simple, just the piezos and the 1M resistor, and its very susceptible to electronic interference. So I'm building out your circuit now to try to make it a bit more reliable.

I had one question: I wasn't able to find the TS912 op-amp locally, but instead found the TL082. The package is labelled "Dual BiFET Op Amp", and here's some specs:

http://www.national.com/mpf/TL/TL082.html

Do you think that would work as a replacement?


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!
10
Followers
5
Author:ganglion(Highfellow)
I live in the North West of England, and work part time as a computer programmer / electronics technician.