Thats what I thought. I dont think that will work. One sensor will be the controller, one sensor is the position feedback. So depending on which way motor turns depends on the controllers position relative to the sensor. I put together this logic table to think through it, maybe it will explain a little better what I am looking for. If I have a position sensor with a range of 0-90 Deg, 0.0V- 4.0V then.A comparator compares the voltages at it's inputs; so Va and Vb are compared with Vin.
A = Control Sensor B = Door Sensor
If A < B = SW1 OFF, SW2 ON
If A > B = SW1 ON, SW2 OFF
If A = B = SW1 OFF, SW2 OFF
9.1 KB Views: 4