Noob here looking for advice on coding, hardware, and procedure for an interactive audio art installation.
I have a university master's project of connecting 50 IR sensors (digital) to an Arduino mega.
The IR sensors will be suspended from a squared grid net in a suspended ceiling (think bird wire - see link - Polyethylene (PE) netting | black | 80mm mesh size (HM) | twine no. T120 (1,2mm Ø) | width 16m | ENGEL-NETZE). The sensors will be attached to each cross-section and pointed down so that when people walk underneath them, the sensors trigger and send a signal to the mega, which sends to a Macbook Pro (M1) and then to Max 8 (Max/MSP). Each triggered sensor will be attached to a sound file within Max 8 and played out of a loudspeaker in the interactive area.
I have little to no coding experience other than a starter kit I tinkered with several years ago.
I have an Arduino Mega (R3 2560), also some IR sensors (not all 50 yet), plenty of wire, etc.
I believe I will need some kind of junction box that I can label and connect each set of pins to and also a power management system as each sensor will need 5v but not sure what to buy.
I had a feeling that might be the case, short-range, etc.
At this point in the project, anything can change, nothing is set in stone, so I'm completely open to any suggestions. For example, making the ceiling a wall instead so that participants can get close enough to trigger the sensors / manipulate sound, or even a different type of sensor that may be powerful enough to reach at least 3 feet.
You might be able to use LASERs If the floor is white the LASER beam would be reflected back to a receiver. When someone walks under it, the beam would be interruped and you could detect presence
This HC-SR501 PIR ( Amazon.co.uk )
seems ok, not a laser but I think it might do the job, I'm just wondering though, as it is a human motion detector, its field of detection would be rather large and would trigger very quickly when a person walked into the interactive area, instead of triggering roughly when stood underneath a sensor.
I would like only one person at a time to use the interactive space, so the number of activated sensors could be around 15. This is just a guess but it may depend on the size of the person and if they run through it or spin, etc. (I may have to advise people to use the space slowly?)
Using Cycling74 - Max 8 software, I am hoping to map all 50 IR sensors to individual sounds, each will be quite short like a chime or a piano key length, so let us say 3 seconds each.
For the type of sensor, I would like to keep it as cheap as possible, IR sensors are around £25 for 50 of them. If there is a cheap alternative then I'm totally open to trying it depending on complexity and cost.
Webcams have been suggested or an Xbox 360 camera but it seemed too complex and has been previously attempted, therefore, I am trying to use ideas that are alternative to the university's previous student's work.
You might consider the Melexis MLX90640 thermal imaging camera, as it is an all-in-one solution to detect a person as well as determine the person's location. Two focal lengths are available.
For this project, I'm trying to keep the costs as low as possible ( student here ), I love the ideas of all the tech so far but maybe low cost means low proximity sensors, etc.
Let's say I wanted to go ahead with my design (shown in the above post).
Would I need a separate power supply for all the sensors?
What kind of connection/junction box would I need (if any)?
Despite the 30cm proximity of the sensor, is this project doable?
Yes, you will need a separate 5V supply at least 2A.
You should use18 gauge wire to connecting everything. You can use wire nuts or euro strips for connections.
Yes it is dooable (if you get within 1foot)