Two wire hall effect gear sensor