sensor detect