The invention relates to a
resistor, comprising an insulating bar, a group of resistance
pellets, and connection seats, wherein the resistance
pellets are connected on the insulating bar in series; the connection seats are arranged at the two ends of the insulating bar respectively; a conductive damping piece is arranged between two adjacent resistant
pellets and is sleeved on the insulating bar; and a pressure spring which is used for compressing the resistance pellets is arranged between one of the connection seat and the resistant pellet adjacent to the connection seat. According to the
resistor, the conductive damping piece is arranged between two adjacent resistant pellets and is sleeved on the insulating bar, and the pressure spring which is used for compressing the resistance pellets is arranged between the connection seat at one end of the insulating bar and the resistant pellet adjacent to the connection seat, accordingly, each element of the
resistor can be ensured to be electrically contacted well, and the conductive damping pieces between the resistance pellets have a
damping function in a vibration environment, so that the resistance pellets are not easy to damage, and the problem that the resistance pellets are easy to damage in the vibration environment in the prior art is solved.