The present invention discloses a
camera module, including a lens, a mounting frame, a base, a photosensitive
chip, a circuit substrate and a bracket. The mounting frame is provided with a mounting hole, the lens is arranged in the mounting hole of the mounting frame, the base is arranged at the bottom of the mounting frame, the base is provided with a through hole connected to the mounting hole, the circuit substrate is arranged at the bottom of the base, the photosensitive
chip is electrically connected to the circuit substrate, the photosensitive
chip corresponds to the lens, the bracket cooperates with the mounting frame and surrounds the outer side wall of the mounting frame, the outer periphery of the base is provided with a boss that cooperates with the bracket, and the bracket is installed on the boss. By providing a boss on the outer periphery of the base, the bracket and the boss of the base are bonded, it is not necessary to provide a glue groove between the bracket and the mounting frame, the outer dimensions of the bracket are reduced, and thus the size of the
camera module is reduced to save the internal space of the
mobile phone. At the same time, the amount of glue used can be reduced and the weight of the bracket can be reduced, saving the manufacturing cost. The present invention also discloses an electronic device.