detect presence during motor rotate