Patent ID: 8375567

Claim:
A method for automatically determining the direction installation of an electronic lock having a latch, a rotational actuator capable of driving the latch, a first switch unit and a second switch unit comprising the steps of: (a) driving the rotational actuator, which is rotatable in two directions, to rotate toward a first direction and verifying whether the rotational actuator is capable of being rotated, if yes, then proceed to step (b), if not, proceed to step (c); (b) driving the rotational actuator to touch the switch units during the rotation in the first direction and then proceed to step (d); (c) driving the rotational actuator to touch the switch units during the rotation in a second direction and then proceed to step (d); (d) verifying which of the switch units is touched first by the rotational actuator to determine the direction installation of the electronic lock; and (e) confirming the electronic lock is installed on the left-handed or right-handed door.