Jump to content

Motion sensors for directionality


khisanthax

Recommended Posts

So I was wondering if any one has tried using multiple motion sensors to determine direction? For example, walking towards a room triggers multiple sensors in order which let's you know what room or area to turn lights on for. Or multiple sensors to accurately determine motion in a large room?

Link to comment

I will repost this here then

This takes up to four programs but could be combined into three possibly or jus two if the direction of travel is known. I present it as educational tool.

 

If

    MS1 is switched 'On'

Then

    Enable 'Program1'

    Wait 1 Minute

    Disable 'Program1'

Else

  --

 

If

    MS2 is switched 'On'

Then

    Enable 'Program2'

    Wait 1 Minute

    Disable 'Program2'

Else

  ---

 

Program1 (disabled)

-------------

If

    MS2 is switched 'On'

Then

    do stuff - motion went from MS1-MS2

Else

   ---

 

Program2 (disabled)

-------------

If

    MS1 is switched 'On'

Then

    do stuff - motion went from MS2-MS1

Else

   ---

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...