Patent ID: 8382495

Claim:
A portable electronic device having a cam mechanism for plug extension and retraction, comprising: a housing laterally formed with a plug opening and having a receiving space extending inward from the plug opening; a core element received in the receiving space, comprising a circuit board, and having a front end provided with a plug, wherein the plug is connected to the circuit board and corresponds in position to the plug opening, the core element further having a track adjacent to a rear end of the core element; and a cam pivotally connected to the housing, wherein an actuation portion is shaped at a first end of the cam and extends out of the housing, and a pin is positioned adjacent to a second end of the cam and slidably coupled with the track on the core element, wherein: the pin is positioned at a first end of the track when the plug is retracted in the receiving space; and, when the cam is rotated in one direction, the cam pin slides toward a second end of the track and pushes the core element toward the plug opening and thereby moving the plug out of the housing to an extended position; when the cam is rotated in an opposite direction, the pin slides toward the first end of the track and pulls the core element into to the receiving space and thereby moving the plug into the housing to a retracted position.