A camera assembly adapted to be installed in an electronic device , comprising: a camera module ; a motor ; and a transmission module connected between the camera module and the motor , wherein the motor is configured to drive the transmission module so as to drive the camera module to move; wherein, the transmission module comprises a rotating-shaft group and a gear group ; the rotating-shaft group comprises a plurality of rotating shafts connecting the motor and the camera module ; the gear group comprises a plurality of gears arranged on the plurality of rotating shafts ; the plurality of gears engage with each other; wherein, the plurality of rotating shafts comprise a driving shaft , at least one intermediate shaft and a driven shaft , the driving shaft connects to the motor , and the driven shaft connects to the camera module ; the plurality of gears comprise a driving gear , at least one intermediate gear and a driven gear , the driving gear is set on the driving shaft , the at least one intermediate gear is set on the at least one intermediate shaft , and the driven gear is set on the driven shaft ; wherein, each of the plurality of rotating shafts includes a first end and a second end arranged oppositely; the first end faces towards the motor , and the second end faces towards the camera module ; wherein, a distance (D1) from a bottom surface of the second end (233 If) of the driven shaft to a top surface of the driven gear is less than a distance (D2) from the bottom surface of the second end of the driven shaft to a top surface of the intermediate gear adjacent to the driven gear , and an empty space is thereby formed above the top surface of the driven gear . a camera module ; a motor ; and a transmission module connected between the camera module and the motor , wherein the motor is configured to drive the transmission module so as to drive the camera module to move; wherein, the transmission module comprises a rotating-shaft group and a gear group ; the rotating-shaft group comprises a plurality of rotating shafts connecting the motor and the camera module ; the gear group comprises a plurality of gears arranged on the plurality of rotating shafts ; the plurality of gears engage with each other; wherein, the plurality of rotating shafts comprise a driving shaft , at least one intermediate shaft and a driven shaft , the driving shaft connects to the motor , and the driven shaft connects to the camera module ; the plurality of gears comprise a driving gear , at least one intermediate gear and a driven gear , the driving gear is set on the driving shaft , the at least one intermediate gear is set on the at least one intermediate shaft , and the driven gear is set on the driven shaft ; wherein, each of the plurality of rotating shafts includes a first end and a second end arranged oppositely; the first end faces towards the motor , and the second end faces towards the camera module ; wherein, a distance (D1) from a bottom surface of the second end (233 If) of the driven shaft to a top surface of the driven gear is less than a distance (D2) from the bottom surface of the second end of the driven shaft to a top surface of the intermediate gear adjacent to the driven gear , and an empty space is thereby formed above the top surface of the driven gear . <EOS>