Abstract:
An automatic locking mechanism is configured to lock a housing with a latching groove. The automatic locking mechanism includes a bracket and a magnet. An inclined surface is defined on an edge of the magnet. The bracket defines a groove. A restriction member is positioned in the groove configured to restrict the magnet. The housing is locked to the bracket when the magnet is simultaneously received in both the groove and the latching groove via the attraction of the magnet to the housing. The housing is released when the housing is continuously resisted against the inclined surface of the magnet until the magnet is completely received in the groove. In addition, an electronic device with the automatic locking mechanism is disclosed.

Description:
FIELD 
       [0001]    The subject matter herein generally relates to an electronic device with an automatic locking mechanism. 
       BACKGROUND 
       [0002]    Electronic devices such as car navigation devices need to be fastened to something stable to prevent from dropping. At present, the electronic devices are mostly fastened via a locking assembly such as a screw or a rivet and so on. However, users must use a tool to disassemble and assemble the electronic devices when needing to be repaired. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0003]    Implementations of the present technology will now be described, by way of example only, with reference to the attached figures. 
           [0004]      FIG. 1  is an exploded, isometric view of an embodiment of an electronic device. 
           [0005]      FIG. 2  is an isometric view of a housing of the electronic device of  FIG. 1 . 
           [0006]      FIG. 3  is a cross-sectional view of a magnet of the electronic device of  FIG. 1 . 
           [0007]      FIG. 4  is a partial, cross-sectional view of the electronic device of  FIG. 1  while being assembled and disassembled. 
           [0008]      FIG. 5  is a partial, cross-sectional view of the electronic device of  FIG. 1  while being locked. 
           [0009]      FIG. 6  is partial, cross-sectional view of another embodiment of an electronic device. 
       
    
    
     DETAILED DESCRIPTION 
       [0010]    It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better illustrate details and features of the present disclosure. 
         [0011]    Several definitions that apply throughout this disclosure will now be presented. 
         [0012]    The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series and the like. 
         [0013]    The present disclosure is described in relation to an electronic device. 
         [0014]      FIG. 1  illustrates a first embodiment of an electronic device  100 . The electronic device  100  can include an automatic locking mechanism  110  and a housing  120  positioned in the automatic locking mechanism  110 . The electronic device  100  can be fastened to another device (not shown) via the automatic locking mechanism  110 . 
         [0015]    The automatic locking mechanism  110  can include a bracket  111  and a magnet  130  positioned on the bracket  111 . The bracket  111  can be rectangular and include a plurality of sidewalls  1111 , a groove  1112  defined in one sidewall  1111 , and a plurality of fastening portions  1117  positioned on the bracket  111 . The groove  1112  can include a bottom portion  1113 , a restriction member  1114  positioned on the bottom portion  1113  and a screw  1115  connected to the restriction member  1114 . The bottom portion  1113  can be a pierced plane configured to decrease the attraction of the magnet  130  and the bottom portion  1113 . The restriction member  1114  can be made of a non-magnetic material. The screw  1115  can include a head portion  1116 . The diameter of the head portion  1116  can be larger than the diameter of the restriction member  1114 . The bracket  111  can be fastened to the other device (not shown) via the fastening portion  1117 . The magnet  130  can be received in the groove  1112  and be slidably circled to the restriction member  1114 . The head portion  1116  of the screw  1115  can prevent the magnet  130  from separating from the restriction member  1114 . The bracket  111  can be made of the magnetic material. 
         [0016]      FIG. 2  illustrates that the housing  120  can include a main body  121  and a latching groove  122  positioned on the main body  121 . The latching groove  122  can be located at the outside of a bottom plate (not labeled) of the main body  121 . The latching groove  122  can include a bottom surface  1221  and a projection  1222  positioned on the bottom surface  1221 . The shape of the latching groove  122  and the shape of the groove  1112  can be similar. The latching groove  122  can be corresponding to the groove  1112  when the housing  120  is locked to the bracket  111 . 
         [0017]      FIG. 1  and  FIG. 3  illustrate that the magnet  130  can include an upper surface  131 , a lower surface  132  opposite to the upper surface  131 , a restriction hole  133  positioned on the upper surface  131 , and an inclined surface  134 . The shape of the magnet  130  and the shape of the groove  1112  can be similar. The restriction hole  133  can be a stepped hole and pass through the upper surface  131  and the lower surface  132 . The restriction hole  133  can include a first through hole portion  1331 , a second through hole portion  1332 , and a third through hole portion  1333 . The first through hole portion  1331  can be adjacent to the upper surface  131  and be coupled to the projection  1222  of the housing  120  (shown in the  FIG. 2 ). The third through hole portion  1333  can be adjacent to the lower surface  132 . The second through hole portion  1332  can be located between the first through hole portion  1331  and the third through hole portion  1333 . The diameter of the first through hole portion  1331  can be larger than the diameter of the second through hole portion  1332 . The diameter of the second through hole portion  1332  can be larger than the diameter of the third through hole portion  1333  and the head portion  1115 . The diameter of the third through hole portion  1333  can be larger than the diameter of the restriction member  1114  and be less than the diameter of the head  1116 . The inclined surface  134  can be obliquely located on an edge (not labeled) of the upper surface  131 . The range of angle between the inclined surface  134  and the upper surface  131  can be in a range from 10 to 45 degrees. The upper surface  131  can be flush with the one sidewall  1111  when the magnet  130  is completely received in the groove  1112 . 
         [0018]      FIG. 4  and  FIG. 5  illustrate when in assembly, the magnet  130  can be received in the groove  1112  via the restriction member  1114  passing through the restriction hole  133  of the magnet  130 . The screw  1115  can be connected to the restriction member  1114  to prevent the magnet  130  from separating from the restriction member  1114 . 
         [0019]      FIG. 5  illustrates when in use, the housing  120  can slide into the bracket  111 . The magnet  130  can be adhered to the housing  120  due to the fact that the attraction strength of the magnet  130  and the housing  120  is larger than the attraction strength of the magnet  130  and the groove  1112 . The magnet  130  can be gradually attracted into the latching groove  122  along the restriction member  1114 . Finally the magnet  130  can be received in both the groove  1112  and the latching groove  122 , and the projection  1222  of the housing  120  can be coupled to the first through hole portion  1331  of the restriction hole  133 . Therefore, the housing  120  can be locked to the bracket  111 . 
         [0020]    During disassembly of the housing  120  from the bracket  111 , when the housing  120  is gradually pulled out of the bracket  111 , one edge (not labeled) of the latching groove  122  can be resisted against the inclined surface  134  of the magnet  130 . The magnet  130  can be pressed into the groove  1112  by the edge (not labeled) of the latching groove  122 . The housing  120  can be disassembled from the bracket  111  when the magnet  130  is completely inserted into the groove  1112 . 
         [0021]      FIG. 6  illustrates an automatic locking mechanism  210  in a second embodiment of the disclosure. The automatic locking mechanism  210  is the same as the first embodiment, except that a fastening hole  2118  can be defined on the bottom portion  2113  of the groove  2112  of the bracket  211 . To connect the magnet  230  to the bottom portion  2113 , the restriction member  2114  is passed through the restriction hole  233  and the fastening hole  2118 , the magnet  230  slides along the axis of the fastening hole  2118 , one end of the restriction member  2114  that is out of the groove  2112  engages with a nut  2115  to prevent the magnet  230  from dropping from the groove  2112 . 
         [0022]    In the other embodiments, the restriction  2114  can be directly connected to the magnet  230 , and there is no interference from the magnet  230  sliding along the axis of the fastening hole  2118 . 
         [0023]    As described above, the latching groove  122  can be positioned on the housing  120  and the groove  1112  can be positioned on the bracket  111 . The magnet  130  can be received in the both latching groove  122  and the groove  1112  due to the attraction of the magnet  130  and the housing  120  to automatically lock the housing  120 . The magnet  130  can be completely pressed into the groove  1112  by the edge (not labeled) of the latching groove  122  when the housing  120  is gradually pulled out of the bracket  111 . Therefore the housing  120  can be disassembled from the bracket  111 ; the housing  120  of the electronic device  100  can be conveniently assembled and disassembled. 
         [0024]    The embodiments shown and described above are only examples. Many details are often found in the art such as the other features of an electronic device. Therefore, many such details are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including matters of shape, size and arrangement of the parts within the principles of the present disclosure up to, and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.