主权项 |
1. A door locking and unlocking system, comprising:
a receiver adapted to detect wireless signals having a signal ID emitted by at least one mobile device to be carried by an authorized person; a microcontroller interfacing with the receiver, the microcontroller programmed to store a valid signal ID and compare the signal ID of the wireless signals to the valid signal ID; a lock operating mechanism interfacing with the microcontroller; and a door lock interfacing with the lock operating mechanism, the microcontroller programmed to automatically unlock the door lock via the lock operating mechanism when the signal ID of the wireless signals corresponds to the valid signal the door lock comprises a lockable door handle; a comparator interfacing with the microcontroller; an outside antenna and an inside antenna interfacing with the comparator, the outside antenna and the inside antenna adapted to detect the wireless signals emitted by the at least one mobile device and the comparator adapted to compare signal strengths of the wireless signals at the outside antenna relative to the inside antenna; the microcontroller is configured to automatically unlock the door lock via the lock operating mechanism when the wireless signals as measured by the outside antenna are stronger than the wireless signals as measured by the inside antenna; the microcontroller is configured to automatically lock the door lock via the lock operating mechanism when the wireless signals as measured by the inside antenna are stronger than the wireless signals as measured by the outside antenna; and an infrared sensor interfacing with the microcontroller and the lock operating mechanism, the infrared sensor automatically unlocks the door lock when the infrared sensor detects a rise in temperature in an area adjacent to the door handle and automatically locks the door lock when the infrared sensor detects a lowering of temperature around the area adjacent to the door handle. |