Pressure Sensors

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 2:55 pm

I am trying to build a portable marimba and therefore have a few inquiries about "pressure sensors". Does anyone know of any such thing that can sense/measure physical pressure (when a mallet strikes a bar, it needs to be able to measure how hard the hit was in order to output a certain volume).

I was looking at "Force Sensitive Resistors" sold on adafruit, but they are expensive (considering how many I would need for an entire mallet instrument). Does anyone know of a cheaper way of doing this? Thanks!

Force Sensitive Resistors: http://www.adafruit.com/products/166
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby adafruit_support_bill » Thu Jun 28, 2012 3:08 pm

FSR's are a lot cheaper than strain-gauges. If you search the web, there are a few sites that explain how to make your own FSR's from the anti-static foam sheet used to package chips.
User avatar
adafruit_support_bill
 
Posts: 15990
Joined: Sat Feb 07, 2009 9:11 am

Re: Pressure Sensors

Postby pburgess » Thu Jun 28, 2012 3:17 pm

You might have some luck using piezo elements as strike sensors. This is what's inside the drum kits of the "Rock band" game controllers and that sort of thing. Or here's another example making a little percussion synthesizer.

The output is really "spiky" though. You have to process and filter the input a LOT to get clean(er) pressure measurements, and it's still not entirely perfect, so I can't say for certain how well this might work for your application. But it's inexpensive enough that it might be worth a trip to Radio Shack to get a couple test parts to experiment with.

FSRs are a whole lot "smoother" in that regard, but yeah, the cost will add up quickly on a big instrument.
User avatar
pburgess
 
Posts: 1331
Joined: Sun Oct 26, 2008 1:29 am

Re: Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 3:27 pm

Thanks for the feedback. I was just thinking, if it is possible to somehow measure the pressure imposed on the mallets (only 2) instead of inserting FSRs into each and every bar on the instrument (about 50 bars), then it would be a world of a lot cheaper.

However, if I were to do this, would I still be using FSRs since the mallets are round? I'm not sure how that would work out exactly.
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 3:33 pm

Hmm, I read online that piezo elements are good for measuring vibrations (and with a mallet instrument that would be ideal). They are also about 7x cheaper than FSRs which is nice. Thanks for all the input! The gears are turning.
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby adafruit_support_bill » Thu Jun 28, 2012 3:37 pm

The other thing to look at is QTC (Quantum Tunneling Composite). It comes in several forms and is pretty easy to work with. But they are a UK company and it can be tough to find a supplier this side of the pond.

http://www.peratech.com/qtcmaterial.php
User avatar
adafruit_support_bill
 
Posts: 15990
Joined: Sat Feb 07, 2009 9:11 am

Re: Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 4:15 pm

Does anyone know of a switch that does not require a button (one that is flat)? To address a new issue, I need to figure out a way to have switches in each of the bars, that way when a bar is hit at any speed (like when you play the drums) it outputs a sound. So, it would have to be able to detect very fast hits (which essentially are rolls). I'm looking for something simple and accurate. Thanks.
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm


Re: Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 5:22 pm

That is the perfect solution to what I described, but it's a bit pricey. I was thinking of possibly coming up with a way to make a switch (in order to identify each bar as a different pitch) using the head of the mallet and each individual bar of the instrument.

Basically, when the mallet touches the bar, the switch would be completed, and the pitch of the bar would be identified. In a normal switch, there are two parts. However, (assuming that the mallet part of the switch always stays the same) that means that each bar would be a different half of the switch (so there would be variations to the second part of the switch).

In turn, these variations would render the different pitches. This is all just a theory. Is anything like this possible using conductive materials (preferably not brittle (at least not for the mallet materials, because they could be easily broken due to excessive force and use))?
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby adafruit_support_bill » Thu Jun 28, 2012 6:06 pm

That is the perfect solution to what I described, but it's a bit pricey.

Zoflex is not that expensive when you consider that a 6"x6" sheet yields 144 1/2" x 1/2" pads for $25.
User avatar
adafruit_support_bill
 
Posts: 15990
Joined: Sat Feb 07, 2009 9:11 am

Re: Pressure Sensors

Postby maria9876 » Thu Jun 28, 2012 7:52 pm

Oh, okay. So it comes it sheets that unfold to yield a greater amount of material? I was looking on their website for more information on that and couldn't find it, but that definitely is more reasonable than just a piece of material that is 6"X6". Thank you.
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby adafruit_support_bill » Fri Jun 29, 2012 4:50 am

It comes as a 6x6" sheet of rubber-like material which is easily cut. To make a 'switch', just make a sandwich with it between two conductive elements.

For your marimba, you could probably put these switches under the bars, so a strike anywhere on the bar would activate the switch. You will probably need to experiment to find a configuration that gives you the right sensitivity. I'd start with a piece of foil tape on the bottom, a small patch of zoeflex, then a bare copper wire between the zoeflex and the bar.
User avatar
adafruit_support_bill
 
Posts: 15990
Joined: Sat Feb 07, 2009 9:11 am

Re: Pressure Sensors

Postby maria9876 » Wed Jul 04, 2012 3:37 pm

I've been looking into using some piezo elements for this project, and I've been told that they can be used as pressure sensors. However, I have not been able to find any information on pressure vs. resistance for piezo elements. Does anyone know where I can find this information for simple piezo elements? Thank you.
maria9876
 
Posts: 19
Joined: Tue Oct 05, 2010 8:35 pm

Re: Pressure Sensors

Postby adafruit_support_bill » Wed Jul 04, 2012 4:31 pm

I have not been able to find any information on pressure vs. resistance for piezo elements.

Piezo elements generate a voltage when stressed. As PBurgess said in an earlier post:
The output is really "spiky" though. You have to process and filter the input a LOT to get clean(er) pressure measurements, and it's still not entirely perfect, so I can't say for certain how well this might work for your application. But it's inexpensive enough that it might be worth a trip to Radio Shack to get a couple test parts to experiment with.
User avatar
adafruit_support_bill
 
Posts: 15990
Joined: Sat Feb 07, 2009 9:11 am

Re: Pressure Sensors

Postby mtbf0 » Wed Jul 04, 2012 5:10 pm

seems as though in a marimba all the vibrations would cause a whole lot of noise in a piezo sensor.

perhaps you could measure force with an accelerometer in the mallet. that sudden stop when it strikes the bar ought to be detectable.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Next

Return to Arduino

Who is online

Users browsing this forum: mibignistinly and 10 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]