Go Down

Topic: Interactive Art Piece (Read 2034 times) previous topic - next topic

bribrode

I'm working on an interactive sculpture project. There will be strings-I want to make it so if someone pulls a string, it will produce a sound.
I am thinking strain gauges are the way to go about doing this so I can have a different output depending on the reading of the gauge.

I've never done a project like this before but I understand the basics. I just need some guidance on what the proper (specific) hardware would be.
Any advice is welcome (when it comes to the programming part as well).

(Also-if I need to give more detail/explanation on my project, just let me know)

CrossRoads

How are you converting the strain guage output to a 0-5V output that the arduino can then make sound production decisions about?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Grumpy_Mike

Please do not cross post. Delete the two identical threads you have posted.

CrossRoads

An alternate approach might be spring-loaded potentiometer, either linear that slides back & forth, or rotary, and pulling on the string moves the pot wiper back & forth.
Can add block & tackle like arrangement to allow for bigger string movement & smaller wiper movement.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Far-seeker

Another alternative to a traditional strain gauge would be to attach the strings to conductive rubber.  The rubber would be electrically connected as part of a voltage divider from +5 VDC to ground, with a wire connected between the cord and a constant resistor.  The wire would then connect to an analog input, and when the voltage goes below a threshold (because the rubber's resistance increases as it is stretched) you can have the Arduino signal a WAVE shield, MP3 shield, or other playback device.

bribrode

I'm interested in learning more bout the conductive rubber-I'll look into it.

I guess I'm not really clear on how the reading from whatever sensor part that I use translates into sound [or the steps I need to take to make that happen].

Will I be able to program the WAVE shield/MP3 shield/whatever playback device to have more than one option for the sound output or will it just play back one file repeatedly?

[sorry for all of the questions, just trying to figure things out]

CrossRoads

I believe you can find a way to play selected files:

http://www.mdfly.com/index.php?main_page=product_info&cPath=9_53&products_id=806

Make a decision about what to play based on sensor readings from the string pulls.

Another option
http://www.roguerobotics.com/products/electronics/rmp3
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Pauly

There are basically two ways to make sound with an Arduino.
One is to use tones. 
http://arduino.cc/en/Tutorial/Tone

The other way is to use a shield such as the Wave shield or an MP3 shield.
These shields use an SD card to store files, so you can add as many sound files as you like.
Last year I converted an old radio into an MP3 player. http://arduino.cc/en/Tutorial/Tone

DuaneB

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

bribrode

Thanks for all of these examples.

Here's a dumb question -- is the WAVE shield able to do everything alone (meaning react to the sensors/whatever I end up using) or is it just an add on that has to go with another board?

CrossRoads

Just an add on - you need the Uno/whatever below to read the sensors and make decisions about what file to call up for playing.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

bribrode

Awesome, I've purchased both pieces.

Any suggestions on speakers??--they need to be fairly small.

CrossRoads

Define "fairly small" in inches/mm/wattage, etc.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

xl97

I have tested/used some small 1.1" diameter 1.5w/2w max speakers before...

the WaveShiled.. (IMHO) has VERY low volume by default...

I would read up on doing the volume hack for it..


Pauly

This speaker or something similar should work fine.
https://www.sparkfun.com/products/9151

Go Up