This is an old revision of the document! A laser constantly shines on a photoresistor. The Arduino constantly reads the voltage from a voltage divider made from a photoresistor and a 20k resistor. When a person interrupts the laser beam, the resistance of the photoresistor drops. The Arduino detects this as a change in voltage and sends a signal to the servo to change positions, releasing a rubber band.