This application provides a
camera module and an electronic device. The
camera module includes a lens, an SMA motor, a substrate, and an
image sensor. The SMA motor includes a carrier, a base, and an SMA drive
assembly. The lens is fixed to the carrier, and the SMA drive
assembly connects the carrier and the base, driving the carrier to move relative to the base. The SMA motor housing includes a top plate and a bottom plate opposite to each other. The bottom plate includes a first part and four second parts, which are spaced apart from each other on the outer periphery of the first part. The distance between the second parts and the top plate is greater than the distance between the first part and the top plate. The substrate has recessed clearance spaces at its four corners. The first part is fixed to the substrate, and at least part of the second part is located in the clearance space. The
image sensor is fixed to the center of the substrate and electrically connected to the substrate, facing the lens. The above-described
camera module can have a small module height while ensuring
image quality.