An optical module includes: a housing, a heat sink arranged in the housing, a laser emitter arranged on the heat sink, a PCB partially arranged on the heat sink, and an optical system arranged in the housing. The optical module has an optical interface on one end and an electrical interface on the other end. The optical system is arranged between the laser emitter and the optical interface. The PCB is constructed as a rigid board. The laser emitter is electrically connected to the PCB. One end of the PCB is fixed on the heat sink, and the other end of the PCB is constructed as the electrical interface. The optical system transmits light emitted from the laser emitter to the optical interface.