I am making a LED light(with a speaker) that is planted into the ground(as in the device will be inside a hole drilled into the floor) that must activate when a human past by and steps on it.
I figured it would be more impressive if I could make it light up and buzz when a certain number of human beings are in the area surrounding it.
Should I use HC-SR04 ultrasonic sensor or a
resistive thin film pressure sensor? or is there another better sensor that detects human footsteps?
This sensor is 4 cm length. So, 5 cm might get too tight to put everything together (light, buzzer) inside the hole. Specially considering (I guess) that this circuit will be fed by batteries.
Maybe a well regulated IR obstacle detector can handle it. But I agree with aarg. If this is your first project, I think you should get all these sensors and play around with them.