control sensor IO