The invention relates to the technical field of sensors, in particular to a sensor and an installation method thereof. The sensor comprises a base, a circuit board and a thin film
assembly, the lower end face of the base is provided with a base cavity, the upper end face of the base is provided with a base through hole communicated with the base cavity, the thin film
assembly is arranged on the base, the base is an aluminum base or an aluminum
alloy base, and the circuit board is a
carbon steel circuit board. The circuit board is in fastening connection with the inner side wall of the concave cavity of the base through
sintering processing; the
LED lamp further comprises a sealing
washer made of glass
glaze, and the sealing
washer is fixedly connected with the wall body of the concave cavity of the base through
sintering processing and is arranged between the bottom surface of the concave cavity of the base and the circuit board. In the invention, the fastening connection between the sealing
washer and the bottom surface of the concave cavity of the base as well as between the circuit board and the inner side wall of the concave cavity of the base is realized through two times of
sintering processing, and the problem of insufficient sealing performance of the oil cavity caused by
welding is avoided, so that the sealing performance of the oil cavity and the reliability of the sensor are improved.