sound in the room

Hi,
I want to make a performance which there are a few places at the room that plays sound when people are walking on the floor
I'm really new at this and just start to explore...

there is a way to do it without Kinect?

really like to get some tips for the beginning

thanks!

Hi!

What do you mean by "walking"? :slight_smile:
Is it the bare movement (the opposite of standing still)?
Is it that a person comes closer to an object?
Is it that a person does pass a special spot?
Is it weight on a special spot, because a person steps on it?

You can use different sensors - you have many options.
You could sense movement with a PIR sensor (example: PIR (motion) sensor : ID 189 : $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits).
It is not too selective but it can cover a relatively wide area (maybe 10 square meters).

You can use an infrared proximity sensor (example: Infrared Proximity Sensor Long Range - Sharp GP2Y0A02YK0F - SEN-08958 - SparkFun Electronics)
it is more selective, it will work up to about 150 centimeters.

You can make an infrared light barrier. If a person "breaks" it, the sound will start. It can be pretty selective because the person must pass by a special spot.

You can use a force sensitive resistor (example: Force Sensitive Resistor - Square - SEN-09376 - SparkFun Electronics).
When a person steps on it, it can trigger the sound. Very selective.

These are only some ideas. There are more, different trigger methods.
And you can use combinations of sensors.

How critical is timing?
How long is the sound/music (seconds, minutes... decades)? :slight_smile: (see: ASAP)
Is it always the same sound(file) or different ones?

Example 1 (own project)
Some time ago I was asked to help with some "sound trigger installation" for the exhibition of a friend who makes sculptures.
Only one or two sculptures were in a small room (about 4-5 square meters), there were about 8 of this small rooms (in total about 12 sculptures). He wanted a sound to start playing, when a person enters each of the small rooms. The sound-file was 1 out of 5 to 10 files (some kind of randomness), about 30 seconds to 1 minute.
The artist said: "Some seconds after a person does enter the room the sound should start to play - one or two seconds more or less is OK. After the person (or all persons if there are more) left the room and no one else is there, the track shall play until its end and stop. After that there should be silence until an other person enters the room."

I decided to use PIR sensors. And they did the job pretty well.
Other hardware used (main parts):
Arduino UNOs
DFPlayers (Serial mp3-player with micro sd card)
Audio amplifiers
Loudspeakers

Example 2 (own project)
We had about 10 TV sets (kind of) within an exhibition. The curator wanted that every TV set should play a short movie while a person is standing right in front of the TV set. The movies (soft sound only) were about 20 to 30 seconds long. The TV sets were placed side by side with about 2 meters distance from each other.

I used (long distance) infrared proximity sensor placed just below each TV set. I set the trigger distance to about 100 to 150 centimeters. This made the desired effect.

Other hardware used (main parts):
Arduino MICROs
Laptops with video-player
TV sets (loudspeaker integrated)

So being a complete newbie (practiced all the simple Arduino beginner functions ) I am jumping in.

Just found this topic and am knee deep in trying to do a similar project of a Sculpture installation with sensor to play sound (mp3 or similar) when a person is within a few feet/meters.( and want to eventually add some motion via motor pushing or tapping a hanging element- also using a sensor )

Are there updated ways to accomplish the sensor and music MP3 player? I have Been on Adafruit all day trying to figure out the best components to put together to make this happen. :o :o :o :o :o

And then the problem of uploading correct software.

I have one Arduino and an infrared light sensor but have ordered a PIR sensor I believe this is the right one for this project, as well as (2) 4Ohm speakers-But I really need advice on which parts are really compatible and which parts need soldering, correct voltage for batteries, etc....

Thanks for any feedback!!

HI There

I too am trying to create an interactive sculpture using Arduino, PRI sensor and a Catalex serial MP3 player. I've been able to do it with an ultra sonic sensor but I find those to be sort of glitchy. I've been able to make a servo go when the PRI detects movement but can't find code or examples of MP3 being triggered. I'm a total newbie and would love some pointers.

Thanks!
Sasha

I can recommend the library from PowerBroker2 (an active member of this forum). It is originally written for DFPlayer but also works with Catalex YX5300:

There comes an example with the library.

You can also take a look here:
[YX5300 Serial MP3 Player - incorrect track played - Audio - Arduino Forum](http://YX5300 Serial MP3 Player - incorrect track played)