The invention discloses a
laser projector, a
camera module and an electronic device. The
laser projector includes a substrate
assembly, a
barrel assembly, a
light source, a collimating element, and adiffraction element. The
barrel assembly is disposed on the substrate assembly. The lens
barrel assembly includes a collimating bracket and a
diffraction bracket, and the collimating bracket and the
diffraction bracket are in a split structure. The
light source is disposed on the substrate assembly for emitting
laser light. The collimating element is supported by the collimating bracket for collimating the
laser light emitted by the
light source, the light source is an edge emitting laser, and the edge emitting laser includes a light emitting surface, and the light emitting surface faces the collimating element. The
diffraction element is supported by the diffraction bracket for diffracting the
laser light collimated by the collimating element to form a laser pattern. The
laser projector,the
camera module and the electronic device according to the embodiments of the present invention respectively support the collimating element and the diffraction element by using the split collimating bracket and the diffraction bracket, respectively, facilitating the installation and position adjustment of the collimating element and the diffraction element, and the mounting efficiency is high.