a sensor used to sense the position of an attached movable object . the sensor can be mounted to a pneumatic actuator . the sensor includes a housing that has a pair of cavities or pockets separated by a wall . a magnet carrier is positioned within one of the cavities and a magnet is coupled to the magnet carrier . the magnet carrier is coupled to the moveable object . a magnetic sensor is positioned in the other of the cavities . the magnetic sensor generates an electrical signal that is indicative of a position of the movable object .