muyle:
I want to create a 7x7 matrix of motion sensors that will be able to detect when a hand goes over each point, which will trigger an animation to play.
Ah, now it starts to make sense. Typical case of the XY problem.
PIR sensors are not suitable for this. Too great a range, too great a field of vision, and they're long range motion sensors while you are looking to detect the presence of a hand at what I assume is a rather short distance (how far above the sensor should the hand be held?.
The first I am thinking of is distance sensors, that can detect whether there's something above them. Depending on how close you expect the hand to be held, brightness sensors may also work. They work best if the hand is actually covering them, so you go from ambient brightness to near total darkness. Held more than about 20 cm above the sensor and they're not likely to work well (too little drop in brightness), unless you add a bright light source pointing at the sensor - basically turning it into a break beam sensor.
The next issue: how are those sensors going to be placed? If in a square you're reaching over one sensor to get to the other. That's a problem, I'm not aware of a sensor that can distinguish between a hand, an arm, or even someone's body as they reach for the far sensor. So this is not likely to work well, if at all.
So I suppose they'll be spaced in a row at sufficient distance to prevent this from happening. Nonetheless as this means they have to be at least some 15-20 cm apart to avoid too easy false triggering, that'd be a line of like 5-6 meters. That again doesn't sound practical or sensible for a host of other reasons.
jremington:
Depends on the situation. With photosensors it is easy to accommodate slowly changing light conditions, and have a narrow field of view. Plus, they are cheap and small. Do some experiments!
That works well with one, but you're looking at analog inputs and the OP wants 49 of them... No 49 analog inputs on any Arduino.
Would it even be possible to matrix such sensors? 7 digital outputs, 7 analog inputs. An output can be switched off but how about the pull-up resistors that each sensor needs? Maybe two digital outputs per row to switch both ends of the voltage divider on (OUTPUT) and off (INPUT)?