2

I would like to design a lock which will automatically open once someone is on a specific side of a door ("outside").

There are easy (software) and complicated (hardware) elements to take into account but one of the points which i do not know to approach is the side detection.

How is this typically done?

An example is my car which will let the door close only if the key is outside the car. If it is next to the car outside, the car will lock. A few centimeters in (the key touches the door from the inside) and it is not possible to lock the door anymore.

WoJ
  • 865
  • 1
  • 6
  • 14

1 Answers1

5

Jsotola is right. The cars use the distance to know when they have to close doors.

In your case, you can use an extra sensor in the inside part. Maybe, an RFID or NFC tag, an ultrasonic sensor, or a laser or infrared sensors. With this element, you can detect if people are in the inside part.

anonymous2
  • 4,902
  • 3
  • 22
  • 49
CGG
  • 590
  • 1
  • 8
  • 17