How to delimit an area with a sensor ?

hello , i have a movement sensor ( EE-SPY401 JPN ) My program have to launch an other program when a person enter in an area , but i dont know how to delimit the area with arduino can you help me please? ( sorry for my english ) :~ :astonished: :zipper_mouth_face: :grin:

Assuming the sensor is this one http://www.ia.omron.com/product/item/eesp4004a/index.html then it looks like it only has a 5mm range, not much use for detecting people walking about. Can you confirm the sensor is correct?

Yes , but i , just need some program example , i will modify it if i change captor , please

i need a general program , i will modify it following the sensor i will buy

darkemule: i need a general program , i will modify it following the sensor i will buy

No there is no such thing as a general program. Any program has to know about what sensor it is reading, otherwise how will itknowhaw to read it. There are many differant ways a sensor can output its information.