The application provides a variable aperture, a camera
assembly and an electronic device. The variable aperture comprises a plurality of blades, a fixed seat, a
rotating disc, a balance part and a driving part. The outer side is provided with inclined teeth. The driving part comprises a driving coil, a driving
magnet and an inclined gear. The driving coil surrounds the outer periphery of the driving
magnet. The inclined gear is fixed to the driving
magnet. The driving coil can generate a first magnetic force or a second magnetic force with the driving magnet when electrified. The driving coil is fixedly connected with the fixed seat. The fixed seat is sleeved on the outer side of the
rotating disc. The inclined gear is engaged with the inclined teeth. The through hole of the
rotating disc and the fixed through hole constitute a light passing hole. The plurality of blades are rotationally connected to the surface of the fixed seat and surround a light adjusting hole. The first magnetic force and the second magnetic force can push the driving magnet to move along the
optical axis direction of the light passing hole with the inclined gear, so that the inclined teeth push the rotating disc to rotate
clockwise or counterclockwise along the
optical axis of the light passing hole relative to the fixed seat, so as to drive the plurality of blades to rotate and realize the adjustment of the size of the light adjusting hole.