barriera ir per misurazione tempi

Si oppure un laserino e un qualsiasi tipo di LED, vedi: