This application discloses a vehicle-mounted device comprising: a first temperature equalization board and a PCB are fastened inside a housing. The first temperature equalization board is close to a first inner wall of the housing. The PCB is close to a second inner wall of the housing. The first inner wall is opposite to the second inner wall. A first protrusion is disposed on a side that is of the first temperature equalization board and that is close to the PCB. A first heat pipe is disposed on a side that is of the first temperature equalization board and that is close to the first inner wall. A first heat emission component is disposed on a side that is of the PCB and that is close to the first temperature equalization board. A position of the first protrusion corresponds to a position of the first heat emission component.