Pages: [1]   Go Down
Author Topic: ultrasonic sensors  (Read 591 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!!!
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 149
Posts: 2790
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You might also look at PIR sensors, which respond to body heat attached
to moving bodies.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sounds like a cool project ... you should look into this https://www.sparkfun.com/products/10628 or something simmilar
Logged

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A pressure mat, as used for intruder detection, would probably be the simplest cheapest solution.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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?

Thank you!!!!!
Logged

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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.
Logged

Pages: [1]   Go Up
Jump to: