Hi. I am still in the tinkering stages with arduino and am sketching a project that requires some technical advice insofar as where to start, i.e. materials, library reference etc.
Essentially, I am making a booth that uses either ultrasonic sensors or even flex sensors placed beneath a floor mat for instance. These sensors detect human presence (so the dumber the sensor, the better!) and set off a program that I would need advice on how to write that would set off a sequence of pre-recorded sound files.
I was thinking of it like this: 1.person enters booth
2. sound file #1 runs
3. if sound file #1 runs, after 1 minute,
4. sound file #2 begins
5. If sound file #2 runs, after 1 minute,
6. sound file #3 runs....
7. This repeats for a maximum of 10 files unless the person exits the room
8. If person exits the room, sound file #x ends.
I would be very appreciative of any suggestions of sensors or libraries as a place to start...
Thank you!!!!
I am afraid PRI sensors will be too accurate given the parameters of the project. The pressure mat sounds interesting. I found some mainly on home surveillance sites but I wonder how I would separate the different sound files and sensors inside the mat. I am assuming the pressure mat as sold from the store will only have one sensor, whereas I will need 4 to 6 since each sensor leads to a different sound file. If this can be done, then this would due the fastest and cheapest solution.
However, if it cannot, the MP3 player shield would be an ideal contender...... Has anyone used this before? How is it different from a SD/MMC card with a wave shield?
I am assuming the pressure mat as sold from the store will only have one sensor, whereas I will need 4 to 6 since each sensor leads to a different sound file.
Your original post just said you needed to detect somebody entering the booth then you would play the files.
You only need one pressure mat for that. If you are trying to do something more complicated you need to explain it better.