Patent attributes
An electronic device is provided. The electronic device includes an image sensor for capturing an image; a barrel including a lens group arranged about a first axis perpendicular to the image sensor, a first housing fixed to the barrel; a second housing disposed under the first housing and coupled to the first housing; at least one magnetic substance disposed at one side of the first housing; and at least one coil disposed at one side of the second housing. When power is supplied to the at least one coil, electromagnetic force is generated between the at least one coil and the at least one magnetic substance. And if the electromagnetic force is generated, the first housing rotates clockwise or counterclockwise, and the barrel moves along the first axis.