Patent ID: 8264835

Claim:
A base for detachably containing a host, the base comprising: an engaging module for engaging the host; a release button for pressing the engaging module thus to allow the engaging module to release the host; and a code lock module including: a cam assembly including a plurality of cams arranged along an axis; a plurality of dials rotatably connected with the cams respectively, each of the dials having a recess for containing one of the cams; and a retaining assembly including: a lock head connected with the cam assembly and capable of moving along the axis to be fastened to or separated from the release button; and an elastic element connected with the lock head, wherein when any one of the dials is rotated to separate at least one of the cams from the corresponding recess, the cam assembly moves along the axis to push the lock head to be fastened to the release button and make the elastic element being elastically deformed, and when the dials are rotated to allow each recess to contain one cam, the cam assembly moves away from the lock head along the axis, and the elastic element is restored to drive the lock head to be separated from the release button thus to release the host by pressing the release button.