Patent attributes
A vibrating motor and an electronic device are disclosed. The vibrating motor comprises a housing formed by an upper housing and a lower housing. A slider portion and a stator portion are accommodated in a cavity enclosed by the housing. The slider portion comprises magnets, spring sheets and a mass block. The mass block has accommodating grooves matching the external contour of the magnets, and the magnets are accommodated in the accommodating grooves. The mass block is connected to the upper housing via the spring sheets, and is suspended inside the housing. The stator portion comprises coils and a basin frame that is made of a magnetic material The basin frame is fixed on the lower housing, and has accommodating structures matching the external contour of the coils. The coils are embedded in the accommodating structures of the basin frame.