Abstract:
An electronic device includes a main body, a keyboard, a fastening member, and an elastic member. The main body defines an assembling groove. The keyboard is disposed in the assembling groove of the main body. The fastening member is movably disposed in the main body. The elastic member is sleeved on the fastening member, and configured for producing an elastic force to drive the fastening member to engage with the main body.

Description:
BACKGROUND 
       [0001]    1. Technical Field 
         [0002]    The present disclosure relates generally to electronic devices and, more particularly, to an electronic device with a detachable keyboard. 
         [0003]    2. Description of Related Art 
         [0004]    Notebook computers have become popular alternatives to desktop computers because of their portability. A typical notebook computer includes a display body and a main body. The display body is rotatably attached to the main body so that the display body can be opened and closed relative to the main body. The main body has a housing, a keyboard module, and a circuit board. The circuit board is disposed in the housing. The keyboard module is generally fixed to the housing. 
         [0005]    However, if the keyboard of the typical notebook computer malfunctions and need to be repaired or replaced, disassembling and removing the keyboard module from the housing is difficult because the keyboard module is fixed to the housing. In addition, when operating the notebook computer one can at most be an arm&#39;s length away from the notebook computer to reach and operate the keyboard module. At such a close distance to a notebook computer screen is not good for one&#39;s eyes. 
         [0006]    Therefore, an electronic device which overcomes the above-described shortcomings is desired. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0007]    The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. 
           [0008]      FIG. 1  is an exploded, isometric view of an embodiment of an electronic device, the electronic device including a main body, a display body, a keyboard, a fastening member, and an elastic member. 
           [0009]      FIG. 2  is a partial, isometric view of the main body of  FIG. 1 . 
           [0010]      FIG. 3  is an isometric view of the keyboard of  FIG. 1 , but viewed from another aspect. 
           [0011]      FIG. 4  is a partial, isometric view of the main body assembled with the fastening member and the elastic member of  FIG. 1 . 
       
    
    
     DETAILED DESCRIPTION 
       [0012]    Referring to  FIG. 1 , an embodiment of a notebook computer  100  includes a main body  10 , a display body  20 , a keyboard  30 , two fastening members  50 , and two elastic members  70 . The display body  20  is rotatably connected to the main body  10 . 
         [0013]    The main body  10  defines an assembling groove  13  in a middle, and two receiving grooves  14  on opposite sides. A base wall  131  in the assembling groove  13  defines an universal serial bus (USB) socket  1311  in a center portion thereof. Two positioning portions  1313  are formed on opposite sides of the base wall  131 . In the illustrated embodiment, the USB socket  1311  is rectangular shaped, and the positioning portions  1313  are elongated rectangular strips protruding out of the assembling groove  13 . The main body  10  further includes two covers  15  configured for engaging in a top of the receiving grooves  14 . 
         [0014]    Referring to  FIG. 2 , a first side wall  141  in each receiving groove  14  defines a through hole  1411  communicating with a side surface of the main body  10 . A second side wall  143  in each receiving groove  14  opposite to the first side wall  141  defines a through hole  1431  communicating the receiving groove  14  with the assembling groove  13 . Two positioning hooks  1433  are formed on the second side wall  143  adjacent to the through hole  1431  of the second side wall  143 . 
         [0015]    Referring to  FIG. 3 , a plug  311  is formed on a center portion of a bottom surface  31  of the keyboard  30 . The plug  311  is configured for engaging with the USB socket  1311 , thus electrically connecting the keyboard  30  to the main body  10 . Two positioning grooves  313  are defined in opposite sides of the bottom surface  31  of the keyboard  30 . The keyboard  30  further defines two connecting holes  331  on opposite side surfaces. 
         [0016]    Referring to  FIG. 4 , each fastening member  50  includes a connecting shaft  55 , a restricting portion  53 , and an operating portion  51 . The connecting shaft  55  and the operating portion  51  are disposed on opposite ends of the restricting portion  53 . Two positioning hooks  531  are formed on the restricting portion  53  adjacent to the connecting shaft  55 . In the illustrated embodiment, the connecting shaft  55  and the operating portion  51  are detachably engaged with the restricting portion  53 . The elastic members  70  are springs. 
         [0017]    Referring to  FIGS. 1 through 4 , to assemble the fastening members  50  to the main body  10 , the connecting shafts  55  extend through the through holes  1431  of the second side walls  143  and the elastic members  70  from the assembling groove  13 , and engage with the restricting portions  53 . One end of the elastic members  70  engages with the positioning hooks  1433 , and the other end of the elastic members  70  engages with the positioning hooks  531  of the restricting portions  53 . The operating portions  51  extend through the through hole  1411  of the first side wall  141 , and engage with the restricting portions  53 . 
         [0018]    To assemble the keyboard  30  to the main body  10 , the operating portion  51  of each fastening member  50  is drawn away from the main body  10  until the connecting shaft  55  disengages with the assembling groove  13 . The elastic member  70  becomes compressed, and the restricting portion  53  resists the first side wall  141 . The keyboard  30  is disposed in the keyboard housing  13 . The plug  311  engages in the USB socket  1311 , and the positioning portions  1313  engage in the positioning grooves  313 . When the connecting shaft  55  is freed, the connecting shaft  55  of each fastening member  50  extends in the connecting holes  331  of the keyboard  30 . 
         [0019]    To remove the keyboard  30 , the fastening members  50  are pulled to allow the keyboard  30  to be removed from the main body  10 . A replacement keyboard can be fixedly disposed in the assembling groove  13  by the fastening members  50 . Thus, the keyboard  30  can be easily assembled and disassembled from the main body  10 . In addition, the keyboard  30  can be separated from the assembling groove  13  and a USB cable can be used to connect the plug  311  of the keyboard  30  to the USB socket  1311 . As a result, a user can operate the keyboard  30  at a suitable distance from the display body  20 . 
         [0020]    It should be pointed out that the notebook computer  200  may include only one fastening member  50  or more than two fastening members  50 . The fastening members  50  can also be used in other electronic devices, such as a personal digital assistant. In addition, the connecting shaft  55  of the fastening members  50  can be pushed into the positioning grooves  313  of the keyboard  30  by an external force thereby eliminating the need for the elastic member  70 . Alternatively, a plug may be formed on the main body  10 , and the keyboard  30  defines a USB socket. 
         [0021]    It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages.