Motion senors / video installation support

Hello!

I am relatively new to Arduino and I would like to develop a sound/video installation that uses motion sensors. Basically, what I want to happen is a video with sound will only play after people enter a room and remain still for a few minutes. If people move too much, the video will stop. Does this sound plausible? I have been working with the Maxbotix Ultrasonic Rangefinder - LV-EZ1 and Ardunio Uno, but I am not sure on how to account for stillness. Any suggestions / support is greatly appreciated!

How still - waving hands, turning head, jumping up and down, doing a cartwheel?
What's the budget?

I want people to sit in a chair and remain relatively still, so no major gestures or sit down/ stand up motions. The budget is potentially €500.

el_mobius:
I want people to sit in a chair and remain relatively still, so no major gestures or sit down/ stand up motions. The budget is potentially €500.

Use a PIR sensor in the corner of the room.

Sounds good. How do I make the code account for stillness? I want it be activated when a person enters the space, but then not play the video until the person is sitting still.

If movement is detected
do nothing
else
play the video

Sounds good -- I'll try it out!

mikb55:
If movement is detected
do nothing
else
play the video

if movement is detected
reset counter
if counter > 5 seconds
play video
if counter < 5 seconds
stop video

run video for days and nights on end, to an empty room. ?
most motion sensors trip and stay tripped for a set minimum time.
you could ignore that as it could be a sneeze or some such.
but something longer means some more continual movement such as walking.
testing of your particular sensors is key.