Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
To know which direction a person is going, you will need two sensors, set a few inches apart. The direction is determined by which sensor trips first.
Think of sensor A as the count, and sensor B is the direction.
- If sensor B is high when sensor A trips, increment the count.
- If sensor B is low when sensor A trips, decrement the count.
This assumes that only one person passes through the sensor range at a time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.