pins, sensor detection