A pressure sensor has a housing, a movable member and a vision sensor. The housing has an aperture configured to receive a fluid. The movable member is disposed in the housing and configured to move in response to a pressure of the fluid. The vision sensor is configured to detect the movement of the movable member.