Patent ID: 8730683

Claim:
An attachment mechanism for fastening an electronic component, comprising: a circuit board; a first connector fastened to the circuit board to be connected to a second connector of the electronic component, the first connector comprising a mounting portion fastened to the circuit board, and a main body on a top of the mounting portion to connect to the second connector; and a fastener comprising: an engaging portion sandwiching the main body, the engaging portion comprises: two opposite sidewalls to abut against opposite sides of the main body; two L-shaped hooks, each of the two L-shaped hooks extends up from a first end of a corresponding sidewall of the two opposite sidewalls, the two L-shaped hooks being opposite to each other; two U-shaped latching portions, each of the two U-shaped latching portions extends from an opposite end of the stop wall to engage with a corresponding hook of the two L-shaped hooks; and a bar extending from one of the two opposite sidewalls to abut against a bottom of the main body; and a rotating portion rotatably connected to a first end of the engaging portion, the rotating portion comprising: a top wall; and two abutting walls extending from opposite ends of the top wall to abut against a top of the main body, one of the two abutting walls rotatably connected to the first end of the engaging portion; and a stop wall extending from another of the two abutting wall to be detachably connected to a second end of the engaging portion for abutting against a first side of the electronic component.