Abstract: A transducer is provided which produces electrical pulses whose amplitude is constant, but whose frequency varies as a function of the rotational speed of a shaft. In addition, the number of pulses per revolution can be selected at the time of assembly by changing a single component. The number of pulses per revolution can be from 1 to 45. This transducer is housed in a compact die-cast aluminum housing suitable for applications as a vehicle, and for distance measuring. The housing has first and second apertures running transverse to each other and merging with each other in the housing, the first aperture receiving a tube having an open portion and an outer peripheral wall thereof. A Hall-Effect sensor is received in the tube so that the Hall-Effect sensor is positioned adjacent the open portion of the tube. The second aperture receives a rotatable shaft having a body with sensible elements thereon, the body being positioned to lie adjacent the Hall-Effect sensor.